aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-04-21 04:11:44 +0000
committerGlenn Adams <gadams@apache.org>2012-04-21 04:11:44 +0000
commitf5141241f7f7597c16bd3b030fa755a9dcec43d9 (patch)
tree0ad8aecc9b09a25ca824342fe7370b1f4973f5e7 /src/java
parentc5ea5054c700f631617216832ec1e8f0ff4716bf (diff)
downloadxmlgraphics-fop-f5141241f7f7597c16bd3b030fa755a9dcec43d9.tar.gz
xmlgraphics-fop-f5141241f7f7597c16bd3b030fa755a9dcec43d9.zip
Tweak comment.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328580 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/fonts/truetype/TTFFile.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/java/org/apache/fop/fonts/truetype/TTFFile.java b/src/java/org/apache/fop/fonts/truetype/TTFFile.java
index d8716c99f..f9eaab74b 100644
--- a/src/java/org/apache/fop/fonts/truetype/TTFFile.java
+++ b/src/java/org/apache/fop/fonts/truetype/TTFFile.java
@@ -423,7 +423,7 @@ public class TTFFile {
/*
* Removing this feature, since it violates XSL-FO and Unicode
* semantics. All characters used in an XSL-FO file (once decoded from
- * the document encoded) are interpreted as Unicode code points.
+ * the document encoding) are interpreted as Unicode code points.
* This precludes using Unicode code points in the Basic Latin range
* for any purpose other than use as Basic Latin characters. In
* order to use characters in the Wingding or Symbols font, then
@@ -433,17 +433,17 @@ public class TTFFile {
* as defined by the font manufacturer and supported by some cmap
* provided in the font. [GA] 2012-04-20
*
- if (encodingID == 0 && j >= 0xF020 && j <= 0xF0FF) {
- //Experimental: Mapping 0xF020-0xF0FF to 0x0020-0x00FF
- //Tested with Wingdings and Symbol TTF fonts which map their
- //glyphs in the region 0xF020-0xF0FF.
- int mapped = j - 0xF000;
- if (!eightBitGlyphs.get(mapped)) {
- //Only map if Unicode code point hasn't been mapped before
- unicodeMappings.add(new UnicodeMapping(glyphIdx, mapped));
- mtxTab[glyphIdx].getUnicodeIndex().add(new Integer(mapped));
- }
- }
+ * if (encodingID == 0 && j >= 0xF020 && j <= 0xF0FF) {
+ * //Experimental: Mapping 0xF020-0xF0FF to 0x0020-0x00FF
+ * //Tested with Wingdings and Symbol TTF fonts which map their
+ * //glyphs in the region 0xF020-0xF0FF.
+ * int mapped = j - 0xF000;
+ * if (!eightBitGlyphs.get(mapped)) {
+ * //Only map if Unicode code point hasn't been mapped before
+ * unicodeMappings.add(new UnicodeMapping(glyphIdx, mapped));
+ * mtxTab[glyphIdx].getUnicodeIndex().add(new Integer(mapped));
+ * }
+ * }
*/
// Also add winAnsiWidth