Home
last modified time | relevance | path

Searched refs:fixed_width (Results 1 – 2 of 2) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dgdevpdtd.c336 int fixed_width = 0; in pdf_compute_font_descriptor() local
429 fixed_width = min_int; in pdf_compute_font_descriptor()
430 else if (fixed_width == 0) in pdf_compute_font_descriptor()
431 fixed_width = (int)info.width[wmode].x; in pdf_compute_font_descriptor()
432 else if (info.width[wmode].x != fixed_width) in pdf_compute_font_descriptor()
433 fixed_width = min_int; in pdf_compute_font_descriptor()
535 if (fixed_width > 0) { in pdf_compute_font_descriptor()
537 desc.AvgWidth = desc.MaxWidth = desc.MissingWidth = fixed_width; in pdf_compute_font_descriptor()
H A Dgsfont.c772 int fixed_width = 0; in gs_default_font_info() local
777 fixed_width >= 0 && in gs_default_font_info()
794 fixed_width = min_int; in gs_default_font_info()
795 else if (fixed_width == 0) in gs_default_font_info()
796 fixed_width = (int)glyph_info.width[wmode].x; in gs_default_font_info()
797 else if (glyph_info.width[wmode].x != fixed_width) in gs_default_font_info()
798 fixed_width = min_int; in gs_default_font_info()
802 if (fixed_width > 0) { in gs_default_font_info()
806 info->AvgWidth = info->MaxWidth = info->MissingWidth = fixed_width; in gs_default_font_info()