ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Stefan Müller" <warrence.stm@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: (RSFS) font installation
Date: Thu, 17 Mar 2011 17:53:58 +0100	[thread overview]
Message-ID: <4D823CA6.6060404@gmx.de> (raw)
In-Reply-To: <AANLkTinV-6oFXb5gMZyuzWD0e5Y-tsLpbM++EvxtSPfy@mail.gmail.com>



On 17.03.2011 16:04, mathew wrote:
> On Thu, Mar 17, 2011 at 04:05, Stefan Müller<warrence.stm@gmx.de>  wrote:
>> I'm using Windows Vista 64bit and installed the rsfs font by right-clicking
>> the .pfm files. I thought I had to use the .pfb files, but Windows did not
>> recognize those and didn't show "Install" in the context menu. After
>> installing the .pfm files I could find them in "C:\Windows\Fonts".
>
> .pfb is "Printer Font, Binary".
> .pfa is "Printer Font, ASCII".
> .pfm is Printer Font Metrics, binary.
> .afm is Adobe Font Metrics, ASCII.
>
> Typically each font will have a set of outlines in a pfb or pfa file,
> and a set of metrics in a pfm or afm file. For Windows, you want the
> pfb and pfm files.
>
>> Is this a typo and do you mean .pfm file? Otherwise I don't get it. Should I
>> just copy the .pfb files to "C:\Windows\Fonts", too? Did something went
>> wrong with installation?
>
> On Windows 7, the OS will identify only the .pfm file as the actual
> font. However, when you install the font by opening it and clicking
> the "Install" button, Windows invisibly locates the matching .pfb file
> from the same directory, and copies them both to the C:\Windows\Fonts
> directory.
>
> It then hides the separate files from you. However, you can open the
> command line prompt and cd to \windows\fonts and use dir to see them.

Yeah, I just figured that out. I love that about Windows...

>> fonts           | names | identifying system font files with suffix otf
>> fonts           | names | adding path from OSFONTDIR: c:/windows/fonts
>> fonts           | names | adding path from fontconfig file: c:/windows/fonts
>>
>> in the output, so I guess OSFONTDIR is correct (where would I change it,
>> anyway?) as "c:/windows/fonts" is considered.
>
> Yes, looks like it's correct.
>
> You'd change it by setting an environment variable.
> http://www.itechtalk.com/thread3595.html

Yes, I thought so. I just asked, because I couldn't find an environment 
variable with that name. Even after "setuptex.bat" typing "echo 
%OSFONTDIR%" did only print "%OSFONTDIR%" and not a list of paths, as I 
expected.

>> Here mtxrun tries to identify
>> fonts with a number of "suffixes". It only consideres otf, ttf, ttc, dfont
>> and afm (and caps versions). Shouldn't there be pfm or pfb as well?
>
> On Linux, it seems to scan for .afm files, as that's what Linux
> expects and installs in preference to pfm. I'd expect the Windows
> version to scan for .pfm, but I've never run any kind of TeX under
> Windows.
>
> To be honest, I did have problems getting LuaTeX and XeTeX to
> recognize the PostScript fonts installed with GhostScript, so I
> eventually removed them from my font path. My general conclusion is
> that life is a lot, lot simpler if you throw away all your Type 1
> fonts and replace them with OpenType versions. (I used fontforge to
> convert the few that I really wanted to keep.)
>
> Also, if you can find out what TeX is looking for, there are tools to
> convert between pfb and pfa, and between afm and pfm.
>
>
> mathew
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2011-03-17 16:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 14:00 Stefan Müller
2011-03-16 15:58 ` mathew
2011-03-17  9:05   ` Stefan Müller
2011-03-17 12:40     ` Ulrike Fischer
2011-03-17 13:41       ` Stefan Müller
2011-03-17 16:12         ` Otared Kavian
2011-03-17 16:53           ` Stefan Müller
2011-03-17 15:04     ` mathew
2011-03-17 16:53       ` Stefan Müller [this message]
2011-03-18  2:42         ` mathew
2011-03-18  3:27           ` Khaled Hosny
2011-03-18 10:04             ` Hans Hagen
2011-03-18 14:40               ` mathew
2011-03-18 14:51                 ` Hans Hagen
2011-03-18 16:01                   ` mathew
2011-03-18 18:30                     ` Hans Hagen
     [not found]                       ` <AANLkTinWPdN-H6TPNato9PG7Fh0PzvfS0PkHXehzbt6J@mail.gmail.com>
2011-03-22 16:08                         ` mathew
2011-03-22 16:55                           ` Taco Hoekwater
2011-03-18 11:26           ` Stefan Müller
2011-03-18 11:39             ` Hans Hagen
2011-03-18 14:47               ` Stefan Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D823CA6.6060404@gmx.de \
    --to=warrence.stm@gmx.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).