windows - What does this bit of MSDN documentation mean? -


the first parameter enumfontfamiliesex function, according the msdn documentation, described as:

hdc [in]
handle device context enumerate fonts.

  1. what mean?
  2. what device context mean?
  3. why should device context related fonts?

question (3) legitimately difficult thing find explanation for, reason simple enough:

some devices provide own font support. example, postscript printer allow use postscript fonts. same fonts won't usable when rendering on-screen, or printer without postscript support. example plotter (which motorized pen) requires vector fonts fixed stroke thickness, raster fonts can't used such device.

if you're interested in device-specific font support, you'll want know getdevicecaps function.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -