In the windows system included font Arial.TTF some glyphs are not included in the SVG output. can you guys add a commandline option to include all glyphs?
(In reply to comment #0) > In the windows system included font Arial.TTF some glyphs are not included in > the SVG output. can you guys add a commandline option to include all glyphs? Sorry, but I guess you'll need to be more specific [1]: 1. Instead of "All Glyphs in the TTF files are not included", do you mean that "not all glyphs in the TTF files are converted"? 2. I imagine you are using the SVG font converter [2], did you look at the available command-line switches ("l", "h", "ascii")? 3. Which glyphs were not included? Which command line did you use? What were you expecting? What would be "include all glyphs"? Etc. 4. Just stating "Arial.TTF" is probably not enough. Adding which particular font version (can be found in font preview dialog) might help. 5. Have you tried crawling through the mailing list? There are a few related posts [3] which might help. I'd say that, without further information, this seems more a support request (which belongs best to the mailing list) than a bug report. [1] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html [2] http://xmlgraphics.apache.org/batik/tools/font-converter.html [3] http://www.nabble.com/Help%3A-SVG-Font-Converter-cannot-extract-from-TTF-td24542788.html
Created attachment 24406 [details] A test font to reproduce said issue
Created attachment 24407 [details] A test case to be used with Google Chrome Drop the test.html file in Google Chrome to see the missing glyph in action
Svg converted ttf fonts are often used for Google Chrome support of @font-face Css rule. HTML text using the svg font will display the <missing-glyph> (usually ugly little thing) when a Line-Feed character (U+000A) is met (in Windows). I have fixed this manually, so far, by adding the following glyph entry to my svg font files: <glyph unicode="
" glyph-name="uni000A" horiz-adv-x="560" /> where the value of horiz-adv-x is equivalent to that of the "space" glyph. The font then behave as ttf does (in Firefox by example) by representing the LF character a simple space. I am not sure, though, if this is acceptable both by SVG and Unicode standards. This happened with every font I tested, with different range values and/or with setting the -autorange parameter. Is it an idea to automatically (or by command) add the LF glyph to the font?