Hi,<br><br>I've been playing with fontinst for a while, now I'm stuck on some converted font. When I convert (using Fontlab or Transtype) a complex opentype font to type1, the resulting pfb and afm will contain even the smallcap and oldstyle glyphs. In a traditional fontinst approach, however, one needs to have SC and OSF glyphs in separate pfb files to make them working. It'll require much care if I try to extract these glyphs and create separate SC and OSF fonts, let alone extract the kerning info from afm file.<br>
<br>Then I came with the idea about reglyphfonts : Say I have a font DinTextPro (dtp) converted to Type1, named dtpr8a.pfb, which contains SC glyphs as Asmall, Bsmall, etc. What if I rename the [Asmall, Bsmall, ..., Zsmall] in to [a, b, ..., z] and reglyph it to dtprc8a.pfb? That goes like this in the drive file:<br>
<br><div style="margin-left: 40px;">\reglyphfonts<br> \killglyph{a}<br>\renameglyph{a}{Asmall}<br> \killglyph{b}<br>\renameglyph{b}{Bsmall}<br>...<br>\reglyphfont{dtprc8r}{dtpr8r}<br>\endreglyphfonts<br clear="all">
</div><br>(I don't know if the killglyph command is necessary but I've tested w/ and w/o killglyph, none of them worked)<br><br>and install as<br><br><div style="margin-left: 40px;">\installfamily{T1}{dtp}{}<br>\installfont{dtpr8t}{dtpr8r,newlatin}{t1}{T1}{dtp}{m}{n}{}<br>
\installfont{dtprc8t}{dtprc8r,newlatin}{t1}{T1}{dtp}{m}{sc}{}<br></div><br>When compiling, the dtprc8r.mtx did came out, but once installed, it didn't work (\textsc{} command resulted in normal glyphs, not SC glyphs). <br>
<br>Is what I did wrong? Please help me, thank you!<br>--<br>kmc<br>