From: Boyer M. <bo...@ir...> - 2014-08-21 00:47:32
|
On the other hand, I installed the Carlito package as is (.ttf fonts, enc files etc), and modified by hand my personal file pdftex.map adding the map entries of carlito.map (for some reason updmap did not do it) and then used carlito.sty with texlive 2014 and everything worked fine. So the weird encoding files seem to be ok with .ttf files. I made no extensive test but used french accents with \usepackage[utf8]{inputenc} without problem. Michel On Aug 20, 2014, at 7:44 PM, Boyer Michel <bo...@ir...> wrote: > > On Aug 20, 2014, at 7:40 PM, Boyer Michel <bo...@ir...> wrote: > >> Hi >> >> I just had a look at the glyph names in Carlito and those that are used in the .enc files found in carlito/fonts/enc/dvips/carlito; they do not mach. No wonder pdflatex complains. >> >> I see no problem with with the Carlito font. The glyph names that look weird are those in the tex .enc files. Those files were generated with otftotfm with the .ttf files as input. >> >> Now, if I call otftotfm directly on Carlito-Regular.ttf, I get a bad .enc file, with the most basic parameter. >> If I open Carlito-Regular.otf with fontforge, make sure it is recoded unicode, and generate the CFF font Carlito.otf, then otftotfm produces an encoding file that looks correct. > > If I open **Carlito-Regular.ttf** with fontforge, make sure it is recoded unicode, and generate the CFF font Carlito.otf, then otftotfm produces an encoding file that looks correct. > >> >> I would first convert all the .ttf files to CFF .otf files and then reinstall with otftotfm. >> >> Michel >> >> >> >> >> On Aug 20, 2014, at 5:46 PM, Bob Tennent <rd...@cs...> wrote: >> >>>> |BT> I'm trying to use fontforge to convert Carlito fonts to >>>> |BT> type1 for use with LaTeX. But it seems fontforge doesn't >>>> |BT> generate suitable glyph names. >>>> | >>>> |Try generating a cff opentype font, and running otfinfo --glyphs >>>> |on it (otfinfo is part of lcdf-typetools, cf http://www.lcdf.org/type/). >>>> | >>>> |What glyphs names does it show? >>> >>> There are thousands of glyphs. What do I do with the output? >>> >>>> |And which packaging of TeX do you use? >>> >>> TeXLive 2014. >>> >>> Here's some of the output of pdflatex on a sample file: >>> >>> >>> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) >>> restricted \write18 enabled. >>> entering extended mode >>> (./carlito-samples.tex >>> LaTeX2e <2014/05/01> >>> Babel <3.9k> and hyphenation patterns for 44 languages loaded. >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls >>> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size12.clo)) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1enc.def)) >>> (/home/rdt/texmf/tex/latex/carlito/Carlito.sty >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1enc.def) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/ly1/ly1enc.def) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/ly1/ly1ptm.fd)) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/textcomp.sty >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/ts1enc.def)) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/mweights/mweights.sty) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/fontaxes/fontaxes.sty) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/xkeyval/xkeyval.sty >>> (/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkeyval.tex >>> (/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkvutils.tex >>> (/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/keyval.tex))))) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/lipsum/lipsum.sty) >>> (./carlito-samples.aux) >>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/ts1cmr.fd) >>> (/home/rdt/texmf/tex/latex/carlito/LY1Carlito-OsF.fd) [1{/home/rdt/.texlive2014 >>> /texmf-var/fonts/map/pdftex/updmap/pdftex.map}] >>> (/home/rdt/texmf/tex/latex/carlito/LY1Carlito-Sup.fd) >>> (/home/rdt/texmf/tex/latex/carlito/LY1Carlito-Inf.fd) [2] >>> (./carlito-samples.aux) ){/home/rdt/texmf/fonts/enc/dvips/carlito/a_kv2mx3.enc} >>> {/home/rdt/texmf/fonts/enc/dvips/carlito/a_swbsqs.enc}{/home/rdt/texmf/fonts/en >>> c/dvips/carlito/a_hjdyjj.enc}{/home/rdt/texmf/fonts/enc/dvips/carlito/a_v2iqgo. >>> enc}<./Carlito-Bold.pfb >>> >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `index130' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni002C' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni002D' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni002E' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0042' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0044' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0049' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni004D' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni004E' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0050' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0052' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0053' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0056' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0061' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0062' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0063' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0064' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0065' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0066' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0067' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0068' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0069' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni006C' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni006D' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni006E' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni006F' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0070' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0071' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0072' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0073' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0074' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0075' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0076' undefined >>> pdfTeX warning: pdflatex (file ./Carlito-Bold.pfb): glyph `uni0079' undefined >>>> <./Carlito-BoldItalic.pfb >>> pdfTeX warning: pdflatex (file ./Carlito-BoldItalic.pfb): glyph `uni002C' undef >>> ined >>> pdfTeX warning: pdflatex (file ./Carlito-BoldItalic.pfb): glyph `uni002E' undef >>> ined >>> pdfTeX warning: pdflatex (file ./Carlito-BoldItalic.pfb): glyph `uni0041' undef >>> ined >>> pdfTeX warning: pdflatex (file ./Carlito-BoldItalic.pfb): glyph `uni0043' undef >>> ined >>> >>> etc. >>> >>> The fonts are available here: >>> >>> http://www.ctan.org/tex-archive/fonts/carlito/truetype >>> >>> >>> Bob T. >>> >>> ------------------------------------------------------------------------------ >>> Slashdot TV. >>> Video for Nerds. Stuff that matters. >>> http://tv.slashdot.org/ >>> _______________________________________________ >>> fontforge-users mailing list >>> fon...@li... >>> https://lists.sourceforge.net/lists/listinfo/fontforge-users >>> http://fontforge.10959.n7.nabble.com/User-f8781.html >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/_______________________________________________ >> fontforge-users mailing list >> fon...@li... >> https://lists.sourceforge.net/lists/listinfo/fontforge-users >> http://fontforge.10959.n7.nabble.com/User-f8781.html > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/_______________________________________________ > fontforge-users mailing list > fon...@li... > https://lists.sourceforge.net/lists/listinfo/fontforge-users > http://fontforge.10959.n7.nabble.com/User-f8781.html |