[poppler] Limiting font size

Leonard Rosenthol leonardr at pdfsages.com
Thu Jul 27 06:38:16 PDT 2006


At 05:11 PM 7/26/2006, Albert Astals Cid wrote:
>In pdf found at http://bugs.kde.org/show_bug.cgi?id=127512 there is 
>a pdf that
>in page 2 requests this sizes for fonts

         Are you sure about this?


>The solution is limiting the font size we want to let the user draw. Some
>people suggested me limiting to the size of the allowed font to something in
>the range [size in points, page size in points * 10]

         You had better factor scaling/zoom into this as well, since 
as you zoom in the font size will increase as well.


LDR

---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:leonardr at pdfsages.com>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)



More information about the poppler mailing list