ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font file size
Date: Mon, 13 Aug 2007 10:08:51 +0200	[thread overview]
Message-ID: <46C01193.5070807@wxs.nl> (raw)
In-Reply-To: <20070813024233.62e8b6e5@muj_linux>

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
___________________________________________________________________________________


  parent reply	other threads:[~2007-08-13  8:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13  0:42 zs
2007-08-13  5:49 ` luigi scarso
2007-08-13  8:14   ` zs
2007-08-13  8:08 ` Hans Hagen [this message]
2007-08-13  9:43   ` zs
2007-08-13  9:39     ` Hans Hagen
2007-08-13  9:57       ` zs
2007-08-13 11:07         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46C01193.5070807@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).