Bug 17521 - Fonts in PDF
Summary: Fonts in PDF
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.5
Hardware: PC All
: P3 blocker
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 09:51 UTC by Gordon Drego
Modified: 2012-04-01 06:36 UTC (History)
1 user (show)



Attachments
Testcase (5.06 KB, text/xml)
2003-02-28 15:40 UTC, Jeremias Maerki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Drego 2003-02-28 09:51:32 UTC
I am creating a standard template, the metrix of which are:

Page height: 9 inches
Page width: 6 inches
Margin top: 4 picas
Margin bottom: 6 picas
Left margin: 4 picas
Right margin: 4 picas

If the font height is 10 pts and line height is 12 pts, the number of lines 
that must be rendered on a single page are 44 (according to standard 
calculation). However, the below mentioned font families generate different 
number of line:

Times (Adobe font) generates 47 lines
Helvetica (Adobe font) generates 39 lines
Garamond (true Type font converted using FOP font converter) generates 39 lines

I would really appreciate if someone could suggest as to where the problem lies 
and what could be the possible solution(s).
Comment 1 Jeremias Maerki 2003-02-28 15:40:16 UTC
Created attachment 5088 [details]
Testcase
Comment 2 Jeremias Maerki 2003-02-28 15:43:35 UTC
Confirmed. I have attached a testcase for further investigations. Interesting 
thing is that it works as expected in the redesign (44 lines). :-)
Comment 3 Patrick Dean Rusk 2003-02-28 17:19:15 UTC
The understanding of what "12pt" means that is implied by the bug report is 
incorrect.  12pt fonts do not all occupy the same amount of vertical space 
when their leading is factored in.  You can play around with 12pt fonts in 
Microsoft Word, for instance, to see this easily.

More to the point, any college students out there who have played with 
margins, fonts, and line spacing trying to get an essay to be the proper 
length know that Adobe's Times font is the bane of papers that are too short.  
It uses considerably less vertical space than Palatino, Garamond, Helvetica, 
etc.  Microsoft's Times New Roman and Arial occupy the same vertical space, 
but Adobe's Times and Helvetica never have.
Comment 4 Pascal Sancho 2007-10-23 08:01:30 UTC
Bug fixed in latest Trunk (rev 584703), and probably in FOP 0.94 and earlier
0.9x versions
Comment 5 Glenn Adams 2012-04-01 06:36:32 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed