[NTG-context] context and contextjit font handling
Pablo Rodriguez
oinos at gmx.es
Sat Jul 25 17:36:42 CEST 2015
On 07/25/2015 05:07 PM, juh wrote:
> Hi,
>
> I installed a new font, called UnifrakturMaguntia
> (http://unifraktur.sourceforge.net/)
>
> When I compile the following example with context the font is displayed
> in the pdf, with contextjit the font is not displayed.
Hi Jan Urlich,
I have compiled your sample with contextjit from latest beta (released
2015.07.24 13:58) and font is included.
I guess it should be something related to the font cache. Try:
mtxrunjit --script fonts --reload
BTW, I would add "\mainlanguage[deo]" to improve the hyphenation.
I hope it helps,
Pablo
> \startbuffer[demo]
> <p>Wenn ich aber die reiche Fuͤlle ſeiner Äuße¬<lb/>
> rungen bedenke, die waͤhrend eines Zeitraumes von<lb/>
> neun Jahren mich begluͤckten, und nun das We¬<lb/>
> nige betrachte, das mir davon ſchriftlich
> aufzufaſſen<lb/>
> gelungen iſt, ſo komme ich mir vor wie ein Kind,<lb/>
> das den erquicklichen Fruͤhlingsregen in offenen<lb/>
> Haͤnden aufzufangen bemuͤht iſt, dem aber das<lb/>
> Meiſte durch die Finger laͤuft.</p>
> \stopbuffer
>
> \startxmlsetups xml:initialize
> \xmlsetsetup{#1}{p|lb}{xml:*}
> \stopxmlsetups
>
> \xmlregistersetup{xml:initialize}
>
> \startxmlsetups xml:lb
> \stopxmlsetups
>
> \startxmlsetups xml:p
> \par
> \cldcontext{string.gsub([[\xmlflush{#1}]], "¬", "\\nospace")}
> \par
> \stopxmlsetups
>
> \definefontfamily
> [mainface]
> [rm]
> [UnifrakturMaguntia]
>
> \setupbodyfont
> [mainface, 16pt]
>
> \starttext
> \xmlprocessbuffer{main}{demo}{}
> \stoptext
--
http://www.ousia.tk
More information about the ntg-context
mailing list