QuickRep 點選Printer Preview 之後在列印字體就不同 ? |
尚未結案
|
chubby
一般會員 發表:43 回覆:65 積分:21 註冊:2003-05-13 發送簡訊給我 |
|
kgt
高階會員 發表:17 回覆:308 積分:165 註冊:2002-03-13 發送簡訊給我 |
Q: When I use printer fonts, the preview does not match the print out. A: A possible solution to this problem is to assign the printer specific font to your report at runtime. If you use the same font for all controls in your report you should be able to say
QuickRep.Font.Name := 'Your font name'
before starting your report. If Windows is able to a reasonably good substitution it should work.
|
kgt
高階會員 發表:17 回覆:308 積分:165 註冊:2002-03-13 發送簡訊給我 |
Specifies whether the characters in the font all have the same width. type TFontPitch = (fpDefault, fpVariable, fpFixed);
property Pitch: TFontPitch; Description Each typeface has an associated pitch. The characters in fixed-pitch fonts are all the same width. The characters in variable-pitch fonts differ in width. Fixed pitch fonts are generally used for representing source code, because they allow the indentation to line up properly. Variable pitch fonts are generally used to give text a more natural appearance. Here are the possible values for Pitch: Value --Meaning fpDefault --The font pitch is set to the default value, which depends on the font specified in the Name property.
fpFixed-- The font pitch is set to fixed. All characters in the font have the same width.
fpVariable-- The font pitch is set to variable. The characters in the font have different widths. Setting the Pitch of a fixed-pitch font to fpVariable or a variable-pitch font to fpFixed will cause window system to find what it considers the best match to all of the font characteristics that have been specified. This might have no effect on the appearance of a font, or might cause the window sysytem to substitute a different font with the appropriate pitch. For example, setting the pitch of Serif (a variable-pitch font) to fpFixed causes Courier to be displayed.
-----------------------------------------------------------------
Q: I am setting the control's font to Arial but it is printing as Courier (or vice versa). A: Check the control's Font.Pitch property. If you select Arial and set the pitch to fpFixed, Windows will substitute the closest match that supports that pitch.
|
chubby
一般會員 發表:43 回覆:65 積分:21 註冊:2003-05-13 發送簡訊給我 |
|
kgt
高階會員 發表:17 回覆:308 積分:165 註冊:2002-03-13 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |