<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Example font subset with non-unicode output</title>
    <link>https://forums.adobe.com/community/design_development/pdf_language_and_specifications?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 21 Mar 2014 10:15:53 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-03-21T10:15:53Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230341?tstart=0#6230341</link>
      <description>&lt;!-- [DocumentBodyStart:a511d6e4-5b12-416e-8e9b-f598e1ccc185] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Shortcut for 1-byte fonts. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All of these are1-byte value with the same meaning&lt;/p&gt;&lt;p&gt;- FirstChar, LastChar&lt;/p&gt;&lt;p&gt;- Indexes in WIdths (offset by FirstChar)&lt;/p&gt;&lt;p&gt;- values in the byte strings passed to Tj etc.&lt;/p&gt;&lt;p&gt;- indexes into the 256 name array generated from Encoding&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;None applies to Type 0/multibyte fonts.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a511d6e4-5b12-416e-8e9b-f598e1ccc185] --&gt;&lt;img src='/beacon?t=1415903311043' /&gt;</description>
      <pubDate>Fri, 21 Mar 2014 10:15:53 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230341?tstart=0#6230341</guid>
      <dc:date>2014-03-21T10:15:53Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230277?tstart=0#6230277</link>
      <description>&lt;!-- [DocumentBodyStart:66ded323-971d-4323-911f-807e9b680347] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thank you all!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I will go through the pdf spec again and try to ask the correct questions then...&lt;/p&gt;&lt;p&gt;For single byte fonts it already helped me to know that max 256 values are "allowed"&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I really appreciate your comments&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:66ded323-971d-4323-911f-807e9b680347] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 10:11:17 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230277?tstart=0#6230277</guid>
      <dc:date>2014-03-21T10:11:17Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230255?tstart=0#6230255</link>
      <description>&lt;!-- [DocumentBodyStart:af83e8b5-cfff-4bde-ace8-e69380462fef] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;No, this is proceeding from wrong assumptions.&lt;/p&gt;&lt;p&gt;For all single byte fonts, EVERY PDF contruction deals with 256 values, range 0 to 255. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Let's look at what you say. You mention two Unicode values, and you continue to think that Unicode has some importance or meaning in PDF. No, it doesn't. Perhaps your characters are U+0021 and U+FEFC but the PDF does not care, and nor should you (when writing the PDF). I emphasise: if you are thinking "I will put this Unicode value somewhere in the PDF" and you are dealing with page streams/fonts, you are almost certainly not following the spec.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For a single byte font the mapping from the arbitrary codes in the PDF to the internal font structures has one and only one variable: the Encoding value. The Encoding value, if present (and the situations in which it can be omitted are specific and exact), is a shorthand representation for something which will always be an array of 256 names.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Since TrueType fonts don't contain names, the interpretation of this is complicated for embedded TrueType, and you must take care to follow exactly what the spec says. Other things MAY SOMETIMES WORK without being valid, but will probably fail in different software, so stick to the spec exactly.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is no substitute for endless, deep and repetitive study of the PDF Reference. It will help if you can phrase your future questions in terms of "what does it mean in the specification when it says...". That will help keep you focussed. I have been working with the PDF specification for many, many years and I have found that whenever I assume anything, I am almost always wrong. Read the spec first, second and last.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;FInally, don't be discouraged if you find this hard. Font embedding IS one of the very hardest things to master about PDFs, easily adding an order of magnitude of complexity to any project.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:af83e8b5-cfff-4bde-ace8-e69380462fef] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 09:46:53 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230255?tstart=0#6230255</guid>
      <dc:date>2014-03-21T09:46:53Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230294?tstart=0#6230294</link>
      <description>&lt;!-- [DocumentBodyStart:a36cb0ba-9b53-429d-ac68-a7787ffe8c61] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Try not to use or think the word "Unicode" or Unicode code points until you have managed to understand how PDF defines the relationship between character code and glyphs. Unicode does not have any role here. &lt;strong&gt;FirstChar&lt;/strong&gt; and &lt;strong&gt;LastChar&lt;/strong&gt; related only to the character codes in a Simple Font (where character codes have one byte). I have no idea what you mean by &lt;strong style="background-color: #e7e7e7; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;FirstCharacter&lt;/strong&gt; and &lt;strong style="background-color: #e7e7e7; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;LastCharacter&lt;/strong&gt; (try hard not to be sloppy with keywords!)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I think you do have a lot of reading ahead&amp;nbsp; of you - just grab the PDF spec and read the part on text again. Try to focus on one approach (Simple Font / TrueType in your case), until you've got it.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a36cb0ba-9b53-429d-ac68-a7787ffe8c61] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 09:44:01 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230294?tstart=0#6230294</guid>
      <dc:date>2014-03-21T09:44:01Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230213?tstart=0#6230213</link>
      <description>&lt;!-- [DocumentBodyStart:47b6906c-5a1d-4a41-aede-8b3de4d03e16] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thank you both!!!&lt;/p&gt;&lt;p&gt;One final question to Irosenth...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I&amp;nbsp; simple use Subtype /TrueType it requires to set FirstChar and LastChar, right?&lt;/p&gt;&lt;p&gt;So, lets say I am using Arial as a subset font but with only two characters (single byte of course). The chars are "!" (U+0021) and " ﻼ" (U+FEFC).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So&lt;strong&gt; FirstCharacter is set to 33&lt;/strong&gt; and&lt;strong&gt; LastCharacter is set to 65276&lt;/strong&gt;, correct? &lt;/p&gt;&lt;p&gt;Does this also mean I have to set the /Widths for all 65243 &lt;strong&gt;(65276 - 33)&lt;/strong&gt;?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What would you suggest I should do in this case?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:47b6906c-5a1d-4a41-aede-8b3de4d03e16] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 09:27:31 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230213?tstart=0#6230213</guid>
      <dc:date>2014-03-21T09:27:31Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230211?tstart=0#6230211</link>
      <description>&lt;!-- [DocumentBodyStart:e8cbab2c-0410-4162-bc5f-e533803deb12] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Text encoding in PDF in essence is for &lt;strong&gt;glyph lookup&lt;/strong&gt; only. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On one end of a processing chain, you have a character code in a text showing operator.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the other hand you have a glyph in a font.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;PDF (and by reference several font specifications) defines several ways how to define (in the code of a PDF file) how certain character codes are - for a given font resource - linked to&amp;nbsp; the font resource and the glyphs in it. As there are a number of ways to do this, it can be very confusing for the novice. In order to be successful in this field you must fully understand the part of the PDF specification/standard that defines how to put text on a PDF page. If there are parts you do not understand yet - keep reading the spec until you understand it. There is no silver bullet or magic trick to do text in PDF without this.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It might be true, under certain circumstances, and in many cases coincidentally so, that character codes happen to be&amp;nbsp; equivalent to single byte text codes (as defined WinANSI, MacRoman, MacExpert encodings, and in addition through a Differences array and use of predefined glyph names as defined by AGL). But it is not smart to hope for this, especially as any of this could - for the purpose of text extraction - be overwritten by a ToUnicode table (and a character that accoridng to WinANSI represents "A" would have to be extracted as "B" if the ToUnicode table says so).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So in the interest of writing better code, forget about the notion that character codes have in any deterministic anything to do with text / Unicode code codepoints, single byte or not. Character codes are just numbers that let you look up a glyph in a font if a certain procedure is followed... &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e8cbab2c-0410-4162-bc5f-e533803deb12] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 09:25:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230211?tstart=0#6230211</guid>
      <dc:date>2014-03-21T09:25:18Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230113?tstart=0#6230113</link>
      <description>&lt;!-- [DocumentBodyStart:8fe910eb-174e-4b0a-a4f0-658de44e6831] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Just to add to this excellent explanation.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A CID font is a TWO BYTE FONT.&amp;nbsp; So by choosing to use one, you are requiring the use of two bytes per glyphs.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you only want a single byte per glyph, use a simple TrueType font with a standard encoding (such as WinANSI).&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8fe910eb-174e-4b0a-a4f0-658de44e6831] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:58:23 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230113?tstart=0#6230113</guid>
      <dc:date>2014-03-21T08:58:23Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230177?tstart=0#6230177</link>
      <description>&lt;!-- [DocumentBodyStart:f1957db3-ed01-4897-b625-a3a89f550e2f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;The byte values in a string are what the font requires, according to its Encoding (1-byte fonts) and combination of CMap/internal CIDs (2-byte fonts). Often you will see for 1-byte fonts ANSI characters, because the Encoding used happens to be WinAnsiEncoding or MacRomanEncoding, which are the same as ANSI for byte values &amp;lt; 127. But, so what? You are not writing a 1-byte font.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; background-color: #e7e7e7;"&gt;"So when I now use a font, which does not provide Unicode (like Arial - NOT ARIALUNI) why I should convert it into UTF-16BE?&lt;/span&gt;"&lt;/p&gt;&lt;p&gt;You should not. Why would you, and why do you think that Unicode is involved? Are you just assuming that when you see a 2-byte value that it is 2-byte Unicode? Never assume, read the spec!!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f1957db3-ed01-4897-b625-a3a89f550e2f] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:52:46 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230177?tstart=0#6230177</guid>
      <dc:date>2014-03-21T08:52:46Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230128?tstart=0#6230128</link>
      <description>&lt;!-- [DocumentBodyStart:15688168-9ea8-435f-91ce-8df1b0933b07] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;And by the way, that code you posted in reply #14 looks a good start for working with CIDs/GIDs. What makes you guess it is Unicode? I Think you are perhaps focussing too much on Unicode; it is almost completely irrelevant to the task of writing the PDF, and Unicode is almost never written to make streams.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:15688168-9ea8-435f-91ce-8df1b0933b07] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:49:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230128?tstart=0#6230128</guid>
      <dc:date>2014-03-21T08:49:32Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230152?tstart=0#6230152</link>
      <description>&lt;!-- [DocumentBodyStart:d6f80fce-16d1-4147-a48a-4c9da361dfdc] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;But when I use the core fonts, like Helvetica all the text writen in Tj is ANSI, isnt it?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So when I now use a font, which does not provide Unicode (like Arial - NOT ARIALUNI) why I should convert it into UTF-16BE?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d6f80fce-16d1-4147-a48a-4c9da361dfdc] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:42:16 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230152?tstart=0#6230152</guid>
      <dc:date>2014-03-21T08:42:16Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>8</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230124?tstart=0#6230124</link>
      <description>&lt;!-- [DocumentBodyStart:0656d6ab-d276-4843-9d76-8e71daee7dc0] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Stop trying to use ANSI characters in Tj. What makes you believe this is correct or valid?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0656d6ab-d276-4843-9d76-8e71daee7dc0] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:38:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230124?tstart=0#6230124</guid>
      <dc:date>2014-03-21T08:38:32Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230150?tstart=0#6230150</link>
      <description>&lt;!-- [DocumentBodyStart:5751c565-1e3e-4f46-aad0-06add2b3f735] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I think I need a closer look to character codes, glyphs and cids. does anyone of you know good exampleS?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5751c565-1e3e-4f46-aad0-06add2b3f735] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:31:58 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230150?tstart=0#6230150</guid>
      <dc:date>2014-03-21T08:31:58Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6230147?tstart=0#6230147</link>
      <description>&lt;!-- [DocumentBodyStart:19e897c8-9452-481d-a1a1-323c3186d6fa] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Test Screen NAme ,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;that is exaclty what i wanted I guess.. I want to match CIDToGID but for ANSI chars...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Currently the formula for CIDtoGID is the following in the PDF writer which is two byte unicode I guess.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;if($this-&amp;gt;isUnicode){&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($char &amp;gt;= 0){&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($char &amp;gt;= 0 &amp;amp;&amp;amp; $char &amp;lt; 0xFFFF &amp;amp;&amp;amp; $glyphIndex) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $cidtogid[$char*2] = chr($glyphIndex &amp;gt;&amp;gt; 8);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $cidtogid[$char*2 + 1] = chr($glyphIndex &amp;amp; 0xFF);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now I want it to get it working for 1 byte. So that the output for "() Tj" contains ANSI text characters.&lt;br/&gt;I dont know if this is even possible or I am totally mixed up now &lt;span aria-label="Laugh" class="emoticon-inline emoticon_laugh" style="height:16px;width:16px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:19e897c8-9452-481d-a1a1-323c3186d6fa] --&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:13:24 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6230147?tstart=0#6230147</guid>
      <dc:date>2014-03-21T08:13:24Z</dc:date>
      <clearspace:dateToText>7 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>12</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227743?tstart=0#6227743</link>
      <description>&lt;!-- [DocumentBodyStart:2f3f194a-6ba7-4cc7-b853-518a487d7f21] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Why not just use CIDToGIDMap Identity, and use CIDs. You seem determined to make the font fit what you want to put in Tj, rather than put in Tj what works with the font!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2f3f194a-6ba7-4cc7-b853-518a487d7f21] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 16:30:15 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227743?tstart=0#6227743</guid>
      <dc:date>2014-03-20T16:30:15Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>13</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227742?tstart=0#6227742</link>
      <description>&lt;!-- [DocumentBodyStart:09040be3-8375-4219-9c52-c4c413435f92] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I don't know whether the font data is valid or not, but you certainly are not passing CIDs to Tj. You are just passing 1-byte ANSI text.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:09040be3-8375-4219-9c52-c4c413435f92] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 16:27:27 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227742?tstart=0#6227742</guid>
      <dc:date>2014-03-20T16:27:27Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>14</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227806?tstart=0#6227806</link>
      <description>&lt;!-- [DocumentBodyStart:e21e6b1d-883c-4415-93e7-64f500684d65] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Well, I eventually know what I am doing wrong.. but I have no idea how to fix it this way I want to...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As per PDF Reference describes:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;If the TrueType font program is embedded, the Type 2 CIDFont dictionary&lt;/p&gt;&lt;p&gt;must contain a CIDToGIDMap entry that maps CIDs to the glyph indices for the&lt;/p&gt;&lt;p&gt;appropriate glyph descriptions in that font program.&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Because I am having 1 bytes (UTF-8 or ansi) text located in the "() Tj" command it does not display the glyph properly&lt;/p&gt;&lt;p&gt;When I change it so, that I have UTF-16BE inserted into "() Tj" it will work.. Guranteed.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now coming to the question! How do I arrange the CIDToGIDMap so, that it will work for UTF-8 or any other 1 byte encoding?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e21e6b1d-883c-4415-93e7-64f500684d65] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 16:27:17 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227806?tstart=0#6227806</guid>
      <dc:date>2014-03-20T16:27:17Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227622?tstart=0#6227622</link>
      <description>&lt;!-- [DocumentBodyStart:3fcfcbbf-024f-4743-b68e-fcb1c73a3851] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Here you can find the complete pdf document&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.filedropper.com/file_97" rel="nofollow" target="_blank"&gt;http://www.filedropper.com/file_97&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3fcfcbbf-024f-4743-b68e-fcb1c73a3851] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 15:46:23 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227622?tstart=0#6227622</guid>
      <dc:date>2014-03-20T15:46:23Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>16</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227641?tstart=0#6227641</link>
      <description>&lt;!-- [DocumentBodyStart:3b42ecbc-7bd1-4bb4-8e33-7906d32a34ab] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Without the actual font data - no idea what's wrong. You only provided a very limited bit of PDF.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3b42ecbc-7bd1-4bb4-8e33-7906d32a34ab] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 15:43:01 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227641?tstart=0#6227641</guid>
      <dc:date>2014-03-20T15:43:01Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>17</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227619?tstart=0#6227619</link>
      <description>&lt;!-- [DocumentBodyStart:fe81966e-2215-4aa6-a06e-ba612347ed78] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Mhm.. ok but what is wrong with this?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;% Text output&lt;/p&gt;&lt;p&gt;6 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt; /Length 53 &amp;gt;&amp;gt; stream&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;BT 20.000 798.260 Td /F1 10.0 Tf (Lorem ipsum) Tj ET&lt;/p&gt;&lt;p&gt;endstream&lt;/p&gt;&lt;p&gt;endobj&lt;/p&gt;&lt;p&gt;7 0 obj&lt;/p&gt;&lt;p&gt;[5 0 R /Fit]&lt;/p&gt;&lt;p&gt;endobj&lt;/p&gt;&lt;p&gt;% arial as as composite font&lt;/p&gt;&lt;p&gt;8 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt;/Type /Font /Subtype /Type0 /BaseFont /AAAAAD+Arial /Encoding /Identity-H /DescendantFonts [9 0 R] &amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;endobj&lt;/p&gt;&lt;p&gt;% DescendantFonts&lt;/p&gt;&lt;p&gt;9 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt;/Type /Font /Subtype /CIDFontType2 /BaseFont /AAAAAD+Arial /CIDSystemInfo &amp;lt;&amp;lt; /Registry (Adobe) /Ordering (Identity) /Supplement 0 &amp;gt;&amp;gt; /FontDescriptor 11 0 R /W [ 51 [556] 11380 [500] ] /CIDToGIDMap 10 0 R&amp;nbsp; &amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;endobj&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;% CID To GID mapping&lt;/p&gt;&lt;p&gt;10 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt; /Length 131072&amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;stream&lt;/p&gt;&lt;p&gt;[...]&lt;/p&gt;&lt;p&gt;endstream&lt;/p&gt;&lt;p&gt;endobj&lt;/p&gt;&lt;p&gt;% font descriptor&lt;/p&gt;&lt;p&gt;11 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt; /Type /FontDescriptor /Flags 32 /FontName /AAAAAD+Arial /StemV 70 /Ascent 1854 /Descent -434 /FontBBox [-664 -324 2000 1039] /ItalicAngle 0.0 /FontFile2 12 0 R &amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;endobj&lt;/p&gt;&lt;p&gt;% font subset of arial&lt;/p&gt;&lt;p&gt;12 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt; /Length1 32500 /Length 32500 &amp;gt;&amp;gt; stream&lt;/p&gt;&lt;p&gt;[...]&lt;/p&gt;&lt;p&gt;endstream&lt;/p&gt;&lt;p&gt;endobj&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:fe81966e-2215-4aa6-a06e-ba612347ed78] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 15:40:52 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227619?tstart=0#6227619</guid>
      <dc:date>2014-03-20T15:40:52Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>18</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227588?tstart=0#6227588</link>
      <description>&lt;!-- [DocumentBodyStart:47b1cda6-d609-4866-bfad-15aeba18b412] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;As described in ISO 32000-1:2008&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:47b1cda6-d609-4866-bfad-15aeba18b412] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 15:35:12 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227588?tstart=0#6227588</guid>
      <dc:date>2014-03-20T15:35:12Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>19</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227609?tstart=0#6227609</link>
      <description>&lt;!-- [DocumentBodyStart:64464e03-20e3-4eb8-b934-b779062cb943] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi&amp;nbsp; Irosenth,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;that clears many things in my mind... thank you!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ok So when I take the Arial now and subset i.. how the pdf should look like when using /Type0 font (including the &lt;span style="color: #000000; font-family: monospace; font-size: medium;"&gt;CIDFontType2 &lt;span style="color: #000000; font-family: monospace; font-size: medium;"&gt;Descendant&lt;/span&gt; of course&lt;/span&gt;)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The &lt;span style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; background-color: #ffffff;"&gt;"draw string"&lt;/span&gt; was a mistake, I meant "Tj"&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:64464e03-20e3-4eb8-b934-b779062cb943] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 15:32:39 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227609?tstart=0#6227609</guid>
      <dc:date>2014-03-20T15:32:39Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>20</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227436?tstart=0#6227436</link>
      <description>&lt;!-- [DocumentBodyStart:efb3e56e-0a17-433b-b2d6-683b160878be] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You appear to be mixing up a few things - which is why font subsetting in PDF is hard.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is the original font encodings (as found in cmaps, for example).&lt;/p&gt;&lt;p&gt;There is the encoding of the subset data itself (which for CID fonts is almost always custom encoding)&lt;/p&gt;&lt;p&gt;There is what you put in you "draw string" commands.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the process of subsetting, the embedded data is custom encoded and the values written int he draw string matches that encoding (and looks nothing like a standard encoding).&amp;nbsp;&amp;nbsp; For example, if you have a subset with 'a', 'b', 'c' and 'd' using ID's 1-4 respectively, and you wanted to draw the string 'bad', then you would write&lt;/p&gt;&lt;p&gt;(\2\1\4)Tj&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:efb3e56e-0a17-433b-b2d6-683b160878be] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:59:46 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227436?tstart=0#6227436</guid>
      <dc:date>2014-03-20T14:59:46Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>21</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227367?tstart=0#6227367</link>
      <description>&lt;!-- [DocumentBodyStart:dbfeb741-8d14-4b6b-a541-820b9c26ea95] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Sorry, I don't see what your requirement has to do with ToUnicode. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You would not be using the font's "cmap" table to display, you would use a "CMap" and these are not the same thing and do not map. You would not code UCS2 data in the page stream. You would be using Identity-H and encoding the data as CIDs (which is the same thing as GIDs in the font). &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:dbfeb741-8d14-4b6b-a541-820b9c26ea95] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:57:11 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227367?tstart=0#6227367</guid>
      <dc:date>2014-03-20T14:57:11Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6227319?tstart=0#6227319</link>
      <description>&lt;!-- [DocumentBodyStart:7e22eebd-8268-4886-b1a7-f3293e071a67] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I use the TTF font "Arial" for instance. This font has different cmap tables.&lt;/p&gt;&lt;p&gt;So lets say I decide to use the cmap for Unicode USC-2.&lt;/p&gt;&lt;p&gt;Then I do a subset of the font for only these charactars which are used in the PDF.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Finally the output (right after Tf command) should be encoded as ISO-8859-1&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All of this I want in a Composite Type0 font and not in &lt;span style="color: #000000; font-family: monospace; font-size: medium;"&gt;TrueType&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What are the required/depandet objects? How does the PDF skeleton look like?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7e22eebd-8268-4886-b1a7-f3293e071a67] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:47:49 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6227319?tstart=0#6227319</guid>
      <dc:date>2014-03-20T14:47:49Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>23</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6226933?tstart=0#6226933</link>
      <description>&lt;!-- [DocumentBodyStart:79bb2c4c-969c-454d-8bdd-93a2c4703415] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;It also does not mean that the font, or the text to display, is in UTF-16 encoding. The font as declared will have text data in the page stream containing CIDs, not Unicode.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Message was edited by: Test Screen Name&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:79bb2c4c-969c-454d-8bdd-93a2c4703415] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 12:58:52 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6226933?tstart=0#6226933</guid>
      <dc:date>2014-03-20T12:58:52Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>24</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6226932?tstart=0#6226932</link>
      <description>&lt;!-- [DocumentBodyStart:de8d5656-421f-4250-8e3d-1cda114bcd01] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I don't really understand the question. ToUnicode is an add-on for text extraction. It has no connection to the other font parameters, and if it is removed it will not affect PDF display in any way. It will only reduce the likelihood of good text extraction.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:de8d5656-421f-4250-8e3d-1cda114bcd01] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 12:57:16 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6226932?tstart=0#6226932</guid>
      <dc:date>2014-03-20T12:57:16Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>25</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Example font subset with non-unicode output</title>
      <link>https://forums.adobe.com/message/6226743?tstart=0#6226743</link>
      <description>&lt;!-- [DocumentBodyStart:83beec5b-a2d9-498e-aa88-87723d10c790] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am searching for an example to use a TTF Font as font subset in PDF but &lt;strong&gt;without &lt;/strong&gt;&lt;strong&gt;UTF16 encoding&lt;/strong&gt;.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is this even possible?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Something similar to &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=";"&gt;7 0 obj&lt;/td&gt;&lt;td style=";"&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;br/&gt;&lt;/td&gt;&lt;td style=";"&gt;&amp;lt;&amp;lt;/Type /Font /Subtype /Type0 /BaseFont /AAAAAD+Arial/Encoding /Identity-H /DescendantFonts [9 0 R]&lt;strong&gt; &lt;span style="text-decoration: line-through;"&gt;/ToUnicode 8 0 R&lt;/span&gt;&lt;/strong&gt; &amp;gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=";"&gt;9 0 obj&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;br/&gt;&lt;/td&gt;&lt;td style=";"&gt;&amp;lt;&amp;lt;/Type /Font /Subtype /CIDFontType2 /BaseFont /AAAAAD+Arial /CIDSystemInfo &amp;lt;&amp;lt; /Registry (Adobe) /Ordering (Identity) /Supplement 0 &amp;gt;&amp;gt; /FontDescriptor 11 0 R /W [... &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But how does the rest should look like?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you in advanced&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:83beec5b-a2d9-498e-aa88-87723d10c790] --&gt;</description>
      <pubDate>Thu, 20 Mar 2014 10:47:05 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6226743?tstart=0#6226743</guid>
      <dc:date>2014-03-20T10:47:05Z</dc:date>
      <clearspace:dateToText>7 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>26</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

