greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2013
09:52 AM
Font Get() return value ?
What are the parameters in the string returned by font.Get(String Family, integer size, integer weight, Boolean italic) as String
Example = ",38,-1,5,2,1,0,0,0,0 "
p[0] = () = family
p[1] = (38) = font size
p[2] = (-1)
p[3] = (5)
p[4] = (2)
p[5] = (1) = italic
p[6] = (0)
p[7] = (0)
p[8] = (0)
p[9] = (0)
Anyone know ?
Reason is, I'm trying to increase the font weight with no success.
Example = ",38,-1,5,2,1,0,0,0,0 "
p[0] = () = family
p[1] = (38) = font size
p[2] = (-1)
p[3] = (5)
p[4] = (2)
p[5] = (1) = italic
p[6] = (0)
p[7] = (0)
p[8] = (0)
p[9] = (0)
Anyone know ?
Reason is, I'm trying to increase the font weight with no success.
1 REPLY 1

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2013
10:37 AM
Re: Font Get() return value ?
The numbers in order are: point-size, pixel-size, style-hint, weight, style, underline, strikeout, fixed-pitch, and raw-mode. Not all of these are used. To increase the weight (boldness) of a font, the font file needs to provide support for it.
--Mark
--Mark