Re: [Therion] Change default PDF output font
On Tue, Sep 5, 2023 at 3:17 PM Wookey wrote: > On 2023-09-05 23:15 +1200, Paul Rowe wrote: > >This will be really handy as our Māori alphabet includes accented > >characters unavailable in the default non-Unicode set. > > Maybe the default therion font should be set to a unicode one so it > works for more people/languages/countries? That seems sensible at this > point. Pretty-much everyone should have unicode fonts avaiable and > working, shouldn't they? > We would need to ship such a font with therion to ensure that the default font is found. But the real issue is that using TTF or OTF fonts is much slower, as therion converts them on the fly to a set of PFB fonts (each font containing at most 256 characters) because MetaPost can't use unicode fonts. Martin ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Change default PDF output font
On 2023-09-05 23:15 +1200, Paul Rowe wrote: >This will be really handy as our Māori alphabet includes accented >characters unavailable in the default non-Unicode set. Maybe the default therion font should be set to a unicode one so it works for more people/languages/countries? That seems sensible at this point. Pretty-much everyone should have unicode fonts avaiable and working, shouldn't they? Wookey -- Principal hats: Debian, Wookware, ARM http://wookware.org/ signature.asc Description: PGP signature ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Change default PDF output font
Thanks Martin, I have that working. I'm on Windows, where it seems slightly more tricky as Windows only displays the font names, not the individual style specific font files. If anyone else gets stuck with that, the Font Name > Font File mappings can be viewed through Regedit: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts\ This will be really handy as our Māori alphabet includes accented characters unavailable in the default non-Unicode set. Cheers, Paul Cheers, Paul On Tue, 5 Sept 2023 at 06:18, Martin Budaj wrote: > Hi, > > to change the font family, use the "pdf-fonts" setting in the ini file > (see the thbook, page 89). The easiest way to change the default style of > all texts to e.g. italics, just use the same italic font five times in the > "pdf-fonts" specification. > > Martin > > > On Wed, Aug 2, 2023 at 2:09 AM Paul Rowe > wrote: > >> Is there a way to override the default output font through 'code tex-map'? >> >> I can see there are ConTeXt macros to change basic styles (e.g. serif >> font = \rm) but can't find any examples of how that is used to change the >> default font style for the whole PDF map output. I ideally want to change >> the font family as well. >> >> Thanks, >> Paul Rowe >> ___ >> Therion mailing list >> Therion@speleo.sk >> https://mailman.speleo.sk/listinfo/therion >> > ___ > Therion mailing list > Therion@speleo.sk > https://mailman.speleo.sk/listinfo/therion > ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Change default PDF output font
Hi, to change the font family, use the "pdf-fonts" setting in the ini file (see the thbook, page 89). The easiest way to change the default style of all texts to e.g. italics, just use the same italic font five times in the "pdf-fonts" specification. Martin On Wed, Aug 2, 2023 at 2:09 AM Paul Rowe wrote: > Is there a way to override the default output font through 'code tex-map'? > > I can see there are ConTeXt macros to change basic styles (e.g. serif font > = \rm) but can't find any examples of how that is used to change the > default font style for the whole PDF map output. I ideally want to change > the font family as well. > > Thanks, > Paul Rowe > ___ > Therion mailing list > Therion@speleo.sk > https://mailman.speleo.sk/listinfo/therion > ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion