* XeTex & Mara Font
@ 2008-11-18 18:45 Bart C. Wise
2008-11-18 18:54 ` Arthur Reutenauer
0 siblings, 1 reply; 10+ messages in thread
From: Bart C. Wise @ 2008-11-18 18:45 UTC (permalink / raw)
To: Context Mailing List
I am currently trying to get the mara font loaded into XeTeX. Here's some
information about the font (via fontforge):
file: marafont.ttf
Fontname: MaraFontNFPlain:
Family Name: MaraFontNF Plain:
(yes, the colons are in the name)
I've tried a couple of ways, using both the fontname and the family name, both
with and without the ending semi-colons; however, it fails at compile time.
Here's some sample code:
\definetypeface[Mara][rm][Xserif][MaraFontNF Plain]
\starttext
\startfont[Mara]
This is a test.
\stoptext
Here's the relevant output from the log file, which looks very similar to the
output of a font that works:
! Font \**\thedefinedfont**:=Mara at 12.0pt not loadable: Metric (TFM) file or
installed font not found.
<to be read again>
\relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
\let
\localrelativefontsiz...
\redodefinefont #1#2#3->\dododefinefont {#1}{#2}
\doifsetupselse {#3}
{\setup...
\dodefinedfont ...ring \thedefinedfont \endcsname
\the \everydefinedfont
l.7 \startfont[Mara]
?
! Emergency stop.
<to be read again>
\relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
\let
\localrelativefontsiz...
\redodefinefont #1#2#3->\dododefinefont {#1}{#2}
\doifsetupselse {#3}
{\setup...
\dodefinedfont ...ring \thedefinedfont \endcsname
\the \everydefinedfont
l.7 \startfont[Mara]
End of file on the terminal!
How do I get the font loaded?
Thanks,
Bart
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 18:45 XeTex & Mara Font Bart C. Wise
@ 2008-11-18 18:54 ` Arthur Reutenauer
2008-11-18 19:03 ` Bart C. Wise
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Arthur Reutenauer @ 2008-11-18 18:54 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> I've tried a couple of ways, using both the fontname and the family name, both
> with and without the ending semi-colons; however, it fails at compile time.
Have you tried prepending "name:" to the font name, like I explained
yesterday?
Arthur
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 18:54 ` Arthur Reutenauer
@ 2008-11-18 19:03 ` Bart C. Wise
2008-11-18 19:25 ` Bart C. Wise
2008-11-18 19:31 ` Bart C. Wise
2 siblings, 0 replies; 10+ messages in thread
From: Bart C. Wise @ 2008-11-18 19:03 UTC (permalink / raw)
To: ntg-context
I tried prepending "name" and it didn't work. I also tried "file:marafont",
but that didn't work either. Your code yesterday was great and I have not
tried to plug in the mara font into a typescript. There are some fonts that I
just want to put in one section of the text without having to write a
typescript. That's why I used the \definetypeface and \startfont routines. I
just don't know what I'm doing wrong.
Bart
On Tuesday 18 November 2008 11:54:49 am Arthur Reutenauer wrote:
> > I've tried a couple of ways, using both the fontname and the family name,
> > both with and without the ending semi-colons; however, it fails at
> > compile time.
>
> Have you tried prepending "name:" to the font name, like I explained
> yesterday?
>
> Arthur
> ___________________________________________________________________________
>________ 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
> ___________________________________________________________________________
>________
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 18:54 ` Arthur Reutenauer
2008-11-18 19:03 ` Bart C. Wise
@ 2008-11-18 19:25 ` Bart C. Wise
2008-11-18 19:31 ` Bart C. Wise
2 siblings, 0 replies; 10+ messages in thread
From: Bart C. Wise @ 2008-11-18 19:25 UTC (permalink / raw)
To: ntg-context
I also tried plugging it into the typescript (not what I want), but that
didn't work either. I tried both the "name:" and the "file:" options.
Still lost,
Bart
On Tuesday 18 November 2008 11:54:49 am Arthur Reutenauer wrote:
> > I've tried a couple of ways, using both the fontname and the family name,
> > both with and without the ending semi-colons; however, it fails at
> > compile time.
>
> Have you tried prepending "name:" to the font name, like I explained
> yesterday?
>
> Arthur
> ___________________________________________________________________________
>________ 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
> ___________________________________________________________________________
>________
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 18:54 ` Arthur Reutenauer
2008-11-18 19:03 ` Bart C. Wise
2008-11-18 19:25 ` Bart C. Wise
@ 2008-11-18 19:31 ` Bart C. Wise
2008-11-18 20:13 ` Arthur Reutenauer
2 siblings, 1 reply; 10+ messages in thread
From: Bart C. Wise @ 2008-11-18 19:31 UTC (permalink / raw)
To: ntg-context
One thing of possible interest is that when I load the font in fontforge, I
get the following warning:
Bad Font Name
The Postscript font name "MaraFontNF Plain:" is invalid. It should be
printable ASCII, must not contain (){}[]<>%/ or space and must be shorter than
63 characters.
Is the colon at the end of the name a problem?
The font does work on other program on my system.
Bart
On Tuesday 18 November 2008 11:54:49 am Arthur Reutenauer wrote:
> > I've tried a couple of ways, using both the fontname and the family name,
> > both with and without the ending semi-colons; however, it fails at
> > compile time.
>
> Have you tried prepending "name:" to the font name, like I explained
> yesterday?
>
> Arthur
> ___________________________________________________________________________
>________ 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
> ___________________________________________________________________________
>________
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 19:31 ` Bart C. Wise
@ 2008-11-18 20:13 ` Arthur Reutenauer
2008-11-18 20:26 ` Bart C. Wise
0 siblings, 1 reply; 10+ messages in thread
From: Arthur Reutenauer @ 2008-11-18 20:13 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> Is the colon at the end of the name a problem?
No, the message says the problem is with the space character, but it
is of little concern here (XeTeX doesn't use PostScript font names at
all).
Is it the font from http://www.perry.com/disney/indy/marafont.html?
It seems to have quite a number of other problems actually (xdvipdfmx
protests heavily when I try loading it with plain XeTeX). You could try
saving it again from FontForge, and installing that modified font (you
of course need to uninstall the original one from your system, or more
problems will likely happen). While doing so, you can of course modify
whatever seems suspicious (like the trailing colon, etc.).
Arthur
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 20:13 ` Arthur Reutenauer
@ 2008-11-18 20:26 ` Bart C. Wise
2008-11-18 22:00 ` Arthur Reutenauer
0 siblings, 1 reply; 10+ messages in thread
From: Bart C. Wise @ 2008-11-18 20:26 UTC (permalink / raw)
To: ntg-context
That seems to work. I just renamed the fontname and family (removing the
colon), generated a new ttf and loaded that into the system.
So this works:
\definetypeface[MaraFontNFPlain][rm][Xserif][MaraFontNFPlain]
\starttext
\startfont[MaraFontNFPlain]
This is a test.
\stoptext
And yes, the url is correct as far as where I got the font from. And yes,
there were other errors (or warnings) when I generated the font; however, it
does work.
One quick question (again expressing my ignorance). Why can't I take the code
above and change it to the following:
\definetypeface[Mara][rm][Xserif][MaraFontNFPlain]
\starttext
\startfont[Mara]
This is a test.
\stoptext
Thanks,
Bart
On Tuesday 18 November 2008 01:13:02 pm Arthur Reutenauer wrote:
> > Is the colon at the end of the name a problem?
>
> No, the message says the problem is with the space character, but it
> is of little concern here (XeTeX doesn't use PostScript font names at
> all).
>
> Is it the font from http://www.perry.com/disney/indy/marafont.html?
> It seems to have quite a number of other problems actually (xdvipdfmx
> protests heavily when I try loading it with plain XeTeX). You could try
> saving it again from FontForge, and installing that modified font (you
> of course need to uninstall the original one from your system, or more
> problems will likely happen). While doing so, you can of course modify
> whatever seems suspicious (like the trailing colon, etc.).
>
> Arthur
> ___________________________________________________________________________
>________ 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
> ___________________________________________________________________________
>________
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 20:26 ` Bart C. Wise
@ 2008-11-18 22:00 ` Arthur Reutenauer
2008-11-18 22:28 ` Wolfgang Schuster
0 siblings, 1 reply; 10+ messages in thread
From: Arthur Reutenauer @ 2008-11-18 22:00 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> One quick question (again expressing my ignorance). Why can't I take the code
> above and change it to the following:
>
> \definetypeface[Mara][rm][Xserif][MaraFontNFPlain]
> \starttext
> \startfont[Mara]
> This is a test.
> \stoptext
I have no idea ... Does it really not work?
Arthur
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 22:00 ` Arthur Reutenauer
@ 2008-11-18 22:28 ` Wolfgang Schuster
2008-11-18 22:56 ` Bart C. Wise
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2008-11-18 22:28 UTC (permalink / raw)
To: Mailing list for ConTeXt users
Am 18.11.2008 um 23:00 schrieb Arthur Reutenauer:
>> One quick question (again expressing my ignorance). Why can't I
>> take the code
>> above and change it to the following:
>>
>> \definetypeface[Mara][rm][Xserif][MaraFontNFPlain]
>> \starttext
>> \startfont[Mara]
>> This is a test.
>> \stoptext
>
> I have no idea ... Does it really not work?
\definefontsynonym[Mara][name:MaraFontNFPlain]
\starttext
\startfont[Mara]
This is a test.
\stopfont
\stoptext
Wolfgang
___________________________________________________________________________________
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] 10+ messages in thread
* Re: XeTex & Mara Font
2008-11-18 22:28 ` Wolfgang Schuster
@ 2008-11-18 22:56 ` Bart C. Wise
0 siblings, 0 replies; 10+ messages in thread
From: Bart C. Wise @ 2008-11-18 22:56 UTC (permalink / raw)
To: ntg-context
Wolfgang,
This one does work.
Thanks again,
Bart
On Tuesday 18 November 2008 03:28:45 pm Wolfgang Schuster wrote:
> Am 18.11.2008 um 23:00 schrieb Arthur Reutenauer:
> >> One quick question (again expressing my ignorance). Why can't I
> >> take the code
> >> above and change it to the following:
> >>
> >> \definetypeface[Mara][rm][Xserif][MaraFontNFPlain]
> >> \starttext
> >> \startfont[Mara]
> >> This is a test.
> >> \stoptext
> >
> > I have no idea ... Does it really not work?
>
> \definefontsynonym[Mara][name:MaraFontNFPlain]
> \starttext
> \startfont[Mara]
> This is a test.
> \stopfont
> \stoptext
>
> Wolfgang
>
> ___________________________________________________________________________
>________ 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
> ___________________________________________________________________________
>________
___________________________________________________________________________________
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] 10+ messages in thread
end of thread, other threads:[~2008-11-18 22:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-18 18:45 XeTex & Mara Font Bart C. Wise
2008-11-18 18:54 ` Arthur Reutenauer
2008-11-18 19:03 ` Bart C. Wise
2008-11-18 19:25 ` Bart C. Wise
2008-11-18 19:31 ` Bart C. Wise
2008-11-18 20:13 ` Arthur Reutenauer
2008-11-18 20:26 ` Bart C. Wise
2008-11-18 22:00 ` Arthur Reutenauer
2008-11-18 22:28 ` Wolfgang Schuster
2008-11-18 22:56 ` Bart C. Wise
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).