Bug 692103 - add fallback case when glyphs are too large to be rendered normally
Summary: add fallback case when glyphs are too large to be rendered normally
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P4 enhancement
Assignee: Tor Andersson
URL:
Keywords:
: 692201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-28 18:25 UTC by Pedro Rivera
Modified: 2012-07-20 11:23 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***