Shawn wrote:
> I am using Windows GDI to display these fonts, but I can reproduce
> the problem in Notepad, so I suspect this is a Windows issue. The
> CreateFont API reference says the font will be smoothed “if the font
> supports it and the size of the font is not too small or too large”.
> Has anyone experienced this and is there a solution?
Yes, I believe the problem is related to GDI. I recall that back when we
were using GDI for drawing in Sibelius, the brace character would not be
drawn with smoothing if the distance between the two staves of the piano
got sufficiently large that the glyph had to be stretched significantly,
and this is indeed a GDI limitation.
If it's an option, you might consider using one of the more modern APIs
Microsoft provides for drawing instead? Perhaps GDI+ or DirectWrite?
Daniel
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Steinberg Media Technologies GmbH, Frankenstrasse 18b, D-20097 Hamburg, Germany
Phone: +49 (40) 21035-0 | Fax: +49 (40) 21035-300 | www.steinberg.net
President: Andreas Stelling | Managing Director: Hiroshi Sasaki, Hirofumi Osawa
Registration Court: Hamburg HRB 86534
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#############################################################
This message is sent to you because you are subscribed to
the mailing list <
[hidden email]>.
To unsubscribe, E-mail to: <
[hidden email]>
To switch to the DIGEST mode, E-mail to <
[hidden email]>
To switch to the INDEX mode, E-mail to <
[hidden email]>
Send administrative queries to <
[hidden email]>