encoding vector for type1 fonts
- From: "Paulo Soares" <psoares (at) consiste.pt>
- Date: Tue, 22 Aug 2006 21:02:45 +0100
The mechanism of single byte fonts is not flexible to easylly allow other
encodings. You can create a new encoding but it will be global to the JVM
and it should only be private to that font instance. Look at the source code
of PdfEncodings.
Paulo
----- Original Message -----
From: "M. Niedermair" <m_g_n (at) gmx.de>
To: "Post all your questions about iText here"
<itext-questions (at) lists.sourceforge.net>
Sent: Tuesday, August 22, 2006 3:57 PM
Subject: [iText-questions] encoding vector for type1 fonts
> Hi,
>
> i have problem to understand the mechanism about the encoding vector.
>
> I have a encoding table (with glyphnames) like this:
>
> 0: ".notdef",
> 1: "dotaccent",
> 2: "fi",
> 3: "fl",
> ...
> 254: "thorn",
> 255: "ydieresis"
>
>
> With PdfEncodings.addExtraEncoding(String name, ExtraEncoding enc) i can
> add a extra Encoding.
>
> But how must i implement the methods charToByte() and byteToChar() from
> ExtraEncoding?
>
> By
> Michael
>
>
>
> -------------------------------------------------------------------------
> 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
> _______________________________________________
> iText-questions mailing list
> iText-questions (at) lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------------------------
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
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions