• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/src/

Lines Matching +defs:font +defs:size

1 /* Implementation of BDF font handling on the Microsoft W32 API.
123 len = fontp->size;
124 start = fontp->font;
241 unsigned char *font;
267 error("Can't map font");
270 font = MapViewOfFile(hfilemap, FILE_MAP_READ, 0, 0, 0);
272 if (!font)
276 error("Can't view font");
283 bdffontp->size = fileinfo.nFileSizeLow;
284 bdffontp->font = font;
293 error("Invalid BDF font!");
391 len = fontp->size - (start - fontp->font);
440 w32_get_bdf_glyph(bdffont *fontp, int index, int size, glyph_struct *glyph)
458 if ((size == 0) && pch->pcbmp)
464 len = fontp->size - (start - fontp->font);
483 if (size == 0) return 1;
500 if (size < consumed) return 0;
726 int size, char* filename)
730 XFontStruct *font;
737 font = (XFontStruct *) xmalloc (sizeof (XFontStruct));
738 bzero (font, sizeof (*font));
740 font->bdf = bdf_font;
741 font->hfont = 0;
743 /* NTEMACS_TODO: Better way of determining if a font is double byte
745 font->double_byte_p = bdf_font->nchars > 255 ? 1 : 0;
747 w32_cache_char_metrics (font);
773 fontp->font = font;
781 fontp->size = fontp->average_width = fontp->space_width = FONT_WIDTH (font);
782 fontp->height = FONT_HEIGHT (font);
786 the font code-points (0:0x20..0x7F, 1:0xA0..0xFF, 0:0x2020..0x7F7F,
787 the font code-points (0:0x20..0x7F, 1:0xA0..0xFF,
790 uses this font. So, we set informatoin in fontp->encoding[1]
798 /* Set global flag fonts_changed_p to non-zero if the font loaded
800 before, or if the font loaded has a smaller height than any
801 other font loaded before. If this happens, it will make a
815 char *font, *start, *p, *q;
816 int flag, size, retval = 0;
828 size = fileinfo.nFileSizeLow;
837 font = MapViewOfFile (hfilemap, FILE_MAP_READ, 0, 0, 0);
838 if (!font)
844 start = font;
846 flag = proceed_file_line ("FONT ", start, &size, &p, &q);
849 /* If font provides a description of itself, check it is a