Re[2]: размер шрифта в static control
От: Hippopotamus  
Дата: 27.10.04 14:27
Оценка:
Здравствуйте, v_a_n_e_k, Вы писали:

___>Попробуй поставить вместо шрифта "MS Sans Serif" шрифт "Microsoft Sans Serif", т.к. последний TrueType


Изменение шрифта на TrueType помогло.
Покапал еще в этом направлении и получилось:
"растерные шрифты масштабируются только в сторону увеличения"

из MSDN:

For example, when using raster fonts...If the logical font has a height of 8 and there is no font shorter than 10, the font with a height of 10 is chosen.


A raster font is sometimes also called a bitmap font, because each character is stored as a bitmap pixel pattern. Each raster font is designed for a specific aspect ratio and character size. Windows can create larger character sizes from GDI raster fonts by simply duplicating rows or columns of pixels. However, this can be done in integral multiples only and within certain limits. For this reason, GDI raster fonts are termed "nonscalable" fonts. They cannot be expanded or compressed to an arbitrary size


Спасибо.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.