Date: Mon, 5 Nov 2001 20:00:01 -0500
Subject: MacOSX-TeX Digest #145 - 11/05/01
From: "TeX on Mac OS X Mailing List" 
To: "TeX on Mac OS X Mailing List" 
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
Sender: 
Precedence: Bulk
List-Software: LetterRip Pro 3.0.7 by Fog City Software, Inc.
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 

MacOSX-TeX Digest #145 - Monday, November 5, 2001

  Re: [Mac OS X TeX] Font question
          by "Serge COHEN" 
  Re: [Mac OS X TeX] Font question
          by "Michel Bovani" 
  Re: [Mac OS X TeX] Font question
          by "Gerben Wierda" 
  Re: [Mac OS X TeX] TeXShop Crashing the Window Server
          by "Ullrich Steiner" 
  Re: [Mac OS X TeX] TeXShop Crashing the Window Server
          by "Gerben Wierda" 
  Re: [Mac OS X TeX] Font question
          by "Troy Goodson" 
  teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "Troy Goodson" 
  Re: [Mac OS X TeX] Font question
          by "William Adams" 
  Re: [Mac OS X TeX] TeXShop Crashing the Window Server
          by "Ullrich Steiner" 
  Re: [Mac OS X TeX] small dots disappear in Quartz
          by "Troy Goodson" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "Gerben Wierda" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "William Adams" 


----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] Font question
From: "Serge COHEN" 
Date: Mon, 5 Nov 2001 10:08:31 +0100

>Dear all,
>
>I have now found a receipe to install ps1 fonts to LaTeX. They are
>talking about *.pfb files. Am I right, that these files are simply the
>ps1 fonts in the fonts folder of MacOS? I downloaded a font from ITC and
>they include the .afm and the ps1 file, so I thought that this ps1 file
>is the .pfb file others are talking about. Do I get this file extension
>on UNIX and Windows?
>
>I am not sure, because I can vi those *.pfb in the teTeX distribution
>and the ps1 fonts out of my fonts folder of MacOS I can not edit with vi.
>
>
>Thanks,
>
>Regards
>
>Cyrill
>
>
..pfb fonts are binary files containing the Type 1 PS fonts. You can also
have a .pfa file which contain the same information in ascii format.

If you have a font file for Mac OS classic, this contains the PS
description of the font, but it is not in the proper format for the =
printer
(at least as far as I know). In Classic env. the font files contains the =
PS
description in the ressources fork. If you want to generate the .pfa file
for this font you can use a program which can generate the PS (or EPS) =
file
which contain the font.

What I did was to use Illustrator 9. When you save as AI9 format, you can
ask that all used font are COMPLETLY inserted in the file (not only used
charaters). Then you use a text editor to get the font description from
this file:
Usualy this is the part from :
You have the name of the fonts somewhere in this segment.

%!FontType1

To

cleartomark

You use this part for each font to create a .pfa file you will place
properly in the tree...

Hope that's clear.

Serge Cohen.



----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] Font question
From: "Michel Bovani" 
Date: Mon, 5 Nov 2001 11:03:25 +0100

Le 4/11/01 =E0 23:44 +0100 Cyrill R=FCttimann a =E9crit :
>Dear all,
>
>I have now found a receipe to install ps1 fonts to LaTeX=2E They are=20
>talking about *=2Epfb files=2E Am I right, that these files are simply=20
>the ps1 fonts in the fonts folder of MacOS? I downloaded a font from=20
>ITC and they include the =2Eafm and the ps1 file, so I thought that=20
>this ps1 file is the =2Epfb file others are talking about=2E Do I get=20
>this file extension on UNIX and Windows?
>
>I am not sure, because I can vi those *=2Epfb in the teTeX=20
>distribution and the ps1 fonts out of my fonts folder of MacOS I can=20
>not edit with vi=2E

Mac ps1 fonts (like in the font folder) and unix/win =2Epfb fonts=20
contains the same information, but in case of mac fonts this=20
information stays in the resource fork of the file=2E what you say is=20
that vi is not able to open the resource fork=2E=2E=2E tetex needs fonts in=
=20
pfb format (not mac format)=2E

