zs wrote:
> Hi all,
> 
> while getting context/luatex to work, I experiment with fonts.
> 
> I play with DejaVu fonts. I found that when I use DejaVuSerif.ttf I get
> what I want, but when I use DejaVuSans.ttf context produces nothing.
> It seems to process document without any error message and gives no
> pdf.
> 
> I made some investigation and I guess it has something to do with file
> size of the font (DejaVuSerif.ttf-242KB, DejaVuSans.ttf-557KB).
> Result is the same for fonts from collection with similar size.
> Conversions with fontforge do not help.
> 
> 
> Is there any limit for size of font?
> Any other possible reason why?

% engine=luatex

\def\testfont#1%
   {\blank
    \hbox \bgroup
      {\tttf#1:}
      {\tttf      \font\test=#1*default   \test effe fietsen 1234}
      {\tttf (sc) \font\test=#1*smallcaps \test effe fietsen 1234}
      {\tttf (os) \font\test=#1*oldstyle  \test effe fietsen 1234}
    \egroup
    \blank}


\starttext

% \testfont{dejavusans}
% \testfont{dejavusansboldoblique}
% \testfont{dejavusanscondensed}
% \testfont{dejavusanscondensedboldoblique}
% \testfont{dejavusanscondensedoblique}
% \testfont{dejavusansextralight}
% \testfont{dejavusansmono}
% \testfont{dejavusansmonobold}
% \testfont{dejavusansmonoboldoblique}
% \testfont{dejavusansmonooblique}
% \testfont{dejavusansoblique}
\testfont{dejavuserif}
% \testfont{dejavuserifbolditalic}
\testfont{dejavuserifcondensed}
% \testfont{dejavuserifcondensedbolditalic}
% \testfont{dejavuserifcondenseditalic}
% \testfont{dejavuserifitalic}

\stoptext

only a few fonts seem to be okay, some crash luatex, some are not loaded

Hans





-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to