... | @@ -191,7 +191,7 @@ ttf-Courier-rrncns-*-16-UTF-8 |
... | @@ -191,7 +191,7 @@ ttf-Courier-rrncns-*-16-UTF-8 |
|
For a new app, you should use the new function `CreateLogFontEx` to
|
|
For a new app, you should use the new function `CreateLogFontEx` to
|
|
create a logfont, and specify the weight and rendering method of the glyph:
|
|
create a logfont, and specify the weight and rendering method of the glyph:
|
|
|
|
|
|
```C
|
|
```cpp
|
|
m_btnFont = CreateLogFontEx ("ttf", "helvetica", "UTF-8",
|
|
m_btnFont = CreateLogFontEx ("ttf", "helvetica", "UTF-8",
|
|
FONT_WEIGHT_REGULAR,
|
|
FONT_WEIGHT_REGULAR,
|
|
FONT_SLANT_ROMAN,
|
|
FONT_SLANT_ROMAN,
|
... | | ... | |