ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Installing Type 1 fonts into ConTeXt
@ 2008-01-11 18:58 Pascal de Bruijn
  2008-01-11 19:25 ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Pascal de Bruijn @ 2008-01-11 18:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1306 bytes --]

Hi,

I'm trying to install Type 1 fonts into ConTeXt, I'm using texfont, and all
but one font properly generate:

Good:
\starttyping
\definefontsynonym[Humanist777BT-BoldB][texnansi-hum777b][encoding=texnansi]
\definefontsynonym[Humanist777BT-BoldItalicB][texnansi-hum777bi][encoding=texnansi]
\definefontsynonym[Humanist777BT-ItalicB][texnansi-hum777i][encoding=texnansi]
\definefontsynonym[Humanist777BT-RomanB][texnansi-hum777n][encoding=texnansi]
\stoptyping

Bad:
\starttyping
\definefontsynonym[][texnansi-zhu601bi][encoding=texnansi]
\definefontsynonym[ZapfHumanist601BT-Bold][texnansi-zhum601b][encoding=texnansi]
\definefontsynonym[ZapfHumanist601BT-Italic][texnansi-zhum601i][encoding=texnansi]
\definefontsynonym[ZapfHumanist601BT-Roman][texnansi-zhum601n][encoding=texnansi]
\stoptyping
(Complete file attached)

Does anybody have a clue why the first define went sour? Which tool is used
to extract the metadata from the .pfb files?

Also, I'm currently installing in ~/texmf, however, say I'd want to make
these fonts available system-wide, what would be the correct place to move
them?

And texfont creates a series of .tex files (containing the above text), what
is the properly location to put them? I don't want to copy these files into
each project directory.

Regards,
Pascal de Bruijn

