Главная страница | назад





Article #16550: Text in Windows metafiles

 Question and Answer Database
FAQ1550D.txt Text in Windows metafiles
Category :Miscellaneous
Platform :All
Product :All 32 bit
Question:
Sometimes, some text in a metafile I display from my
application comes up in the wrong font. The file
displays properly in xyz Graphics program. Why?
Answer:
The VCL simply wraps standard Windows functions for
displaying metafiles. As the metafile is scaled, the
font width and height are scaled as well. Many times,
the Windows font mapper will simply substitute a
different font that the font that was originally selected
in an attempt to satisfy the request. This can also be
seen in many graphics programs if you arbitrarily scale
the metafile in different directions. Note that some
"hi end" graphic programs actually read the metafile
record by record, bypassing the WIndows GDI entirely to
overcome the effects of the Windows font mapper.
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99