[ft-devel] loading fonts with signature 'OTTO'
Does anyone know whether FreeType supports fonts with the signature (first 4 bytes) 'OTTO', and if so, which drivers are needed, and in which version was support added for this format? I have googled for some time, and experimented with various drivers, but without success, so forgive me for asking: the answer isn't obvious to me. Thanks in advance, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] loading fonts with signature 'OTTO'
I think default configuration of FT2 can load CFF OpenType (pathname suffix is .otf and the first 4 bytes is OTTO). $ wget http://examples.oreilly.de/english_examples/nutshell/cjkv/adobe/samples/MunhwaGothicStd-Bold.otf $ od -c MunhwaGothicStd-Bold.otf 000 O T T O \0 017 \0 200 \0 003 \0 p B A S E 020 205 217 214 254 \0 005 320 374 \0 \0 \0 330 C F F 040 262 317 033 E \0 \0 @ 344 \0 005 0 a D S I G 060 202 J 266 $ \0 005 321 324 \0 \0 024 l G S U B 100 213 , 242 337 \0 005 233 p \0 \0 \f \0 O S / 2 120 Z $ 260 260 \0 \0 001 ` \0 \0 \0 ` V O R G 140 003 q \0 \0 \0 005 247 p \0 \0 \0 \b c m a p 160 257 262 002 \v \0 \0 \b \f \0 \0 8 270 h e a d 200 335 207 347 004 \0 \0 \0 374 \0 \0 \0 6 h h e a 220 \n 223 \r Q \0 \0 001 4 \0 \0 \0 $ h m t x 240 240 350 037 d \0 005 247 x \0 \0 ) ` m a x p 260 \n 272 P \0 \0 \0 001 X \0 \0 \0 006 n a m e 300 L 313 % % \0 \0 001 300 \0 \0 006 I p o s t 320 377 270 \0 2 \0 \0 @ 304 \0 \0 \0 v h e a 340 \n % 033 334 \0 005 320 330 \0 \0 \0 $ v m t x 360 307 240 ! N \0 005 q H \0 \0 * ( \0 001 \0 \0 $ ftdump MunhwaGothicStd-Bold.otf There is 1 face in this file. - Face number: 0 - font name entries family: Munhwa Gothic Std style: B postscript: MunhwaGothicStd-Bold font type entries FreeType driver: cff sfnt wrapped:yes type:scalable direction: horizontal, vertical fixed width: no glyph names: no EM size: 1000 global BBox: (-130,-250):(954,916) ascent: 880 descent: -120 text height: 2000 glyph count: 2746 charmaps 0: platform 0, encoding 3 1: platform 1, encoding 3 2: platform 3, encoding 1 (active) Could you post more detailed info about the font you had trouble? I wish if the font is available publicly. Regards, mpsuzuki On Fri, 05 Mar 2010 13:40:49 + Graham Asher graham.as...@btinternet.com wrote: Does anyone know whether FreeType supports fonts with the signature (first 4 bytes) 'OTTO', and if so, which drivers are needed, and in which version was support added for this format? I have googled for some time, and experimented with various drivers, but without success, so forgive me for asking: the answer isn't obvious to me. Thanks in advance, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] loading fonts with signature 'OTTO'
On Fri, Mar 5, 2010 at 2:40 PM, Graham Asher graham.as...@btinternet.com wrote: Does anyone know whether FreeType supports fonts with the signature (first 4 bytes) 'OTTO', and if so, which drivers are needed, and in which version was support added for this format? I have googled for some time, and experimented with various drivers, but without success, so forgive me for asking: the answer isn't obvious to me. Thanks in advance, FreeType2 has supported OpenType fonts with CFF outlines for a long time (several years now) without needing to do anything special. You'll need to compile it with both the TrueType and CFF PostScript font drivers. The default configuration works well for me in MuPDF. -Tor ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] loading fonts with signature 'OTTO'
Thanks - can you tell me which version this support was introduced in? I am using FreeType 2.3.7, and it doesn't work even though I have enabled and built the relevant drivers. Graham Tor Andersson wrote: On Fri, Mar 5, 2010 at 2:40 PM, Graham Asher graham.as...@btinternet.com wrote: Does anyone know whether FreeType supports fonts with the signature (first 4 bytes) 'OTTO', and if so, which drivers are needed, and in which version was support added for this format? I have googled for some time, and experimented with various drivers, but without success, so forgive me for asking: the answer isn't obvious to me. Thanks in advance, FreeType2 has supported OpenType fonts with CFF outlines for a long time (several years now) without needing to do anything special. You'll need to compile it with both the TrueType and CFF PostScript font drivers. The default configuration works well for me in MuPDF. -Tor ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] loading fonts with signature 'OTTO'
Graham == Graham Asher graham.as...@btinternet.com writes: Graham Thanks - can you tell me which version this support was Graham introduced in? I am using FreeType 2.3.7, and it doesn't work Graham even though I have enabled and built the relevant drivers. Git shows that the cff driver was added in 2000, back in the 2.0 timeframe. Certainly everything since 2.1.0 should work. -JimC -- James Cloos cl...@jhcloos.com OpenPGP: 1024D/ED7DAEA6 ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] loading fonts with signature 'OTTO'
Thanks - I'll experiment further. But the addition of the CFF driver is not sufficient. What we have here is a CFF font packaged inside something else, I think. Graham James Cloos wrote: Graham == Graham Asher graham.as...@btinternet.com writes: Graham Thanks - can you tell me which version this support was Graham introduced in? I am using FreeType 2.3.7, and it doesn't work Graham even though I have enabled and built the relevant drivers. Git shows that the cff driver was added in 2000, back in the 2.0 timeframe. Certainly everything since 2.1.0 should work. -JimC ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] loading fonts with signature 'OTTO'
Graham == Graham Asher graham.as...@btinternet.com writes: Graham What we have here is a CFF font packaged inside something else, Graham I think. Yes, CFF inside a SFNT container; what the public know as otf fonts. When Werner added docs/formats.txt in 2004, ft already supported OTTO, and that was between 2.1.8 and 2.1.9. It is possible that the font is CID-encoded and that might explain why you are having difficulties with it. Other the freetype, you might want to see what the otfinfo(1) tool in http://www.lcdf.org/type/lcdf-typetools-2.82.tar.gz has to say about it. -JimC -- James Cloos cl...@jhcloos.com OpenPGP: 1024D/ED7DAEA6 ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel