|
As is known to all, unicode can represent all the character in the world. Now, my problem is how to create font by an unicode value. Because each unicode value represents a char.
Here is a related link: http://www.ssec.wisc.edu/~tomw/java/unicode.html[^]
Here is a C++ API:
HFONT CreateFont(
_In_ int nHeight,
_In_ int nWidth,
_In_ int nEscapement,
_In_ int nOrientation,
_In_ int fnWeight,
_In_ DWORD fdwItalic,
_In_ DWORD fdwUnderline,
_In_ DWORD fdwStrikeOut,
_In_ DWORD fdwCharSet,
_In_ DWORD fdwOutputPrecision,
_In_ DWORD fdwClipPrecision,
_In_ DWORD fdwQuality,
_In_ DWORD fdwPitchAndFamily,
_In_ LPCTSTR lpszFace
);
Is it possible to do that by the function?
Anyone can help me?
|
|
|
|
|
The CreateFont [^] function creates a logical font based on the request parameters and the actual font files that are loaded on your system. Most fonts include Unicode characters for various different languages and there are fonts that handle Asian type alphabets.
Creating a new font from scratch requires a number of other tools; Google will help you to find articles on the subject.
One of these days I'm going to think of a really clever signature.
|
|
|
|