Re: [NTG-context] Installing custom fonts?
Am 13.03.2009 um 15:51 schrieb Pierre Huyghebaert:
Hello List,
I'm also part of the design group Open Source Publishing (like Femke who ask about same entry to multiple registers a month ago). Our book is building, and it's now time to add our own custom open fonts. Quite new in the TeX field, and having traveled a bit through LaTex and Xetex, I couln't figure how to make it work. I guess that the TeX way of doing it is to write a map file, but maybe is it possible to avoid it, like with the Xetex shortcut?
Thanks for these superquick answers! What a lively list! @Wolfgang : You remember me that and it's helpful in many cases. But my font sit in the list... Any other idea? ... DejaVu Sans Mono:style=Bold Oblique Liberation Serif:style=Bold Italic InitiationRitualFont:style=Regular Bitstream Vera Sans:style=Oblique Linux Libertine:style=Bold ... @Mojca : (yes for sure, you're right that I need a backup! Job for the week-end) Oh yes, I've forgot the version... I've install ConTeXt two months ago, not sure how to check the version of it : ctxtools --version CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD And XeTeX 3.141592-0.996 (Web2C 7.5.6) kpathsea version 3.5.6 Copyright 2007 SIL International. Kpathsea is copyright 2007 Karl Berry and Olaf Weber. There is NO warranty. Redistribution of this software is covered by the terms of both the XeTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the XeTeX source. Primary author of XeTeX: Jonathan Kew. Kpathsea written by Karl Berry, Olaf Weber, and others. Compiled with ICU version 3.4 [with modifications for XeTeX] Compiled with zlib version 1.2.3.3; using 1.2.3.3 Compiled with FreeType2 version 2.3.5; using 2.3.5 Compiled with fontconfig version 2.4.2; using 2.4.2 Compiled with libpng version 1.2.15beta5; using 1.2.15beta5 Compiled with libpoppler version 3.00 As you differenciate the low-level font switching commands and the high-level one (like Xetex), is the low-level the one that needs to write a map file ("tree")? Sorry for that question which may seem *very* basic! Pierre
Am 13.03.2009 um 17:42 schrieb Pierre Huyghebaert:
Thanks for these superquick answers! What a lively list!
@Wolfgang : You remember me that and it's helpful in many cases. But my font sit in the list... Any other idea? ... DejaVu Sans Mono:style=Bold Oblique Liberation Serif:style=Bold Italic InitiationRitualFont:style=Regular
You tried \definetypeface[InitiationRitualFont][rm][Xserif] [InitiationRitualFont]?
As you differenciate the low-level font switching commands and the high-level one (like Xetex), is the low-level the one that needs to write a map file ("tree")? Sorry for that question which may seem *very* basic!
No, she means \font\initiation="InitiationRitualFont". Wolfgang
On Fri, Mar 13, 2009 at 17:47, Wolfgang Schuster wrote:
Am 13.03.2009 um 17:42 schrieb Pierre Huyghebaert:
Oh yes, I've forgot the version... I've install ConTeXt two months ago, not sure how to check the version of it :
ctxtools --version CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD
It's ctxtools --contextversion but it stopped working at some point (it doesn't work for me). I would say context --version but that one definitely doesn't work on your machine. Maybe the version string is written out when you compile a document, or you can take a look at .../tex/context/base/context.tex But that information is not really important now.
You tried \definetypeface[InitiationRitualFont][rm][Xserif][InitiationRitualFont]?
ConTeXt+XeTeX font support was completely broken at some point.
As you differenciate the low-level font switching commands and the high-level one (like Xetex), is the low-level the one that needs to write a map file ("tree")? Sorry for that question which may seem *very* basic!
No, she means \font\initiation="InitiationRitualFont".
Right. Well, maybe some other commands like \definefontsynonym[Serif][FontName] could work as well, but that depends a bit on how broken the ConTeXt version is. I also wanted to say that it might be interesting to try luatex, but one still needs to be prepared for surprizes. If MKII satisfies their needs, it would be most safe to keep a version that's compatible with both. Mojca
participants (3)
-
Mojca Miklavec
-
Pierre Huyghebaert
-
Wolfgang Schuster