/[emacs]/emacs/src/w32bdf.c
ViewVC logotype

Diff of /emacs/src/w32bdf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17.6.1 by handa, Mon Sep 8 12:48:14 2003 UTC revision 1.17.6.2 by jasonr, Sat Oct 11 22:18:29 2003 UTC
# Line 201  set_bdf_font_info(bdffont *fontp) Line 201  set_bdf_font_info(bdffont *fontp)
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)
# Line 768  struct font_info *w32_load_bdf_font (str Line 768  struct font_info *w32_load_bdf_font (str
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);
# Line 785  struct font_info *w32_load_bdf_font (str Line 786  struct font_info *w32_load_bdf_font (str
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;

Legend:
Removed from v.1.17.6.1  
changed lines
  Added in v.1.17.6.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26