mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
set maximum advancement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24446 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
df830a647f
commit
1287873a6c
2 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
* Source\win32\GNUmakefile.preamble:
|
||||
* Headers\winlib\WIN32FontInfo.h:
|
||||
Implement number of glyphs and covered characterset.
|
||||
Set maximumAdvancement.
|
||||
|
||||
2007-01-31 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -326,6 +326,9 @@ NSString *win32_font_family(NSString *fontName);
|
|||
(float)metric.tmMaxCharWidth,
|
||||
(float)metric.tmHeight);
|
||||
|
||||
maximumAdvancement = NSMakeSize((float)metric.tmMaxCharWidth,
|
||||
(float)metric.tmHeight);
|
||||
|
||||
weight = win32_font_weight(metric.tmWeight);
|
||||
|
||||
traits = 0;
|
||||
|
|
Loading…
Reference in a new issue