On Thu, Oct 29, 2009 at 08:42:55AM +0100, Frank Mittelbach wrote: > Heiko Oberdiek writes: > > On Wed, Oct 28, 2009 at 07:56:12PM +0100, Frank Mittelbach wrote: > > > > > Heiko Oberdiek writes: > > > > Hello, > > > > > > > > textcomp.sty contains: > > > > \DeclareEncodingSubset{TS1}{cmr}{0} > > > > ... > > > > \DeclareEncodingSubset{TS1}{ptmj}{4} > > > > However, I miss entries for the new font families > > > > of Latin Modern and TeX Gyre. > > > > > > they could be added to textcomp.cfg with texlive and the like. However, they > > > are certainly better directly supported which I have just done on the svn > > > source. > > > > % \begin{macrocode} > > \DeclareEncodingSubset{TS1}{lmr} {0} > > \DeclareEncodingSubset{TS1}{qhv} {0} > > % \end{macrocode} > > which is what I added, anything wrong? > > > Also there are other families in the font bundles: > > * Latin Modern: lmdh, lmss, lmssq, lmtt, lmvtt > > * TeX Gyre: qag, qbk, qcr, qcs, qpl, qtm, qzc, qhvc > > well if somebody has the time to test each to see which subset they support > (probably 0) and provides me with the decls I'm happy to add them too. Test file: \let\noinit! \input{nfssfont} \input{ts1enc.def} \def\encoding{TS1} \def\series{m} \def\shape{n} \def\test#1{% \fontencoding\encoding \fontfamily{#1}% \fontseries\series \fontshape\shape \fontsize{10pt}{10pt}% \selectfont \edef\currfontname{\fontname\font}% \startfont \table \newpage } \test{cmr} \test{lmr} \test{lmdh} \test{lmss} \test{lmssq} \test{lmtt} \test{lmvtt} \test{qhv} \test{qag} \test{qbk} \test{qcr} \test{qcs} \test{qpl} \test{qtm} \test{qzc} \test{qhvc} \bye Result: * lmtt misses * \textperthousand * \texttrademark * \textservicemark * qcr (tgcursor) misses * \textleftarrow * \textrightarrow * \textuparrow * \textdownarrow Additionally the lm and tg fonts provide glyphs at * slot 81/121o/51h (/Orogate) * slot 113/161o/71h (/orogate) * slot 115/163o/73h (/longs, U+017F) Yours sincerely Heiko <[log in to unmask]>