Difference between revisions of "Fraktur fonts"

From Wiki
Jump to navigation Jump to search
m
m
Line 23: Line 23:
  
 
'''Leipzig Fraktur [3]:''' Web page is in German. Peter Wiegel made this font for the same reasons as with "Mainzer Fraktur". The formats OT, T1, TT of the font are all together better found at another address [3a].
 
'''Leipzig Fraktur [3]:''' Web page is in German. Peter Wiegel made this font for the same reasons as with "Mainzer Fraktur". The formats OT, T1, TT of the font are all together better found at another address [3a].
This web page is in German too and admittedly the advertising makes it even more complicated to find the right download button. Because words with accents on letters normally weren't typeset in Fraktur, but in Antiqua, á, à, ó, ò, ú, ù, the $-Symbol and others were free to designate ligatures and the round s. I found it easier to define correspondend macros (See further down). At least FAQs in English can be found in [3b] after the German ones. The author points to a program (Not examined by me, for MS operating systems only) to facilitate inputting Fraktur text automatically with the right ligatures in [3c].
+
This web page is in German too and admittedly the advertising makes it even more complicated to find the right download button. Because words with accents on letters normally weren't typeset in Fraktur, but in Antiqua, á, à, ó, ò, ú, ù, the $-Symbol and others were free to designate ligatures and the round s. Me however, I found it easier to define correspondend macros (See further down). At least FAQs in English can be found in [3b] after the German ones. The author points to a program (Not examined by me, for MS operating systems only) to facilitate inputting Fraktur text automatically with the right ligatures in [3c].
 
----
 
----
  
Line 62: Line 62:
 
4. Providing an example of ConTeXt commands for yfrak:
 
4. Providing an example of ConTeXt commands for yfrak:
 
   More extensive examples of font defining you can see in [4] (Willi Egger)
 
   More extensive examples of font defining you can see in [4] (Willi Egger)
 +
</pre>
  
 +
<pre>
 
   \definefont [XIVyfrak] [name:yfrakregular at 14pt] [.75]
 
   \definefont [XIVyfrak] [name:yfrakregular at 14pt] [.75]
  
Line 73: Line 75:
 
   \def\tz  {\char 323 }    %    "    tz
 
   \def\tz  {\char 323 }    %    "    tz
 
   \def\ae  {\char 321 }    % umlaut    ä
 
   \def\ae  {\char 321 }    % umlaut    ä
 +
</pre>
  
 +
<pre>
 
   \starttext
 
   \starttext
  
Line 160: Line 164:
 
   More extensive examples of font defining you can see in [4] (Willi Egger).  
 
   More extensive examples of font defining you can see in [4] (Willi Egger).  
 
   Both following examples should be comparable to 12pt:
 
   Both following examples should be comparable to 12pt:
 +
</pre>
  
 +
<pre>
 
   \definefontfeature[thinned-10][effect={width=-0.10,auto=yes}]
 
   \definefontfeature[thinned-10][effect={width=-0.10,auto=yes}]
 
   \definefont[ufa][unifrakturmaguntia18*default]
 
   \definefont[ufa][unifrakturmaguntia18*default]
Line 178: Line 184:
 
   \def\st{\char  64261 }    %    "    st
 
   \def\st{\char  64261 }    %    "    st
 
</pre>
 
</pre>
 +
 +
<pre>
 +
\starttext
 +
 +
\ufa
 +
\glqq Ein Hundert Ba\tz en mein Gebot,\\
 +
\q Falls du die Kun\st\ be\s i\tz e\st;\\
 +
Do\ch, merk' es dir, di\ch\ \st e\ch' i\ch\ todt,\\
 +
\q So du die Haut mir ri\tz e\st.\grqq\\
 +
Und der Ge\s ell: \glqq Den Teufel auch!\\
 +
Das i\s t des Landes ni\ch t der Brau\ch.\grqq\\
 +
\q Er läu\ft\ und \s\ch i\ck t den Jungen.
 +
 +
\stoptext
 +
</pre>
 +
 +
<pre>
 +
After having done so, the same text will be "tweaked" by "\ufb".
 +
Compare the two prints. The result is here: [[File:wiki-yfrak.pdf]]
 +
See [5], the 6th verse.
 +
</pre>
 +
 +
----
 +
 +
 +
'''Leipzig Fraktur'''
  
  

Revision as of 06:10, 10 May 2019



Not ready yet!

Introduction