[-- Attachment #1.2: Type: text/html, Size: 1419 bytes --]

[-- Attachment #2: texnansi-bitstream-zapfhumanist601.tex --]
[-- Type: application/x-tex, Size: 1383 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installing Type 1 fonts into ConTeXt
  2008-01-11 18:58 Installing Type 1 fonts into ConTeXt Pascal de Bruijn
@ 2008-01-11 19:25 ` Taco Hoekwater
  2008-01-11 19:38   ` Pascal de Bruijn
  0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2008-01-11 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Pascal de Bruijn wrote:
> 
> Does anybody have a clue why the first define went sour? Which tool is used
> to extract the metadata from the .pfb files?

Looks like a typing error in the pfb rename of  0018a___.pfb: it should
be named zhum601bi.pfb (note the 'm').

Best wishes,
Taco
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installing Type 1 fonts into ConTeXt
  2008-01-11 19:25 ` Taco Hoekwater
@ 2008-01-11 19:38   ` Pascal de Bruijn
  2008-01-11 19:50     ` Taco Hoekwater
  2008-01-11 20:17     ` Idris Samawi Hamid
  0 siblings, 2 replies; 6+ messages in thread
From: Pascal de Bruijn @ 2008-01-11 19:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 550 bytes --]

On Jan 11, 2008 8:25 PM, Taco Hoekwater <taco@elvenkind.com> wrote:

> Pascal de Bruijn wrote:
> >
> > Does anybody have a clue why the first define went sour? Which tool is
> used
> > to extract the metadata from the .pfb files?
>
> Looks like a typing error in the pfb rename of  0018a___.pfb: it should
> be named zhum601bi.pfb (note the 'm').


Is renaming required?  I got the fonts from a CorelDRAW cdrom. I used the
files as is.

Anyway other font collections also have deviating filenames, and they work
just fine.

Regards,
Pascal de Bruijn

[-- Attachment #1.2: Type: text/html, Size: 861 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installing Type 1 fonts into ConTeXt
  2008-01-11 19:38   ` Pascal de Bruijn
@ 2008-01-11 19:50     ` Taco Hoekwater
  2008-01-11 20:17     ` Idris Samawi Hamid
  1 sibling, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2008-01-11 19:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Pascal de Bruijn wrote:
> On Jan 11, 2008 8:25 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
> 
>> Pascal de Bruijn wrote:
>>> Does anybody have a clue why the first define went sour? Which tool is
>> used
>>> to extract the metadata from the .pfb files?
>> Looks like a typing error in the pfb rename of  0018a___.pfb: it should
>> be named zhum601bi.pfb (note the 'm').
> 
> Is renaming required?  I got the fonts from a CorelDRAW cdrom. I used the
> files as is.

In that case, I don't know what is wrong either, sorry.

Best wishes,
Taco
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installing Type 1 fonts into ConTeXt
  2008-01-11 19:38   ` Pascal de Bruijn
  2008-01-11 19:50     ` Taco Hoekwater
@ 2008-01-11 20:17     ` Idris Samawi Hamid
  2008-01-11 22:22       ` Pascal de Bruijn
  1 sibling, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid @ 2008-01-11 20:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Pascal,

On Fri, 11 Jan 2008 12:38:00 -0700, Pascal de Bruijn  
<pmjdebruijn@gmail.com> wrote:

> On Jan 11, 2008 8:25 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
>
>> Pascal de Bruijn wrote:
>> >
>> > Does anybody have a clue why the first define went sour? Which tool is
>> used
>> > to extract the metadata from the .pfb files?
>>
>> Looks like a typing error in the pfb rename of  0018a___.pfb: it should
>> be named zhum601bi.pfb (note the 'm').
>
>
> Is renaming required?  I got the fonts from a CorelDRAW cdrom. I used the
> files as is.
>
> Anyway other font collections also have deviating filenames, and they  
> work
> just fine.

In my experience, you have to get the coordination between pfb and tfm  
exactly right. Things are case sensitive etc... I'm sure there's just a  
typo or mismatch somewhere

>>> Also, I'm currently installing in ~/texmf, however, say I'd want to  
>>> makethese fonts available system-wide, what would be the correct place  
>>> to movethem?

Better to put them in texmf-local or, even better, texmf-project (may have  
to edit setuptex.bat in that case). I NEVER install anything in texmf if I  
can help it.

See also the MyWay I wrote on this topic, maybe something in there will  
help.

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installing Type 1 fonts into ConTeXt
  2008-01-11 20:17     ` Idris Samawi Hamid
@ 2008-01-11 22:22       ` Pascal de Bruijn
  0 siblings, 0 replies; 6+ messages in thread
From: Pascal de Bruijn @ 2008-01-11 22:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1609 bytes --]

On Jan 11, 2008 9:17 PM, Idris Samawi Hamid <ishamid@colostate.edu> wrote:

> Hi Pascal,
>
> On Fri, 11 Jan 2008 12:38:00 -0700, Pascal de Bruijn
> <pmjdebruijn@gmail.com> wrote:
>
> > On Jan 11, 2008 8:25 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
> >
> >> Pascal de Bruijn wrote:
> >> >
> >> > Does anybody have a clue why the first define went sour? Which tool
> is
> >> used
> >> > to extract the metadata from the .pfb files?
> >>
> >> Looks like a typing error in the pfb rename of  0018a___.pfb: it should
> >> be named zhum601bi.pfb (note the 'm').
> >
> >
> > Is renaming required?  I got the fonts from a CorelDRAW cdrom. I used
> the
> > files as is.
> >
> > Anyway other font collections also have deviating filenames, and they
> > work
> > just fine.
>
> In my experience, you have to get the coordination between pfb and tfm
> exactly right. Things are case sensitive etc... I'm sure there's just a
> typo or mismatch somewhere


I renamed all the fonts according to:
http://www.tug.org/fontname/html/Bitstream-fonts.html#Bitstream-fonts

I did this using a script, so there very little chance of error.

>>> Also, I'm currently installing in ~/texmf, however, say I'd want to
> >>> makethese fonts available system-wide, what would be the correct place
> >>> to movethem?
>
> Better to put them in texmf-local or, even better, texmf-project (may have
> to edit setuptex.bat in that case). I NEVER install anything in texmf if I
> can help it.
>
> See also the MyWay I wrote on this topic, maybe something in there will
> help.
>

I'll take a look at it tomorrow.

Regards,
Pascal de Bruijn

[-- Attachment #1.2: Type: text/html, Size: 2474 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-11 22:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-11 18:58 Installing Type 1 fonts into ConTeXt Pascal de Bruijn
2008-01-11 19:25 ` Taco Hoekwater
2008-01-11 19:38   ` Pascal de Bruijn
2008-01-11 19:50     ` Taco Hoekwater
2008-01-11 20:17     ` Idris Samawi Hamid
2008-01-11 22:22       ` Pascal de Bruijn

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).