- 論壇徽章:
- 17
|
回復(fù) 1# 801901987
為保護(hù)那些提供字體給Windows和Windows NT的賣主的版權(quán),基于Win32的應(yīng)用程序總是列出所選擇字體的準(zhǔn)確名字。由于不同的系統(tǒng)會(huì)使用不同的字體,不要認(rèn)為所選擇字體就是要求的字體。例如,如果要求名叫Palatino的字體,但系統(tǒng)沒提供那樣一種字體,則字體映射器將會(huì)以一種不同名但有相似屬性的字體取而代之。系統(tǒng)總是將用戶選擇的字體名報(bào)告出來
Remarks
When you no longer need the font, call the DeleteObject function to delete it.
To help protect the copyrights of vendors who provide fonts for Windows, applications should always report the exact name of a selected font. Because available fonts can vary from system to system, do not assume that the selected font is always the same as the requested font. For example, if you request a font named Palatino, but no such font is available on the system, the font mapper will substitute a font that has similar attributes but a different name. Always report the name of the selected font to the user. |
|