samedi 14 mars 2015

Font not showing on Windows (taking space)


(Complete font newbie here) I took a stock font and created a certain glyph which was the combination of other glyphs


The steps involved were:



  • Open in fontforge, and then save the font as dir.

  • Use http://ift.tt/1x5005T (code in German). method ersetzen_durch_Kompositglyph in the said python script can combine two glyphs into one. I created a long word after tacking one char onto other. I then delete everything but A-Za-z, and all the temporary chars involved in the process.

  • Then generate font using Fontforge by opening the dir into it. I generate ttf, woff, svg versions, and convert ttf to eot using an online converter. More here: Make a character in a font look like multiple characters of the same font


I then embedded the font in my webpage. The problem I'm facing is that while my webpage display fine on some browser + OS combinations and not on others. Here's the combination: Linux = Ubuntu 13.04




  • Displays perfectly: Win10 + IE, Linux + Firefox, Linux + Chrome, Linux+PhantomJS




  • Doesn't display the long glyph but shows empty space that long. Win10 + Firefox, Win10 + Chrome, Win7+Firefox, Win7+IE




  • Displays space 1 glyph long Win7+Chrome, Win10+PhantomJS




Would anyone know why this is happening, and if there is a solution to this?





Aucun commentaire:

Enregistrer un commentaire