201 |
else if (search_file_line("CHARSET_ENCODING", start, len, |
else if (search_file_line("CHARSET_ENCODING", start, len, |
202 |
(char **)&p, (char **)&q) == 1) |
(char **)&p, (char **)&q) == 1) |
203 |
{ |
{ |
204 |
fontp->encoding = get_quoted_string(p, q); |
fontp->encoding = get_quoted_string(p, q); |
205 |
} |
} |
206 |
else if (search_file_line("SLANT", start, len, |
else if (search_file_line("SLANT", start, len, |
207 |
(char **)&p, (char **)&q) == 1) |
(char **)&p, (char **)&q) == 1) |
768 |
|
|
769 |
/* Now fill in the slots of *FONTP. */ |
/* Now fill in the slots of *FONTP. */ |
770 |
BLOCK_INPUT; |
BLOCK_INPUT; |
771 |
|
bzero (fontp, sizeof (*fontp)); |
772 |
fontp->font = font; |
fontp->font = font; |
773 |
fontp->font_idx = dpyinfo->n_fonts; |
fontp->font_idx = dpyinfo->n_fonts; |
774 |
fontp->name = (char *) xmalloc (strlen (fontname) + 1); |
fontp->name = (char *) xmalloc (strlen (fontname) + 1); |
786 |
uses this font. So, we set informatoin in fontp->encoding[1] |
uses this font. So, we set informatoin in fontp->encoding[1] |
787 |
which is never used by any charset. If mapping can't be |
which is never used by any charset. If mapping can't be |
788 |
decided, set FONT_ENCODING_NOT_DECIDED. */ |
decided, set FONT_ENCODING_NOT_DECIDED. */ |
789 |
fontp->encoding[1] = FONT_ENCODING_NOT_DECIDED; |
fontp->encoding_type = FONT_ENCODING_NOT_DECIDED; |
790 |
fontp->baseline_offset = bdf_font->yoffset; |
fontp->baseline_offset = bdf_font->yoffset; |
791 |
fontp->relative_compose = bdf_font->relative_compose; |
fontp->relative_compose = bdf_font->relative_compose; |
792 |
fontp->default_ascent = bdf_font->default_ascent; |
fontp->default_ascent = bdf_font->default_ascent; |