ASF Bugzilla – Attachment 24877 Details for
Bug 48567
Implementation of support for double-byte fonts by AFP renderer.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
xdocs
48567_xdocs.patch (text/plain), 1.87 KB, created by
Peter Hancock
on 2010-01-21 07:35:10 UTC
(
hide
)
Description:
xdocs
Filename:
MIME Type:
Creator:
Peter Hancock
Created:
2010-01-21 07:35:10 UTC
Size:
1.87 KB
patch
obsolete
>Index: src/documentation/content/xdocs/trunk/output.xml >=================================================================== >--- src/documentation/content/xdocs/trunk/output.xml (revision 901679) >+++ src/documentation/content/xdocs/trunk/output.xml (working copy) >@@ -548,10 +548,11 @@ > <!-- AFP Renderer --> > ... > </renderer>]]></source> >- <p>There are 3 font configuration variants supported:</p> >+ <p>There are 4 font configuration variants supported:</p> > <ol> > <li>IBM Raster fonts</li> > <li>IBM Outline fonts</li> >+ <li>IBM CID-keyed (Type 0) fonts</li> > <li>FOP built-in Base14 fonts</li> > </ol> > <p>A typical raster font configuration looks like:</p> >@@ -600,6 +601,18 @@ > supported for the time being, but you should move to using the more flexible "base-uri" > attribute so you can profit from the power of URI resolvers. > </note> >+ <p>A CID-keyed font (Type 0, double-byte outlindouble font) configuration is much the same as an outline font. >+ However, the characterset definition is now required within the afp-font element.</p> >+<source><![CDATA[ <font> >+ <afp-font type="CIDkeyed" encoding="UnicodeBigUnmarked" >+ codepage="T1120000" characterset="CZJHMNU" >+ base-uri="file:/fonts/ibm" /> >+ <font-triplet name="J-Heisei Mincho" style="normal" weight="normal" /> >+ </font> >+]]></source> >+ <p> >+Note that the value of the encoding attribute in the example is the double-byte encoding 'UnicodeBigUnmarked' (UTF-16BE). >+ </p> > <p>Experimentation has shown that the font metrics for the FOP built-in Base14 fonts are actually > very similar to some of the IBM outline and raster fonts. In cases were the IBM font files are not > available the base-uri attribute in the afp-font element can be replaced by a base14-font attribute
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48567
:
24854
|
24857
| 24877