Hi all, I was recently trying to convert a ttf font to svg (in order to embed it in svgs for batik to work correctly).
I stumbled across a problem with unicode characters of the 4-byte range (U+10000 - U+1FFFFF, cf. http://en.wikipedia.org/wiki/UTF-8#Description ). The font I tried to convert is called HanaMinA ( http://sourceforge.jp/projects/hanazono-font/releases/ ) , and contains, among others, glyphs for the range U+2F800 .. U+2FA1D, i.e. 194560 - 195101 in decimal. However, the call java -jar batik-ttf2svg.jar HanaMinA.ttf -l 194560 -h 195101 -o HanaMinA.svgfont or even java -jar batik-ttf2svg.jar HanaMinA.ttf -l 32 -h 2097151 -o HanaMinA.svgfont only returned a very small file (some 40kB, instead of some 80 MB), in case of the latter only containing the ASCII part of the font plus 6 glyphs above U+3000 (instead of some 40000). It seems ttf2svg ignores the 4-Byte unicode characters? Is this a known bug? I could not find it among the known issues in JIRA. Best regards, Robert PS: In case anyone has the same problem, I used FontForge ( https://sourceforge.net/projects/fontforge/files/fontforge-source/) as a workaround. PPS: -autorange did not work, either. ________________________________________________________ *Besuchen Sie uns/Meet us:* Control<http://www.signavio.com/events/control-2014-improving-quality-assurance/>: May 06-09, Stuttgart, Germany Process Solutions Day<http://www.signavio.com/events/process-solutions-day-in-may-2014-in-cologne/>: May 13-14, Cologne, Germany Fraunhofer KODOK Forum<http://www.signavio.com/events/meet-signavio-at-the-kodok-forum-2014/>: May 15, Stuttgart, Germany Gartner BPM Summit<http://www.signavio.com/events/gartner-apac-bpm-summit-sydney/>: May 19-20, Sydney, Australia MEMO Conference <http://www.signavio.com/events/memo-conference-2014/>: Jun. 02-03, Münster, Germany *Folgen Sie uns / Follow us:* www.twitter.com/signavio www.facebook.com/signavio ________________________________________________________ *Robert Gurol* Software Developer robert.gu...@signavio.com T +49 30 488 172 50 F +49 30 8562 154-19 www.signavio.com Signavio GmbH Nürnberger Straße 8 10787 Berlin HRB 121584 B Amtsgericht Charlottenburg, Ust-ID: DE265675123 Geschäftsführer: Dr. Gero Decker, Torben Schreiter