Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fonts display and print size

Status
Not open for further replies.

Nosferatu

Programmer
Jun 9, 2000
412
0
0
RO
Hello...

I know there is a very simple solution to this (did this before, on X-Windows), but I can't find it, so any help is greatly appreciated.

I am doing a report display/print hierarchy and I am using some fixed sized fonts.
The reports are drawn on a DC, be it a button or a printer context. Now, for font size I am using 16 logical units, which is just OK for display but on the paper it shows up as lice on the paper :).

The question is simple: how to I keep the aspect ratio on the paper? When calling getAspectRatioFilter for the drawing DC I am getting (0,0) as answer so it must be something else...

TIA... [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top