[NTG-context] Error concerning "pdfmapline"; Fraktur font to use in ConTeXt lmtx

Hans Hagen j.hagen at xs4all.nl
Mon Apr 22 11:35:56 CEST 2019


On 4/22/2019 11:13 AM, Rudolf Bahr wrote:
> On Fri, Apr 19, 2019 at 09:22:03PM +0200, Bahr Rudolf wrote:
>> On Fri, Apr 19, 2019 at 09:19:24AM +0200, Hans Hagen wrote:
>>> On 4/18/2019 8:37 PM, Wolfgang Schuster wrote:
>>>
>>>> 2. Use a font in Truetype/Opentype format:
>>>> http://unifraktur.sourceforge.net/
>>> Which is actually a quite nice and even readable fraktur.
>>>
>>> Hans
>>
>>
>> Yes, perhaps. In the next days I will have a look at it. What do you mean with
>> "even readable"? Of course the font should be readable, not only to me.
>>
>> During the last days I tried "1. Use the Type1 version of the fonts: [1], proposed by
>> Wolfgang. There a pair of .afm and .pfb files is needed by "new" ConTeXt and I got
>> an "even unreadable" fraktur with plenty of errors. See appended "Fraktur-afm-pfb.pdf".
>>
>>
>> Now, in the meantime, I had also a look into your book [2]
>> There is to be read:
>>
>> "Most natural is to use OpenType or Type1 fonts. In the case of Type1 a matching pair
>> of afm and pfb files is needed. However, there can be situations where there is only
>> a tfm and pfb file (or not even that: just a bitmap file)."
>>
>> What do you mean with that? Will "new" ConTeXt be capable in mastering a situation with
>> "only a tfm and pfb file" as "old" ConTeXt did?
>> With "old" ConTeXt I had with "yfrak.mf, yfrak.pfb, yfrak.tfm", a wonderfull Fraktur,
>> without errors.
>>
>> Rudolf
>>
>> [1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts
>> [2] http://pragma-ade.com/general/manuals/fonts-mkiv.pdf, page 60, chapter 4.6
>>      ("Old fuzzy fonts")
> 
> 
> 
> 
> In the meantime I had a look at different Fraktur fonts. Both suggested fonts [1]
> and [2] were not acceptable to me for various reasons.
> 
> [1] has no gaps between words and many other errors. Horrible.

Afaiks that font is rather bugged indeed. I tried it, even made sure the 
space (which is unspecified in the afm) is set to some value but then it 
seems to use maybe some ligatures which are also unspecified. Old crap.

> [2] is far too fat to be printed in a book. The reason could be that the developers
> wanted to make a font suitable for internet presences where the resolution of screens
> is far below of that of printing machines. The good thing with [2] is that there is an
> extended and interesting set of orthography rules and their changes over various
> centuries beginning in 1600 up to today. But unfortunately the internet presence of [2]
> seems to be dead, the newest entry in member's forum I saw has been from beginning of
> 2017.

You can tweak it a bit:

\starttext

\definefontfeature[thinned-10][effect={width=-0.10,auto=yes}]

\definefont[ufa][unifrakturmaguntia*default]
\definefont[ufb][unifrakturmaguntia*default,thinned-10]

\ufa test\par
\ufb test\par

\stoptext

I'm a bit puzzled by the 'dead' remark. When a project is finished, 
should the author create bogus entries each year to make it look like 
something new is done?

> [3] I found the Leipzig-Fraktur-Font, a real Easter gift :-) It's comparable to Yannis
> Haralambous' nice fraktur font I used for years, but in ".otf"-format. It has the slim
> high "s" for use at the beginning of words and within words as well as the small round
> "s" at the end of syllabs and words. Ok, there seems to be no "!" (Instead I use "rm !")
> and the sharp "ß" I had to construct by "s\hskip-1pt z". But German umlauts can be printed,
> for instance 'ä' by '\"a', and different ligatures, for instance 'ch', 'st', 'tz', and
> others exist.
> So, most of my necessary conditions to a Fraktur font in ConTeXt-lmtx are fulfilled.
> As an example is appended "Leipzig-Fraktur-Example.pdf".

ok

> I thank Hans and Wolfgang for helping me.

Best make a wiki page for this (summrizing).

> [1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts
> [2] http://unifraktur.sourceforge.net/
> [3] https://www.chip.de/downloads/Leipzig-Fraktur-Font_36248614.html
Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list