Lines Matching defs:font
818 \param FaceName Name of font. ANSI Latin1, null terminated.
834 char *FaceName //!< Name of font. ANSI Latin1, null terminated.
836 U_FONT *font;
839 font = (U_FONT *) calloc(1,slen + U_SIZE_FONT_CORE); /* use calloc to auto fill in terminating '\0'*/
840 if(font){
841 font->Height = Height;
842 font->Width = Width;
843 font->Escapement = Escapement;
844 font->Orientation = Orientation;
845 font->Weight = Weight;
846 font->Italic = Italic;
847 font->Underline = Underline;
848 font->StrikeOut = StrikeOut;
849 font->CharSet = CharSet;
850 font->OutPrecision = OutPrecision;
851 font->ClipPrecision = ClipPrecision;
852 font->Quality = Quality;
853 font->PitchAndFamily = PitchAndFamily;
854 strcpy((char *)&font->FaceName, FaceName);
856 return(font);
1658 /* does the record create an object: brush, font, palette, pen, or region ?
3169 \param Mode If 1 bit set font mapper selects only matching aspect fonts.
4377 \param font Parameters of the font object to create.
4379 char *U_WMRCREATEFONTINDIRECT_set(U_FONT *font){
4382 flen = 1 + strlen((char *)font->FaceName); /* include the null terminator in the count */
4389 memcpy(record+off,font,U_SIZE_FONT_CORE + flen);
5768 \param Mode If 1 bit set font mapper selects only matching aspect fonts.
6978 \param font pointer to array of U_FONT structure in memory. Pointer may not be aligned properly for structure.
6982 const char **font
6984 int size = U_WMRCORE_2U16_N16_get(contents, (U_SIZE_WMRCREATEFONTINDIRECT), NULL, NULL, font);
6986 if(IS_MEM_UNSAFE(*font, U_SIZE_FONT_CORE, contents+size))return(0);
6987 if(contents + size - *font > U_SIZE_FONT_CORE + 32)return(0); // font name must fit in a 32 bit field