In CMacTeX, there is a t1utils bianry that converts a mac font into pfb form=
at=2E
One says me that by zipping the mac font on a mac, and unzipping it=20
on win/unix, you can obtain the font in pfb format=2E=2E=2E (I never test=20
it)=2E

If you want to use your font with tex, you have to build the tfm file=20
anyway=2E=2E=2E (fontinst do it from the afm file, you may also use=20
afmtotfm, but it is more tricky)=2E


--=20
Michel Bovani

----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] Font question
From: "Gerben Wierda" 
Date: Mon, 5 Nov 2001 12:05:18 +0100

On Monday, November 5, 2001, at 11:03 , Michel Bovani wrote:

> Mac ps1 fonts (like in the font folder) and unix/win .pfb fonts 
> contains the same information, but in case of mac fonts this 
> information stays in the resource fork of the file. what you say is 
> that vi is not able to open the resource fork...

Unless you run Mac OS X on UFS. In that case, the resource forks are 
represented as normal files. Where the file name is foo, the resource 
fork is ._foo. That file is accesible on UFS.

What you could try is this:
	create a dmg
	format it as UFS and mount it
	copy the fonts over (using the Finder)
	then access the resource forks

G


----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] TeXShop Crashing the Window Server
From: "Ullrich Steiner" 
Date: Mon, 5 Nov 2001 14:11:31 +0100

Concerning the discussion on the bug in MacOS X that causes problems=20
with the pdf rendering.  Apple released an update for developers : =20
10.1.1 (build 5M13) that fixes a number of bugs.  I haven't tested it=20
thoroughly, but I did download Cyrill R=FCttimar's files.  They display =
on=20
my machine running 10.1.1 with no problems.

Regards,

Ulli

On Saturday, November 3, 2001, at 11:25 , Cyrill R=FCttimann wrote:

> *This message was transferred with a trial version of CommuniGate(tm)=20=

> Pro*
>
> On Samstag, November 3, 2001, at 02:56  Uhr, Richard Koch wrote:
>
> Hi Richard,
>
>
>>
>> 	a) A short example, either a tex pdf file which contains an
>> 	illustration, or just a pdf illustration, which crashes the
>> 	system when viewed by TeXShop, Preview, etc.
>
> I have included a tar.gz with a short example.
>>
>> 	b) A description of exactly how the illustration was
>> 	created.
>
> The illustration logo.pdf was generated using Illustrator 9 --> Save =
as=20
> Adobe Illustrator PDF. Source was logo.eps created by Illustrator 9.
>
> The other illustrations included in the document where translated by=20=

> epstopdf. The source files *.eps where created by Illustrator 9.
>
> As you can see, the first page only with the logo.pdf do not crash the=20=

> system. But if you go forward to the other illustrations, the system=20=

> crashes.
>
> I use pdflatex to produce the pdf's
>
>
> Regards,
>
> Cyrill
>
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to  with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to  with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
>
>

--------------------------------------
Ullrich Steiner
Department of Polymer Chemistry
University of Groningen
Nijenborgh 4
NL-9747AG Groningen
The Netherlands

Tel:    +31-50-363-7888
Fax:    +31-50-363-4400
e-mail: mailto:u.steiner@chem.rug.nl
www:    http://www.chem.rug.nl/steiner
--------------------------------------


----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] TeXShop Crashing the Window Server
From: "Gerben Wierda" 
Date: Mon, 5 Nov 2001 15:17:59 +0100

On Monday, November 5, 2001, at 02:11 , Ullrich Steiner wrote:

> Concerning the discussion on the bug in MacOS X that causes problems=20=

> with the pdf rendering.  Apple released an update for developers : =20
> 10.1.1 (build 5M13) that fixes a number of bugs.  I haven't tested it=20=

> thoroughly, but I did download Cyrill R=FCttimar's files.  They =
display=20
> on my machine running 10.1.1 with no problems.


That is good news. Did you test the files at=20
ftp://ftp.nluug.nl/pub/comp/macosx?

The .gz files are window server crashers. The doublefont-fail displays=20=

differently on Acrobat and Preview.

G


----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] Font question
From: "Troy Goodson" 
Date: Mon, 5 Nov 2001 06:34:38 -0800

