* TYPE 1 font
@ 2010-11-11 8:16 Herbert Voss
2010-11-11 8:56 ` Hans Hagen
2010-11-11 11:10 ` Mojca Miklavec
0 siblings, 2 replies; 5+ messages in thread
From: Herbert Voss @ 2010-11-11 8:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
I have a pfb and tfm file of the DANTE font,
which has only the five characters D,A,N,T,E
However, this did not work
\definefont[dante][dante at 16pt]
\starttext
\dante DANTE
\stoptext
When I create a afm file from the dante.pfb then
everything is fine.
Does ConTeXt always needs an afm-file for the metrics of an
type 1 font? And, of course, a map file?
Herbert
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TYPE 1 font
2010-11-11 8:16 TYPE 1 font Herbert Voss
@ 2010-11-11 8:56 ` Hans Hagen
2010-11-11 11:10 ` Mojca Miklavec
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2010-11-11 8:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 11-11-2010 9:16, Herbert Voss wrote:
> I have a pfb and tfm file of the DANTE font,
> which has only the five characters D,A,N,T,E
> However, this did not work
>
> \definefont[dante][dante at 16pt]
> \starttext
> \dante DANTE
> \stoptext
>
> When I create a afm file from the dante.pfb then
> everything is fine.
>
> Does ConTeXt always needs an afm-file for the metrics of an
> type 1 font? And, of course, a map file?
yes, because in context it gets a unicode encoding (which also means
that you can access more than 256 characters if the font has them
no more encodings
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TYPE 1 font
2010-11-11 8:16 TYPE 1 font Herbert Voss
2010-11-11 8:56 ` Hans Hagen
@ 2010-11-11 11:10 ` Mojca Miklavec
2010-11-11 11:59 ` Herbert Voss
1 sibling, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2010-11-11 11:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
2010/11/11 Herbert Voss wrote:
> I have a pfb and tfm file of the DANTE font,
> which has only the five characters D,A,N,T,E
> However, this did not work
>
> \definefont[dante][dante at 16pt]
> \starttext
> \dante DANTE
> \stoptext
>
> When I create a afm file from the dante.pfb then
> everything is fine.
>
> Does ConTeXt always needs an afm-file for the metrics of an
> type 1 font? And, of course, a map file?
Shouldn't DANTE launch a pet project and convert the font to OpenType?
(That should be 10-60 minutes of work for somebody familiar with
fonts.)
But yes, as Hans replied, you need afm file. pdfTeX gets all the font
metric data from tfm files, while ConTeXt MKIV prefers to be able to
use more than 256 characters when they are available in Type1 font (it
doesn't need or read enc, map, vf and tfm files).
Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TYPE 1 font
2010-11-11 11:10 ` Mojca Miklavec
@ 2010-11-11 11:59 ` Herbert Voss
2010-11-11 12:03 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Herbert Voss @ 2010-11-11 11:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 11.11.2010 12:10, schrieb Mojca Miklavec:
> 2010/11/11 Herbert Voss wrote:
>> Does ConTeXt always needs an afm-file for the metrics of an
>> type 1 font? And, of course, a map file?
>
> Shouldn't DANTE launch a pet project and convert the font to OpenType?
> (That should be 10-60 minutes of work for somebody familiar with
> fonts.)
>
> But yes, as Hans replied, you need afm file. pdfTeX gets all the font
> metric data from tfm files, while ConTeXt MKIV prefers to be able to
> use more than 256 characters when they are available in Type1 font (it
> doesn't need or read enc, map, vf and tfm files).
thanks,
I converted it with fontforge to otf. Now I get
voss@shania:/opt/context> mtxrun --script fonts --list --all
--pattern=*dante*
dante dante DANTE.otf
dantenormal dante DANTE.otf
Is this the intended behaviour, that the afm files are now no
more listed? without the otf version the output is:
voss@shania:/opt/context> mtxrun --script fonts --list --all
--pattern=*dante*
dante dante dante.afm
dantenormal dante dante.afm
Herbert
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TYPE 1 font
2010-11-11 11:59 ` Herbert Voss
@ 2010-11-11 12:03 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2010-11-11 12:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 11-11-2010 12:59, Herbert Voss wrote:
> Am 11.11.2010 12:10, schrieb Mojca Miklavec:
>> 2010/11/11 Herbert Voss wrote:
>
>>> Does ConTeXt always needs an afm-file for the metrics of an
>>> type 1 font? And, of course, a map file?
>>
>> Shouldn't DANTE launch a pet project and convert the font to OpenType?
>> (That should be 10-60 minutes of work for somebody familiar with
>> fonts.)
>>
>> But yes, as Hans replied, you need afm file. pdfTeX gets all the font
>> metric data from tfm files, while ConTeXt MKIV prefers to be able to
>> use more than 256 characters when they are available in Type1 font (it
>> doesn't need or read enc, map, vf and tfm files).
>
> thanks,
> I converted it with fontforge to otf. Now I get
>
> voss@shania:/opt/context> mtxrun --script fonts --list --all
> --pattern=*dante*
>
> dante dante DANTE.otf
> dantenormal dante DANTE.otf
>
> Is this the intended behaviour, that the afm files are now no
> more listed? without the otf version the output is:
>
> voss@shania:/opt/context> mtxrun --script fonts --list --all
> --pattern=*dante*
>
> dante dante dante.afm
> dantenormal dante dante.afm
indeed, as the names are the same, otf takes precedence over type one
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-11 12:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 8:16 TYPE 1 font Herbert Voss
2010-11-11 8:56 ` Hans Hagen
2010-11-11 11:10 ` Mojca Miklavec
2010-11-11 11:59 ` Herbert Voss
2010-11-11 12:03 ` Hans Hagen
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).