0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00

ps/pdf doc: default to 10-point font, wider leading

Switch the main font to 10 points Times Roman, but leave the leading
at 11 points.  This produces, in my opinion, a much more legible and
printable document.
This commit is contained in:
H. Peter Anvin
2008-06-11 18:09:02 -07:00
parent fe2c362e3f
commit fac516d1e5

View File

@@ -17,30 +17,30 @@ require 'metrics/phvbo8a.ph'; # Helvetica-BoldOblique
# The order is: <normal> <emphatic> <code> # The order is: <normal> <emphatic> <code>
%TitlFont = (name => 'tfont', %TitlFont = (name => 'tfont',
leading => 20, leading => 22,
fonts => [[20,\%PS_Times_Bold], fonts => [[20,\%PS_Times_Bold],
[20,\%PS_Times_BoldItalic], [20,\%PS_Times_BoldItalic],
[20,\%PS_Courier_Bold]]); [20,\%PS_Courier_Bold]]);
%ChapFont = (name => 'cfont', %ChapFont = (name => 'cfont',
leading => 18, leading => 19.2,
fonts => [[18,\%PS_Times_Bold], fonts => [[18,\%PS_Times_Bold],
[18,\%PS_Times_BoldItalic], [18,\%PS_Times_BoldItalic],
[18,\%PS_Courier_Bold]]); [18,\%PS_Courier_Bold]]);
%HeadFont = (name => 'hfont', %HeadFont = (name => 'hfont',
leading => 14, leading => 15.4,
fonts => [[14,\%PS_Times_Bold], fonts => [[14,\%PS_Times_Bold],
[14,\%PS_Times_BoldItalic], [14,\%PS_Times_BoldItalic],
[14,\%PS_Courier_Bold]]); [14,\%PS_Courier_Bold]]);
%SubhFont = (name => 'sfont', %SubhFont = (name => 'sfont',
leading => 12, leading => 13.2,
fonts => [[12,\%PS_Times_Bold], fonts => [[12,\%PS_Times_Bold],
[12,\%PS_Times_BoldItalic], [12,\%PS_Times_BoldItalic],
[12,\%PS_Courier_Bold]]); [12,\%PS_Courier_Bold]]);
%BodyFont = (name => 'bfont', %BodyFont = (name => 'bfont',
leading => 11, leading => 11,
fonts => [[11,\%PS_Times_Roman], fonts => [[10,\%PS_Times_Roman],
[11,\%PS_Times_Italic], [10,\%PS_Times_Italic],
[11,\%PS_Courier]]); [10,\%PS_Courier]]);
# #
# List of all fontsets; used to compute the list of fonts needed # List of all fontsets; used to compute the list of fonts needed