<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello Pali,
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jun 27, 2016, at 7:11 AM, Pali Rohár <<a href="mailto:pali.rohar@gmail.com" class="">pali.rohar@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">Yes! And that glyph name for each numberical value (index) is<br class="">
available in encode file (csr.enc). This is reason why I'm tryint<br class="">
to tell pdftex:<br class="">
<br class="">
"hey pdftex, please use csr.enc for my csb12 PK font, it contains<br class="">
mapping index --> glyph name which you need to building cmap file”</blockquote>
</blockquote>
</div>
</blockquote>
<div><br class="">
</div>
<div>OK. But why do you need  csb12  ?</div>
<div>That is, why not  csbx12  which *is* available in PFB format,</div>
<div>and is properly mapped.</div>
<div>viz.</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
SCI:vector ross$ grep csb `kpsewhich pdftex.map` | grep -v fcsb | grep -v TeXGyre | grep -v Roman</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csb10 <csb10.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbx10 <csbx10.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbx12 <csbx12.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbx5 <csbx5.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbx6 <csbx6.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbx7 <csbx7.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbx8 <csbx8.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbx9 <csbx9.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbxsl10 <csbxsl10.pfb</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
csbxti10 <csbxti10.pfb</div>
<div class=""><br class="">
</div>
</div>
<div>These fonts (and corresponding medium/regular weights) </div>
<div>are handled in LaTeX using  csfonts.sty .</div>
<div><br class="">
</div>
<div>
<div>The encoding seems to be a subset of  XL2. viz.</div>
</div>
<div><br class="">
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
% @psencodingfile{</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   author = "Petr Olsak, Zdenek Wagner",</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   date = "19oct12",</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   filename = "xl2.enc",</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   license = "public domain",</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   email = "<a href="mailto:tex-fonts@tug.org" class="">tex-fonts@tug.org</a>",</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   codetable = "ISO/ASCII",</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   docstring = "</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
% some of our (CSTUG- czech TeX Users Group) users want to support</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
% 8bit font coding such that:</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
% -- lower 7bit  is exactly OT1 (but with differences imposed</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%   by DEK -- e.g. layout of cmr is different from cmtt)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
% -- upper part is taken from ISO-Latin 2 (iso 8859-2),</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%    but some of empty positions are filled with useful characters</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
%    usually available in type-1 font (permill sign etc.)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
% "</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);" class="">
% }</div>
<div class=""><br class="">
</div>
</div>
<div><br class="">
</div>
<div>Changing your test as follows works fine, at least for some characters, in Plain TeX.</div>
<div><br class="">
</div>
<div></div>
<blockquote type="cite" class="">
<div></div>
</blockquote>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<div></div>
</blockquote>
</blockquote>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<div>\pdfcompresslevel 0</div>
<div>\pdfobjcompresslevel 0</div>
<div>\nopagenumbers</div>
<div>\pdfgentounicode 1</div>
</blockquote>
</blockquote>
</blockquote>
<div></div>
<blockquote type="cite" class="">
<div></div>
</blockquote>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<div></div>
</blockquote>
</blockquote>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<div><font color="#12c00e" class="">\input glyphtounicode.tex</font></div>
<div><font color="#12c00e" class="">%\pdfglyphtounicode{ccaron}{010D}</font></div>
<div><font color="#12c00e" class="">\font\csb=csbx12</font></div>
<div><font color="#12c00e" class="">\csb </font></div>
<div><font color="#12c00e" class="">\char232 \char233 %\char234 %\char235 %</font></div>
<div><font color="#12c00e" class="">\char236 \char237 %\char238</font></div>
<div><font color="#12c00e" class="">\char239</font></div>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<div>\bye</div>
</blockquote>
</blockquote>
</blockquote>
<div><br class="">
</div>
<div>
<div style="margin: 0px;" class="">č.ě.ď</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class="">(I hope 5 characters are showing for you here. </div>
<div style="margin: 0px;" class="">If not, my mail client could be at fault.)</div>
<div style="margin: 0px;" class="">Just extract them yourself from the PDF attached here.</div>
</div>
<div>
<div style="margin: 0px;" class="">
<div style="margin: 0px;" class="">
<div style="margin: 0px;" class="">
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>