At 12:05 PM +0100 11/5/01, Gerben Wierda wrote:
>On Monday, November 5, 2001, at 11:03 , Michel Bovani wrote:
>
>>Mac ps1 fonts (like in the font folder) and unix/win .pfb fonts 
>>contains the same information, but in case of mac fonts this 
>>information stays in the resource fork of the file. what you say is 
>>that vi is not able to open the resource fork...
>
>Unless you run Mac OS X on UFS. In that case, the resource forks are 
>represented as normal files. Where the file name is foo, the 
>resource fork is ._foo. That file is accesible on UFS.
>
You can also get to the resource fork via the terminal by

cp myfile/rsrc myfile.rsrc

-- 
Troy_Goodson@iname.com -+- http://surf.to/tdg/

----------------------------------------------------------------------

Subject: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "Troy Goodson" 
Date: Mon, 5 Nov 2001 06:36:56 -0800

At 11:03 AM +0100 11/5/01, Michel Bovani wrote:
>Mac ps1 fonts (like in the font folder) and unix/win .pfb fonts 
>contains the same information, but in case of mac fonts this 
>information stays in the resource fork of the file. what you say is 
>that vi is not able to open the resource fork... tetex needs fonts 
>in pfb format (not mac format).

Why not simply put support for Mac fonts into teTeX?  If all the 
information is in the file, wouldn't it be better if teTeX itself 
knew what to do with it?

Troy.

----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] Font question
From: "William Adams" 
Date: Mon, 05 Nov 2001 08:43:19 -0500

The canonical tool for doing Mac -> something usable font conversion is
``unadobe''

