Re: David or Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Terry wrote:

> If it doesn't return the correct values what is it's use?

What can I say? I didn't write the function.

> With reference to your EzCreateFont function, how can
> the wrong value provide useful info?

Well, I took the EzCreateFont function from Charles Petzold.

If you are trying to show something in the exact size, it's not. But the
only thing I want is to be able to create a font in a given font size
relative to all the other applications. If every Windows program generates a
10 point character as 3 feet high, that's fine - as long as mine do as well.

Keep in mind that the metrics are relative to the device, as well - a 20
pixel high font may be visible on the screen, but not on the printer.

X Windows has this same sort of problem. It has no idea what the physical
size of the screen is, so it can have some very unreadable displays.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu