Type3 fonts and the way to go
Aloha,The Thanh Han posted:>I spent a few hours playing with type3 fonts, but was not able to create>a type3 font that uses another font (type1). It seems that the text>operators somehow doesn't work inside the CharProc stream for type3>fonts.> ...>But anyway, if someone is interested in this issue, please>have a look into the pdf I created, maybe I did something wrong.-Ressources, as Hans Hagen pointed out, the /Ressources of the pageand therefore object 13 need both /Fonts defined. -Encoding, as you're defining chars 97 and 98 and use 'A' and 'B' which are 65 and 66 in my StdEncoding table you won't get that muchpage impression...-Scaling, you need to reread the chapter about text space details. You aredefining a /FontMatrix of [0.001 etc.] which gives you a 1000x1000 glyphcoordinate system. For /A you use this (750 re), but for /B you definea very small /F1. I don't have a facility to compile your f2.tex with an recent pdftex, soi changed the abovementioned points directly in the f2.pdf. Here are the objects with the changes:13 0 obj << /Font << /F2 10 0 R /F1 9 0 R
/ProcSet [/PDF /Text]
endobj 10 0 obj << /Type /Font /FontBBox [0 0 1000 1000] /FirstChar 65 /Widths [750 750] /FontMatrix [0.001 0 0 0.001 0 0] /Encoding 5 0 R /CharProcs 4 0 R /Resources 6 0 R /LastChar 66 /Name /F2 /Subtype /Type3
endobj 5 0 obj << /Type /Encoding /Differences [65 /A /B]
endobj 2 0 obj << /Length 35
stream 1000 0 d0 BT /F1 900 Tf (B) Tj ET endstream endobj As far as i understand f2.tex it should be very easy to change (except for the /Ressourcesentry). Wishing a happy day LOBI
andreas.lobinger@freenet.de wrote:
Aloha,The Thanh Han posted:
.... actually, Thanh's example was straight from the pdf reference manual; it works ok in gsview but fails to show up in acrobat; adobe tmeselves use the funny small scale factors too, so i'm puzzled Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hello & happy new year to the list^1, many thanks to Andreas for spending time on the pdf I sent and pointing out what I missed. I will spend some more time to play with it. It would be very helpful if you could send me a pdf file with type3 fonts refering to type1 fonts. Thanh 1) yes here in Asia we have just celebrated the lunar new year
participants (3)
-
andreas.lobinger@freenet.de
-
Hans Hagen
-
The Thanh Han