Giter Site home page Giter Site logo

Comments (4)

mathisloge avatar mathisloge commented on September 24, 2024 1

I'm only linux now, too. :D
I think i then misunderstood the visual-test outputs. Tought all will be copied into the out-put-dir. I'm gettings 2 passed too.

Then yeah, its a cairo bug or feature.

from mapnik.

artemp avatar artemp commented on September 24, 2024

@mathisloge - could you verify, this is only with cairo renderer? If so, this is due to a bug/feature in libcairo. I had a patch somewhere I will try to find, which highlights the issue.

from mapnik.

mathisloge avatar mathisloge commented on September 24, 2024

@artemp do you have an idea on how to get e.g. https://github.com/mapnik/test-data-visual/blob/master/styles/text-displacement.xml working with agg again?
I'm always getting
Mapnik LOG> 2024-05-18 11:38:49: SVG parse error: can't infer valid image dimensions from width:"100%" height:"100%"
but without any resulting image, when using agg as the renderer. Only cairo works (with incorrect rendering result)

from mapnik.

artemp avatar artemp commented on September 24, 2024

@mathisloge - Is this Windows specific? This test works on Linux/macOS for me -

./test/visual/run --agg  --styles ./test/data-visual/styles/text-displacement.xml
Mapnik LOG> 2024-05-18 10:49:59: SVG parse error: can't infer valid image dimensions from width:"100%" height:"100%"
..
Visual rendering: 0 failed / 2 passed / 0 overwritten / 0 errors

PS. The Mapnik LOG message is expected.

from mapnik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.