Home
last modified time | relevance | path

Searched refs:gateFont (Results 1 – 7 of 7) sorted by relevance

/dports/cad/tkgate/tkgate-2.1/src/tkgate/
H A Dhtml.c276 if (font->gateFont.family == FF_KANJI) in HtmlFont_updatePoints()
288 memcpy(&font->gateFont, &gateFont, sizeof (GateFont)); in HtmlFont_init()
291 if (gateFont.family != FF_KANJI) { in HtmlFont_init()
299 font->gateFont.size = i; in HtmlFont_init()
403 hc->hc_font.gateFont, text, len); in HtmlContext_stringWidth()
413 getFontName(name,hf->gateFont.family,hf->gateFont.prop,hf->gateFont.size,1); in HtmlFont_print()
947 hc->hc_font.gateFont.family = j; in HtmlContext_handle_modifiers()
954 --hc->hc_font.gateFont.size; in HtmlContext_handle_modifiers()
989 ++hc->hc_font.gateFont.size; in Html_handle_basic()
994 --hc->hc_font.gateFont.size; in Html_handle_basic()
[all …]
H A Dled.c470 GateFont gateFont = {FF_HELVETICA,FP_ROMAN}; in led_PSdrawname() local
487 PSDrawText(P,HtmlFont_init(font,gateFont,8), in led_PSdrawname()
740 GateFont gateFont = {FF_HELVETICA,FP_ROMAN}; in Led_PSWrite() local
771 PSDrawText(P,HtmlFont_init(font,gateFont,8),x+w/2+3,y+30,"16",AtLeft|AtTop); in Led_PSWrite()
774 PSDrawText(P,HtmlFont_init(font,gateFont,8),x+w/2+3,y+30,"D",AtLeft|AtTop); in Led_PSWrite()
777 PSDrawText(P,HtmlFont_init(font,gateFont,8),x+w/2+3,y+30,"10",AtLeft|AtTop); in Led_PSWrite()
H A Dprint.c115 HtmlFont hdl_font = {.gateFont = {FF_COURIER,FP_ROMAN,0}, 10};
445 if (F->gateFont.family == FF_COURIER) { in PSStringWidth()
446 width = fontmetrics_Courier*len*F->gateFont.size; in PSStringWidth()
447 } else if (F->gateFont.family == FF_KANJI) { in PSStringWidth()
448 width = fontmetrics_Kanji*len/2*F->gateFont.size; in PSStringWidth()
452 width += psFontWidthTable[F->gateFont.family][F->gateFont.prop][c]*F->points; in PSStringWidth()
463 if (font->gateFont.family < FF_NOKANJI_MAX) in PSSetFont()
467 psFontNameTable[font->gateFont.family][font->gateFont.prop],encoding,font->points); in PSSetFont()
472 static HtmlFont curFont = {.gateFont = {-1, -1, -1}}; in PSDrawText()
H A Dhtml.h74 GateFont gateFont; /* base font part */ member
H A Dblock.c751 GateFont gateFont = {FF_HELVETICA,FP_ROMAN}; in Block_PSDrawWireName() local
754 PSDrawText(P,HtmlFont_init(font,gateFont,8),x,y,w->name,p); in Block_PSDrawWireName()
778 GateFont gateFont = {FF_HELVETICA,FP_ROMAN}; in Block_PSWrite() local
798 PSDrawText(P,HtmlFont_init(font,gateFont,8), in Block_PSWrite()
804 PSDrawText(P,HtmlFont_init(font,gateFont, 10), in Block_PSWrite()
H A Dgeneric.c437 GateFont gateFont = {FF_HELVETICA,FP_ROMAN}; in Generic_DrawGateLabel() local
439 PSDrawText(P,HtmlFont_init(font,gateFont,8), in Generic_DrawGateLabel()
H A Dmodule.c457 *maxY = numLines*(int)(1.2*hdl_font.gateFont.size); in GModuleDef_getBBX()