There're lots of other options though (I use a combination of Ares
FontHopper (not sold since Adobe bought out Ares :( ) and the new
``TransType'' (commercial) from www.pyrusna.com / www.fontlab.com

The thorniest problem here is font encoding (this causes for instance
the missing ligatures &c.) and then of building a set of .tfms and a
dvips.map file which matches the font in the state one has it.

FontInst is the canonical tool for doing this, and is listed at
www.tug.org

I did a presentation (after a fashion) on this for TUG 2001, and
uncovered a wealth of documentation in the process of doing it. Most of
this is in FontInst-Prerelease, and I heartily recommend one read _all_
of it, especially Tako Hoekwater's presentation for EuroTeX.

The basic conceptual steps are as follows:

 - convert font from resource to data fork (unadobe, forkswitcher,
TTConverter, TT FontConvert, TransType)
 - re-encode font if necessary (this can be deferred to the dvips.map
font entry if desired, but most font editors can do this too)
 - get / generate .afms which match the font encoding (ideally they're
included with the font, or one might be able to d/l them, else pfb2afm,
or a font editor)
 - name the fonts according to the FontName specification (I'm taking
over as maintainer for this if I can just find the time.... in the
meanwhile, it's on CTAN)
 - feed the .afms to FontInst (optional step, create a customized set of
FontInst instructions, or a .etx file which matches one's especial
needs) via
\input fontinst.sty \latinfamily {[jx]} \bye

or some such (uncertain organic memory there)
 - run the resultant .pl (property list) and .vpl (virtual property
list) files through pltotfm and vpltovf to get .tfm and .vf files.
There's also a .fd file for LaTeX which you'll need to stow properly.
 - copy those to the appropriate directories (you'll need to make some
of them if you're using a TDS-compliant-TeX)
 - regenerate the fontname database.

William

(who does _not_ want to hear about the wonders of LY1 ``real'', not
virtual fonts, but who will be returning to make a post 'bout how this
sort of thing works in NeXTstep or TeX/GX, and maybe ought to work in
TeXShop)

--
William Adams, publishing specialist
ATLIS Graphics & Design / 717-731-6707 voice / 717-731-6708 fax
Sphinx of black quartz, judge my vow.
http://www.atlis.com



----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] TeXShop Crashing the Window Server
From: "Ullrich Steiner" 
Date: Mon, 5 Nov 2001 17:54:47 +0100

The window crash file cause no problems in 10.1.1.  They render in an=20
identical fashion using the Preview or TeXShop application and the=20
Acrobat Reader.  Unfortunately, the doublefonttest-fail.pdf shows only=20=

the "R" symbol, when rendered by TexShop.

Ulli


On Monday, November 5, 2001, at 03:17 , Gerben Wierda wrote:

> On Monday, November 5, 2001, at 02:11 , Ullrich Steiner wrote:
>
>> Concerning the discussion on the bug in MacOS X that causes problems=20=

>> with the pdf rendering.  Apple released an update for developers : =20=

>> 10.1.1 (build 5M13) that fixes a number of bugs.  I haven't tested it=20=

>> thoroughly, but I did download Cyrill R=FCttimar's files.  They =
display=20
>> on my machine running 10.1.1 with no problems.
>
>
> That is good news. Did you test the files at=20
> ftp://ftp.nluug.nl/pub/comp/macosx?
>
> The .gz files are window server crashers. The doublefont-fail displays=20=

> differently on Acrobat and Preview.
>
> G
>
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to  with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to  with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
>
>

--------------------------------------
Ullrich Steiner
Department of Polymer Chemistry
University of Groningen
Nijenborgh 4
NL-9747AG Groningen
The Netherlands

Tel:    +31-50-363-7888
Fax:    +31-50-363-4400
e-mail: mailto:u.steiner@chem.rug.nl
www:    http://www.chem.rug.nl/steiner
--------------------------------------


----------------------------------------------------------------------

Subject: Re: [Mac OS X TeX] small dots disappear in Quartz
From: "Troy Goodson" 
Date: Mon, 5 Nov 2001 09:26:40 -0800

At 2:02 PM -0700 11/3/01, Dave McCollum wrote:
>Is it really a bug that one app displays things differently from another?

The bug is that the dots disappear.  You see, the dots overlap and 
form a "big blue blob" on the plot.  In reality, when you step back 
from such an image (physically reducing the scale), the big blue blob 
is still visible.  In Quartz, as you reduce the scale, the blob 
disappears.  I blob should not disappear.  I've pointed out Acrobat 
5's behavior because it is an example of "the right way to do it".

Troy.

----------------------------------------------------------------------

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "Gerben Wierda" 
Date: Mon, 5 Nov 2001 20:01:41 +0100

On Monday, November 5, 2001, at 03:36 , Troy Goodson wrote:

> Why not simply put support for Mac fonts into teTeX?  If all the 
> information is in the file, wouldn't it be better if teTeX itself knew 
> what to do with it?

I agree, this ia a better solution, also copyright-wise. If someone 
knowws how this can be done, I would be happy to make it part of my 
distribution.

G


----------------------------------------------------------------------

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "William Adams" 
Date: Mon, 05 Nov 2001 13:09:08 -0500

> On Monday, November 5, 2001, at 03:36 , Troy Goodson wrote:
>
> > Why not simply put support for Mac fonts into teTeX?  If all the
> > information is in the file, wouldn't it be better if teTeX itself knew
> > what to do with it?
>

Gerben then replied:

> I agree, this ia a better solution, also copyright-wise. If someone
> knowws how this can be done, I would be happy to make it part of my
> distribution.
>

I can merely point to instances where this sort of thing has been done
in the past---notably Textures and TeX/GX.

Also, NeXTstep's TeXView.app was integrated sufficiently to
automagically make use of Type 1 fonts installed in the system---but
this seems to be broken with the more recent versions working with teTeX
(AFAICT trying to get it installed over the weekend---spent a _lot_ of
time waiting for METAFONT to generate .pk bitmaps even though I had the
nice Blue Sky Research Type 1's (from the spiffy .pkgs) installed in the
NeXTstep system in /LocalLibrary/Fonts). I'd be glad of any information
anyone has on how to get this working---also TeXView.app's TeX eq -> eps
Service---that needs a ``epsf'' printer for DVIPS?

William


--
William Adams, publishing specialist
ATLIS Graphics & Design / 717-731-6707 voice / 717-731-6708 fax
Sphinx of black quartz, judge my vow.
http://www.atlis.com



----------------------------------------------------------------------
End of MacOSX-TeX Digest

-----------------------------------------------------------------
To UNSUBSCRIBE, send email to  with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to  with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------