logo       

Converting PostScript Font Resource to TTF: msg#00018

fonts.fontforge.user

Subject: Converting PostScript Font Resource to TTF

Hi List,

I have some fonts which I got as PS font resources to TTF. Each font
definition is in it's own file and looks like this:

%%BeginResource: font NAMN
/NAMN 12 dict dup begin
/FontType 3 def
/FontMatrix[0.02 0 0 0.02 0 0]def
/FontName /NAMN def
/FontBBox[0 0 1000 1000]def
/Encoding
[/.x_0/smile/smile1/heart/diamond/club/spade/bullet1/bulletrev/circle/circlerev/male/female/musicalnote/musicalnotedbl/sun/right/left/updown/exclamdbl/paragraph/section/blob/updownu/arrowup/arrowdown/arrowright/arrowleft
/rightangle/arrowboth/up/down/space/exclam/quotedbl/numbersign/dollar/percent/ampersand/quotesingle/parenleft/parenright/asterisk/plus/comma/hyphen/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon/semicolon
/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/asciicircum/underscore/grave/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/braceleft/bar/braceright
/asciitilde/rubout/Ccedilla/udieresis/eacute/acircumflex/adieresis/agrave/aring/ccedilla/ecircumflex/edieresis/egrave/idieresis/icircumflex/igrave/Adieresis/Aring/Eacute/ae/AE/ocircumflex/odieresis/ograve/ucircumflex/ugrave
/ydieresis/Odieresis/Udieresis/cent/sterling/yen/Pts/florin/aacute/iacute/oacute/uacute/ntilde/Ntilde/ordfeminine/ordmasculine/questiondown/leftnot/logicalnot/onehalf/onequarter/exclamdown/guillemotleft/guillemotright/fill25
/fill50/fill75/boxv/boxmr/boxMr/boxmR/boxtR/boxTr/boxMR/boxV/boxTR/boxBR/boxbR/boxBr/boxtr/boxbl/boxbc/boxtc/boxml/boxh/boxmc/boxMl/boxmL/boxBL/boxTL/boxBC/boxTC/boxML/boxH/boxMC/boxBc/boxbC/boxTc/boxtC/boxbL/boxBl/boxTl/boxtL
/boxmC/boxMc/boxbr/boxtl/block/blockbot/blockleft/blockright/blocktop/alpha/germandbls/Gamma/pi/Sigma/sigma/micro/tau/Phi/Theta/Omega/delta/infinity/phi1/epsilon/intersection/equivalence/plusminus/greaterequal/lessequal/integraltp
/integralbt/divide/approxequal/degree/dotmath/periodcentered/radical/nsuperior/twosuperior/bullet/reqspace
]def
/BuildGlyph{exch/CharProcs get exch 2 copy known not{pop/.notdef}if get
exec}def
/BuildChar{1 index/Encoding get exch get 1 index/BuildGlyph get exec}def
/CharProcs 448 dict dup begin
/.notdef{25 0 0 -1 8 49 setcachedevice}def
/space{25 0 0 -1 8 49 setcachedevice}def
/exclam{25 0 10 0 16 29 setcachedevice[16 0 0 29 10 0]concat 16 29 true
[16 0 0 -29 0 29] {<
78007800780078007800780078007800780078007800780078003000300030003000300030003000000000000000FC00FC00FC00FC00FC00FC00
>}imagemask}def
/quotedbl{25 0 8 19 17 30 setcachedevice[16 0 0 11 8 19]concat 16 11 true
[16 0 0 -11 0 11] {<
E380E380E380E380E380E380E380E380E380E380E380
>}imagemask}def
...

Is there a trick to extract those whith fontforge (or another tool you
might know)? I naivly tried opening the file with fontforge (which by the
way complains about not beeing compiled with --with-multilayer although I
did) and failed.

Uli


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise