Bug 692103

Summary: add fallback case when glyphs are too large to be rendered normally
Product: MuPDF Reporter: Pedro Rivera <pedro.rivera.651>
Component: mupdfAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED FIXED    
Severity: enhancement CC: below
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---

Description Pedro Rivera 2011-03-28 18:25:12 UTC
When rendering pages at large zoom levels I get warning messages as follows:

  warning: font size too large (1152), not rendering glyph
  warning: ... repeated 12 times ...
  warning: font size too large (2880), not rendering glyph
  warning: ... repeated 4 times ...
  ...
  ...

In this case I was rendering at a zoom level of 48f and 64f. Is there some setting that can adjusted to cure this? I tried the same thing with SumatraPdf and the same problem exists at large zoom levels. 

Thanks,

Pedro
Comment 1 Tor Andersson 2011-03-28 23:08:57 UTC
At the top of draw/glyphcache.c are a few constants.
MAXFONTSIZE is the one you want to adjust. The other two
just affect whether a glyph will be cached or not.
Comment 2 Tor Andersson 2012-07-20 11:22:52 UTC
FIxed in commit 4091b7a357728aed033216baafed540b795bcf9e
Author: Tor Andersson <tor.andersson@artifex.com>
Date:   Tue Jul 17 18:05:05 2012 +0200

    Handle glyphs that are too large to render as pixmaps.
Comment 3 Tor Andersson 2012-07-20 11:23:35 UTC
*** Bug 692201 has been marked as a duplicate of this bug. ***