Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Michele Mostarda
    @michelemostarda
    Hello everybody
    Guillaume Ayoub
    @liZe
    Hello!
    Michele Mostarda
    @michelemostarda
    I'm using CairoSVG in a project of mine
    Guillaume Ayoub
    @liZe
    Cool :)
    Michele Mostarda
    @michelemostarda
    Great project anyway
    Guillaume Ayoub
    @liZe
    Thank you
    Michele Mostarda
    @michelemostarda
    When rendering an svg on my dev laptop (osx) I get a certain rendering, when using it on prod server based on linux ubuntu I get a really different one, despite I installed the same font set used in SVG
    Guillaume Ayoub
    @liZe
    Oh :/. Could you please share the SVG file and the renderings?
    Michele Mostarda
    @michelemostarda
    sure
    this is the svg
    Guillaume Ayoub
    @liZe
    Hm… It’s truncated. You can attach files with a simple drag and drop.
    Michele Mostarda
    @michelemostarda
    this is the rendering on osx
    d&d not working
    this is the SVG template
    tmpbx_5z59_.PNG
    This is the image rendered on osx
    Michele Mostarda
    @michelemostarda
    This is the same template, same code, generated on ubuntu
    tmpnnd4r2pc.png
    Guillaume Ayoub
    @liZe
    The fonts are different, that’s probably the only problem you have. Your Ubuntu box can’t find the Avenir-BlackOblique font.
    How did you install the font on Ubuntu?
    Michele Mostarda
    @michelemostarda
    fc-list | grep BlackOblique
    /usr/share/fonts/custom/Avenir-BlackOblique.ttf: Avenir,Avenir Black Oblique:style=Black Oblique,Regular
    /usr/share/fonts/truetype/custom/Avenir-BlackOblique.ttf: Avenir,Avenir Black Oblique:style=Black Oblique,Regular
    /home/affilio/.fonts/Avenir-BlackOblique.ttf: Avenir,Avenir Black Oblique:style=Black Oblique,Regular
    custom installation, in several locations, to be sure
    Guillaume Ayoub
    @liZe
    Can you launch fc-match "Avenir-BlackOblique"?
    Michele Mostarda
    @michelemostarda
    fc-match "Avenir-BlackOblique"
    Avenir-Book.ttf: "Avenir" "Book"
    Guillaume Ayoub
    @liZe
    That’s not the black oblique version of Avenir, that’s why it doesn’t work.