P
Pimpirev
Hi all.
In windows. Is it possible to show text with the very same appearance in
different DC (for example 1. screan DC-LogPixelPerInch=96 ; 2. printer
DC-LogPixelPerInch=300 ; 3. . printer DC-LogPixelPerInch=1024)
Font size is 10, created by CreateFontIndirect(DC, LOGFONT)
1. LOGFONT.LfHeight := 13 ( -(10*96/72) = 13.3333...)
2. LOGFONT.LfHeight := 42 ( -(10*300/72) = 41.666...)
3. LOGFONT.LfHeight := 142 ( -(10*1024/72) = 142.222…)
In windows. Is it possible to show text with the very same appearance in
different DC (for example 1. screan DC-LogPixelPerInch=96 ; 2. printer
DC-LogPixelPerInch=300 ; 3. . printer DC-LogPixelPerInch=1024)
Font size is 10, created by CreateFontIndirect(DC, LOGFONT)
1. LOGFONT.LfHeight := 13 ( -(10*96/72) = 13.3333...)
2. LOGFONT.LfHeight := 42 ( -(10*300/72) = 41.666...)
3. LOGFONT.LfHeight := 142 ( -(10*1024/72) = 142.222…)