Lines Matching defs:font

1151     U_FONT        font;
1160 memcpy(&font,memfont,U_SIZE_FONT_CORE); //make sure it is in a properly aligned structure before touching it
1169 double font_size = pix_to_abs_size( d, font.Height );
1173 Typically this will set the font to the desired exact size. If some peculiar size
1179 font.Weight == U_FW_THIN ? SP_CSS_FONT_WEIGHT_100 :
1180 font.Weight == U_FW_EXTRALIGHT ? SP_CSS_FONT_WEIGHT_200 :
1181 font.Weight == U_FW_LIGHT ? SP_CSS_FONT_WEIGHT_300 :
1182 font.Weight == U_FW_NORMAL ? SP_CSS_FONT_WEIGHT_400 :
1183 font.Weight == U_FW_MEDIUM ? SP_CSS_FONT_WEIGHT_500 :
1184 font.Weight == U_FW_SEMIBOLD ? SP_CSS_FONT_WEIGHT_600 :
1185 font.Weight == U_FW_BOLD ? SP_CSS_FONT_WEIGHT_700 :
1186 font.Weight == U_FW_EXTRABOLD ? SP_CSS_FONT_WEIGHT_800 :
1187 font.Weight == U_FW_HEAVY ? SP_CSS_FONT_WEIGHT_900 :
1188 font.Weight == U_FW_NORMAL ? SP_CSS_FONT_WEIGHT_NORMAL :
1189 font.Weight == U_FW_BOLD ? SP_CSS_FONT_WEIGHT_BOLD :
1190 font.Weight == U_FW_EXTRALIGHT ? SP_CSS_FONT_WEIGHT_LIGHTER :
1191 font.Weight == U_FW_EXTRABOLD ? SP_CSS_FONT_WEIGHT_BOLDER :
1193 d->dc[d->level].style.font_style.value = (font.Italic ? SP_CSS_FONT_STYLE_ITALIC : SP_CSS_FONT_STYLE_NORMAL);
1194 d->dc[d->level].style.text_decoration_line.underline = font.Underline;
1195 d->dc[d->level].style.text_decoration_line.line_through = font.StrikeOut;
1199 // malformed WMF with empty filename may exist, ignore font change if encountered
1204 else { // Malformed WMF might specify an empty font name
1205 d->dc[d->level].font_name = strdup("Arial"); // Default font, WMF spec says device can pick whatever it wants
1207 d->dc[d->level].style.baseline_shift.value = round((double)((font.Escapement + 3600) % 3600) / 10.0); // use baseline_shift instead of text_transform to avoid overflow
1243 d->dc[d->level].font_name = strdup("Arial"); // Default font, WMF spec says device can pick whatever it wants
1545 tsp.fs = 12.0; /* font size */
2249 d->dc[d->level + 1].font_name = strdup(d->dc[d->level].font_name); // or memory access problems because font name pointer duplicated
2625 // when font name includes narrow it may not be set to "condensed". Narrow fonts do not work well anyway though
2626 // as the metrics from fontconfig may not match, or the font may not be present.
3095 // Default font, WMF spec says device can pick whatever it wants.
3096 // WMF files that do not specify a font are unlikely to look very good!
3115 d.dc[0].font_name = strdup("Arial"); // Default font, set only on lowest level, it copies up from there WMF spec says device can pick whatever it wants
3197 "<param name=\"TnrToSymbol\" gui-text=\"" N_("Map Unicode to Symbol font") "\" type=\"boolean\">true</param>\n"
3201 "<param name=\"FixPPTCharPos\" gui-text=\"" N_("Compensate for PPT font bug") "\" type=\"boolean\">false</param>\n"