This Wiki-Page deals with summarizing experiences of three Fraktur fonts available on:

                    [1]    https://www.ctan.org/tex-archive/fonts/ps-type1/yfonts
                    [2]    http://unifraktur.sourceforge.net/maguntia.html 
                    [3]    http://www.peter-wiegel.de/Leipzig.html

Yfrak [1]: Fraktur font originally made by Yannis Haralambos in TeX font format.

UnifrakturMaguntia [2]: You shall see both a German and an English language flag. The font is based on Peter Wiegel’s font "Berthold Mainzer Fraktur" [2a]. For main differences see in [2] the chapter "About the Font". There you shall find links to manuals too (with General Rules for Typesetting Fraktur) by Gerrit Ansmann, written in antiqua as well as in fraktur. Interesting is a set of orthography rules and their changes over various centuries beginning in the 16th up to today. A user forum used to exist, but recently it doesn't seem possible to register as new user. But one can read elder entries. "Maguntia" is derived from "Mogontiacum" which was the original celtic influenced name of a Roman camp of legions where today is the city of Mainz (Wikipedia).

Leipzig Fraktur [3]: Web page is in German. Peter Wiegel made this font for the same reasons as with "Mainzer Fraktur". The formats OT, T1, TT of the font are all together better found at another address [3a]. This web page is in German too and admittedly the advertising makes it even more complicated to find the right download button. Because words with accents on letters normally weren't typeset in Fraktur, but in Antiqua, á, à, ó, ò, ú, ù, the $-Symbol and others were free to designate ligatures and the round s. Me however, I found it easier to define correspondend macros (See further down). At least FAQs in English can be found in [3b] after the German ones. The author points to a program (Not examined by me, for MS operating systems only) to facilitate inputting Fraktur text automatically with the right ligatures in [3c].



Download, installing and using Fraktur fonts

Yfrak [1]:

1. Download yfrak.afm and install it under your ConTeXt tree ".../tex/texmf-local/".

2. Run following programs:

   mtxrun --generate
   mtxrun --script fonts --reload
   mtxrun --script fonts --list --all --pattern=yfrak*

   With the last command you should get following output:

   identifier     familyname   fontname       filename    subfont   instances

   yfrak          yfrak        yfrakregular   yfrak.afm
   yfraknormal    yfrak        yfrakregular   yfrak.afm
   yfrakregular   yfrak        yfrakregular   yfrak.afm
3. You can see the provided ligatures of the font "yfrak" by the following commands, 
   but pay attention, their index numbers are hexadecimal:

   starttext
   \usemodule [fnt-10]
   \ShowCompleteFont{name:yfrak}{14pt}{1}
   \stoptext
4. Providing an example of ConTeXt commands for yfrak:
   More extensive examples of font defining you can see in [4] (Willi Egger)
   \definefont [XIVyfrak] [name:yfrakregular at 14pt] [.75]

   \def\q{\hbox{}\hskip12pt } % indentation of some example text lines
   \def\glqq {\char  92 }     % " (down)
   \def\grqq {\char  34 }     % " (up)
   \def\s    {\char 330 }     % the round s
   \def\ch   {\char 282 }     % ligature  ch
   \def\ck   {\char 280 }     %     "     ck
   \def\tz   {\char 323 }     %     "     tz
   \def\ae   {\char 321 }     % umlaut    ä
   \starttext

   \XIVyfrak
   \glqq Ein Hundert Ba\tz en mein Gebot,
   \q Fall\s\ Du die Kunst besi\tz est;
   Doch, merk' e\s\ dir, di\ch\ stech' ich todt,
   \q So du die Haut mir ri\tz est.\grqq
   Und der Gesell: \glqq Den Teufel auch!
   Da\s\ ist de\s\ Lande\s\ nicht der Brauch.\grqq
   \q Er l\ae uft und schi\ck t den Jungen.

   \stoptext
   The result is here: [[File:wiki-yfrak.pdf]]
   See [5], the 6th verse.


UnifrakturMaguntia [2]:

1. Download UnifrakturMaguntia (UnifrakturMaguntia.2017-03-19.zip) and unzip it. You will get  
   "UnifrakturMaguntia.2017-03-19/" with its content:

   Dokumentation_de_antiqua.pdf
   Dokumentation_de_fraktur.pdf
   Dokumentation_en_antiqua.pdf
   Dokumentation_en_fraktur.pdf
   FontLog.txt
   OFL-FAQ.txt
   OFL.txt
   sources/
   switched-on_features/
   UnifrakturMaguntia.ttf
   The content of "switched-on_features/" contains UnifrakturMaguntia fonts from 16th to 21th century:

   README.pdf
   UnifrakturMaguntia16.ttf
   UnifrakturMaguntia17.ttf
   UnifrakturMaguntia18.ttf
   UnifrakturMaguntia19.ttf
   UnifrakturMaguntia20.ttf
   UnifrakturMaguntia21.ttf

   You could take all of them into your ConTeXt tree ".../tex/texmf-local/", but we will here restrict to 
   "UnifrakturMaguntia18.ttf".
2. Run following programs:

   mtxrun --generate
   mtxrun --script fonts --reload
   mtxrun --script fonts --list --all --pattern=unifrakturmaguntia18*

   With the last command you should get following output:

   identifier                   familyname             fontname               filename                   subfont   instances

   unifrakturmaguntia18         unifrakturmaguntia18   unifrakturmaguntia18   UnifrakturMaguntia18.ttf
   unifrakturmaguntia18book     unifrakturmaguntia18   unifrakturmaguntia18   UnifrakturMaguntia18.ttf
   unifrakturmaguntia18normal   unifrakturmaguntia18   unifrakturmaguntia18   UnifrakturMaguntia18.ttf
3. You can see the provided ligatures of the font by the following commands,
   but pay attention, their index numbers are hexadecimal:

   starttext
   \usemodule [fnt-10]
   \ShowCompleteFont{name:unifrakturmaguntia18}{12pt}{1}
   \stoptext
4. Providing two examples of ConTeXt commands for unifrakturmaguntia18.
   Because this font at 14pt is rather big and fat compared to the other ones (yfrak, leipzig), 
   we treat it how Hans Hagen suggested to "tweak" it a bit in the second example (\ufb).
   More extensive examples of font defining you can see in [4] (Willi Egger). 
   Both following examples should be comparable to 12pt:
   \definefontfeature[thinned-10][effect={width=-0.10,auto=yes}]
   \definefont[ufa][unifrakturmaguntia18*default]
   \definefont[ufb][unifrakturmaguntia18*default,thinned-10]

   \def\q{\hbox{}\hskip12pt } % indentation of some of the verse text lines
   \def\glqq{\char 8222 }     % " down
   \def\grqq{\char 8220 }     % " up

   \def\s {\char    383 }     % tall s
   \def\ch{\char  57403 }     % ligature ch
   \def\ck{\char  57404 }     %     "    ck
   \def\tz{\char  57406 }     %     "    tz
   \def\ff{\char  57407 }     %     "    ff
   \def\fl{\char    242 }     %     "    fl
   \def\ft{\char  57417 }     %     "    ft
   \def\st{\char  64261 }     %     "    st
\starttext

\ufa
\glqq Ein Hundert Ba\tz en mein Gebot,\\
\q Falls du die Kun\st\ be\s i\tz e\st;\\
Do\ch, merk' es dir, di\ch\ \st e\ch' i\ch\ todt,\\
\q So du die Haut mir ri\tz e\st.\grqq\\
Und der Ge\s ell: \glqq Den Teufel auch!\\
Das i\s t des Landes ni\ch t der Brau\ch.\grqq\\
\q Er läu\ft\ und \s\ch i\ck t den Jungen.

\stoptext
After having done so, the same text will be "tweaked" by "\ufb". 
Compare the two prints. The result is here: [[File:wiki-yfrak.pdf]]
See [5], the 6th verse.


Leipzig Fraktur


References

[1]    https://www.ctan.org/tex-archive/fonts/ps-type1/yfonts (Torsten Bronger, Yannis Haralambos)
[2]    http://unifraktur.sourceforge.net/maguntia.html
[2a]   http://www.peter-wiegel.de/MainzerFraktur.html
[3]    http://www.peter-wiegel.de/Leipzig.html
[3a]   https://www.chip.de/downloads/Leipzig-Fraktur-Font_36248614.html
[3b]   http://www.peter-wiegel.de/index.html
[3c]   http://www.ligafaktur.de
[4]    https://meeting.contextgarden.net/2018/talks/willi-unifraktur/presentation-unifraktur.pdf (Willi Egger)
[5]    [[Media:wiki-Der-rechte-Barbier.png]]   (Adelbert von Chamisso: "Der rechte Barbier", Verlag des 
       Bibliographischen Instituts, Leipzig