Как выбрать параметры config.ps? Выбирая, например, разрешение 300DPI, какой тип принтера лучше выбрать с данным разрешением?
%Некоторые настраиваемые значения из с:\miktex20e\dvips\config\config.ps D 300 % разрешение принтера % Metafont mode. %M cs Что %M phaser выбрать M lnzo лучше?
Тип используемого Metafont'ом принтера (для данного разрешения) можно
выбрать из файла c:\miktex20e\metafont\misc\modes.mf.
Например, для типа принтера "lnzo" установлены следующие характеристики
в файле modes.mf
mode_def lnzo = %\[ DEC LN01 (300dpi) mode_param (pixels_per_inch, 300); mode_param (blacker, .9); mode_param (blacker_min, 2); mode_param (fillin, 0); mode_param (o_correction, .5); mode_common_setup_; mode_write_white_setup_; enddef;Их краткое описание:
% |aspect_ratio|: the ratio of the vertical resolution to the horizontal
% resolution (page 94).
%
% |blacker|: a correction added to the width of stems and similar
% features, to account for devices which would otherwise make them
% too light (page 93). (Write-white devices are best handled by a more
% sophisticated method than merely adding to |blacker|, as explained
% above.) Compare your results with a good high-resolution example,
% such as one of the volumes of {\sl Computers \& Typesetting}.
% If you compare against the output of a typical write-black 300$\,$dpi
% engine, you will almost certainly wind up with something too dark.
%
% |fillin|: a correction factor for diagonals and other features which
% would otherwise be ``filled in'' (page 94). An ideal device would
% have |fillin=0| (page 94). Negative values for |fillin| typically
% have either gross effects or none at all, and should be avoided.
% Positive values lighten a diagonal line, negative values darken it.
% Changes in the |fillin| value tend to have abruptly non-linear effects
% on the various design-sizes and magnifications of a typeface.
%
% |fontmaking|: if nonzero at the end of the job, \MF\ writes
% a TFM file (page 315).
%
% |o_correction|: a correction factor for the ``overshoot'' of curves
% beyond the baseline or x-height. High resolution curves look better
% with overshoot, so such devices should have |o_correction=1|; but
% at low resolutions, the overshoot appears to simply be a distortion
% (page 93). Here some additional comments about |o_correction|,
% courtesy of Pierre MacKay (edited by Karl):
Нас заинтересовал параметр blacker, который в нашем примере имеет
значение 0.9.
Этот параметр влияет на толщину букв при формировании документа. Выбрав тип принтера "cx" (300DPI), мы увидели, что распечатываемый нами ps-документ имеет "тонкий шрифт". Тип "phaser" дает очень "толстые" буквы. Тип "lnzo" нас устроил. Разработчиками METAFONTa создан тестовый пример ("самые крайние ситуации"), которые можно прогнать и просмотреть после выбора "типа принтера". (Не забудьте сделать ps-файл DVIPS).
Файл config.ps можно скопировать в текущий каталог, изменить в нем настройки,
а пример взять
здесь
(или из файла modes.mf).