Save that under any name you like, make the file executable, call it with the path to the broken font, and presto. Generate($1:r ".rewritten-by-fontforge.ttf") Now the easiest way to make FontForge repair a font is to prepare a very short script in FontForge's scripting language, like this: #!/usr/bin/fontforge -lang=ff You can see that while more than a single problem was reported, the essential one is really Missing required table: "post" (I'd really like FontForge repair all the defects, but didn't manage to get that). Library based on sources from 14:57 GMT 3. For comparison, first have a look at fontlint's outputs for the broken and the working font: $ fontlint Ĭopyright (c) 2000-2012 by George Williams.Įxecutable based on sources from 14:57 GMT 3-ML. The downside of that, however, is that luatex takes quite some while longer for a run than does xelatex, so I looked further and tried fontlint based on that, i used fontforge to repair the broken font. As far as I can see no error code was emitted, so my tool chain ignored that problem at first the only formal sign of there being a problem was that Segmentation fault (core dumped) was sent to stderr, not thanks for your tips indeed! I waited a bit too see whether more people would chime in, but since no other input has been made, I'll just report how I managed to resolve the issue.įirst, replacing xelatex with luatex does indeed work. Related: How to find out exactly what detail in the font makes LaTeX derail?Īs an aside, I think that regardless whether the font is valid or not, LaTeX should not segfault but terminate with a helpful error message and an error code. msgstr FontForge is a font editor for outline and bitmap fonts that lets you create, edit or convert. Given a font that XeLaTeX (or fontspec?) has troubles with, what are the recommended steps to test whether the fault is with XeLaTeX/fontspec or with the font? OTOH, this is not the first font i find that works OK everywhere except in XeLaTeX. Googling for the error number, 35584, would indeed indicate the error might be font-related, and this is exactly the conclusion i have come to, even though multiple apps on OSX and the Ubuntu Font Viewer all display the font fine without errors. Hello, FontForge reports a font Im working on as having a lot of missing points at extrema, so Im trying to find the right way out to fix this problem. I use curve points throughout in the light of the enormous number of glyphs involved, I don't want to continuously switch between different types of points, and most hieroglyphs are curved in most places anyway. (see the transcript file for additional information)Įrror 35584 (driver return code) generating output (/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg))) Indeed, this works as expected on OSX and Tex Live 20 however, on Ubuntu using Tex Live 2015, i get a core dump: This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex) The single character in the document should be displayed using the font as indicated it is a font i have created myself using, which in turn uses to turn an SVG file into a TTF font. I have the following minimal document: \documentclass
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |