Herbert Schulz | 2 Mar 2012 02:03
Picon

Re: simpdftex can't find font, but pdflatex can


On Mar 1, 2012, at 6:54 PM, Nathan Sanders wrote:

> Thanks for the reply, Herbert!
> 
> On Mar 1, 2012, at 5:52 PM, Herbert Schulz wrote:
> 
>> It appears that you've installed the TengwarQuenya ttf version of the font but not the pbv version (if
that even exists). As far as I know latex->dvips->ps2pdf (i.e., simpdftex) can't use ttf fonts while
pdflatex can use them.
> 
> The pfb files exist (in /usr/local/texlive/texmf-local/fonts/type1/local/).  So what do I need to do to
make them visible to simpdftex?
> 
> More generally, how can I make sure that the appropriate font files are visible when I'm using simpdftex
and when I'm using pdflatex?
> 
> Nathan
> 

Howdy,

Did you run

sudo texhash

(or --- sudo mktexlsr) after installing them? Is there more than one map file? Is there some option for the
tengwarquenya package that set up for dvips rather than pdflatex? I have no familiarity with that package
and I can't find it on CTAN.

(Continue reading)

Nathan Sanders | 2 Mar 2012 02:25
Picon

Re: simpdftex can't find font, but pdflatex can


On Mar 1, 2012, at 8:03 PM, Herbert Schulz wrote:

> 
> On Mar 1, 2012, at 6:54 PM, Nathan Sanders wrote:
> 
>> Thanks for the reply, Herbert!
>> 
>> On Mar 1, 2012, at 5:52 PM, Herbert Schulz wrote:
>> 
>>> It appears that you've installed the TengwarQuenya ttf version of the font but not the pbv version (if
that even exists). As far as I know latex->dvips->ps2pdf (i.e., simpdftex) can't use ttf fonts while
pdflatex can use them.
>> 
>> The pfb files exist (in /usr/local/texlive/texmf-local/fonts/type1/local/).  So what do I need to do
to make them visible to simpdftex?
>> 
>> More generally, how can I make sure that the appropriate font files are visible when I'm using simpdftex
and when I'm using pdflatex?
> 
> Howdy,
> 
> Did you run
> 
> sudo texhash
> 
> (or --- sudo mktexlsr) after installing them?

Yes.  As I said, this font worked fine last year.  The very same document that gave me problems this week was
working fine last year at this time (it's a handout for a repeat class).
(Continue reading)

Herbert Schulz | 2 Mar 2012 02:32
Picon

Re: simpdftex can't find font, but pdflatex can


On Mar 1, 2012, at 7:25 PM, Nathan Sanders wrote:

> 
> Ah, no, there is no option, but the documentation does say that I can edit the map file, replacing .tff with
.pfb.  So, I just did that, and then texhash and updmap-sys.... but I still get the same error
(/usr/texbin/dvips: ! Couldn't find header file: TengwarQuenya.ttf).  How do I get the psfonts.map
updated correctly?  It has a scary warning at the top not to edit it manually!  :-)
> 
> Thanks, we're much closer than I got by myself!
> 
> Nathan
> 

Howdy,

You may have to disable the map and then re-enable the map for the changes to take place.

The only way I can understand that it worked ``last year'' is that there was a map file with the pfb's in the
older distribution that happened to get read before your ttf map. Even that is rather far-fetched.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
(Continue reading)

Nathan Sanders | 2 Mar 2012 02:45
Picon

Re: simpdftex can't find font, but pdflatex can


On Mar 1, 2012, at 8:32 PM, Herbert Schulz wrote:

> 
> On Mar 1, 2012, at 7:25 PM, Nathan Sanders wrote:
> 
>> 
>> Ah, no, there is no option, but the documentation does say that I can edit the map file, replacing .tff with
.pfb.  So, I just did that, and then texhash and updmap-sys.... but I still get the same error
(/usr/texbin/dvips: ! Couldn't find header file: TengwarQuenya.ttf).  How do I get the psfonts.map
updated correctly?  It has a scary warning at the top not to edit it manually!  :-)
>> 
>> Thanks, we're much closer than I got by myself!
> 
> You may have to disable the map and then re-enable the map for the changes to take place.

Aha, okay, that changed things.  The new error is:

/usr/texbin/dvips: ! Couldn't find font file TengwarQuenya.pfb

And lo and behold, it doesn't exist.  The pfb files I do have are: QUENCAP1.PFB, QUENCAP2.PFB, QUENYA.PFB, QUENYAA.PFB

I have a hunch it's not as simple as renaming one of these to TengwarQuenya.pfb!

The documentation says I can use ttf2pl to generate pfb files, but that's not on my system.  It says I can use
fontforge, which I'll try.

In the meantime, if any of you know the best way to generate the files I need, pointers would be appreciated!

> The only way I can understand that it worked ``last year'' is that there was a map file with the pfb's in the
(Continue reading)

Peter Dyballa | 2 Mar 2012 10:57
Picon

Re: simpdftex can't find font, but pdflatex can


Am 2.3.2012 um 02:45 schrieb Nathan Sanders:

> The documentation says I can use ttf2pl to generate pfb files, but that's not on my system.  It says I can use
fontforge, which I'll try.

(You probably mean ttf2pt1..., or the shell script ttf2type1...) Another utility is available:
ttftotype42. This converts TTF to PostScript, by using a wrapper. I've read that dvips can use PostScript
Type 42 fonts. So you could create your own MAP file fragment, best saved in the
/usr/local/texlive/texmf-local tree, using these wrapped-in font files.

So disable the unnecessary MAP file fragments related to Tengwar, make your MAP file fragment in
/usr/local/texlive/texmf-local known (maketexlsr/texhash, you could additionally invoke 'sudo
updmap-sys --syncwithtrees'), enable you MAP file fragment – and run simpdftex again.

--
Greetings

  Pete

Hard Disk, n.:
	A device that allows users to delete vast quantities of data with simple mnemonic commands.

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
(Continue reading)


Gmane