Searched refs:x_ppem (Results 1 - 25 of 52) sorted by relevance

123

/external/harfbuzz_ng/test/api/
H A Dtest-font.c368 unsigned int x_ppem, y_ppem; local
406 x_ppem = y_ppem = 13;
407 hb_font_get_ppem (font, &x_ppem, NULL);
408 g_assert_cmpint (x_ppem, ==, 0);
409 x_ppem = y_ppem = 13;
412 x_ppem = y_ppem = 13;
413 hb_font_get_ppem (font, &x_ppem, &y_ppem);
414 g_assert_cmpint (x_ppem, ==, 0);
419 x_ppem = y_ppem = 13;
420 hb_font_get_ppem (font, &x_ppem,
[all...]
/external/pdfium/core/src/fxge/android/
H A Dfpf_skiafont.cpp110 FX_INT32 x_ppem = m_Face->size->metrics.x_ppem; local
112 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin);
113 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax);
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-font.cc895 font->x_ppem = parent->x_ppem;
924 0, /* x_ppem */
1202 * @x_ppem:
1211 unsigned int x_ppem,
1217 font->x_ppem = x_ppem;
1224 * @x_ppem: (out):
1233 unsigned int *x_ppem,
1236 if (x_ppem) *x_ppe
1210 hb_font_set_ppem(hb_font_t *font, unsigned int x_ppem, unsigned int y_ppem) argument
1232 hb_font_get_ppem(hb_font_t *font, unsigned int *x_ppem, unsigned int *y_ppem) argument
[all...]
H A Dhb-font.h496 unsigned int x_ppem,
501 unsigned int *x_ppem,
H A Dhb-ft.cc162 FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED;
424 ft_face->size->metrics.x_ppem,
501 font->x_ppem * 72 * 64 / font->x_scale,
H A Dhb-ot-layout-gpos-table.hh103 unsigned int x_ppem, y_ppem; local
123 x_ppem = font->x_ppem;
126 if (!x_ppem && !y_ppem) return;
130 if (x_ppem) glyph_pos.x_offset += (base + get_device (values)).get_x_delta (font);
138 if (horizontal && x_ppem) glyph_pos.x_advance += (base + get_device (values)).get_x_delta (font);
246 unsigned int x_ppem = font->x_ppem; local
251 ret = (x_ppem || y_ppem) &&
253 *x = ret && x_ppem
[all...]
/external/harfbuzz_ng/src/
H A Dhb-font.cc895 font->x_ppem = parent->x_ppem;
924 0, /* x_ppem */
1202 * @x_ppem:
1211 unsigned int x_ppem,
1217 font->x_ppem = x_ppem;
1224 * @x_ppem: (out):
1233 unsigned int *x_ppem,
1236 if (x_ppem) *x_ppe
1210 hb_font_set_ppem(hb_font_t *font, unsigned int x_ppem, unsigned int y_ppem) argument
1232 hb_font_get_ppem(hb_font_t *font, unsigned int *x_ppem, unsigned int *y_ppem) argument
[all...]
H A Dhb-font.h496 unsigned int x_ppem,
501 unsigned int *x_ppem,
H A Dhb-ft.cc162 FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED;
424 ft_face->size->metrics.x_ppem,
501 font->x_ppem * 72 * 64 / font->x_scale,
H A Dhb-ot-layout-gpos-table.hh103 unsigned int x_ppem, y_ppem; local
123 x_ppem = font->x_ppem;
126 if (!x_ppem && !y_ppem) return;
130 if (x_ppem) glyph_pos.x_offset += (base + get_device (values)).get_x_delta (font);
138 if (horizontal && x_ppem) glyph_pos.x_advance += (base + get_device (values)).get_x_delta (font);
246 unsigned int x_ppem = font->x_ppem; local
251 ret = (x_ppem || y_ppem) &&
253 *x = ret && x_ppem
[all...]
/external/chromium_org/third_party/freetype/src/truetype/
H A Dttobjs.c777 metrics->x_ppem = 0;
1183 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 )
1192 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6,
1209 if ( metrics->x_ppem >= metrics->y_ppem )
1212 size->ttmetrics.ppem = metrics->x_ppem;
1215 metrics->x_ppem );
1221 size->ttmetrics.x_ratio = FT_DivFix( metrics->x_ppem,
H A Dttsubpix.c908 int ppem = loader->size->metrics.x_ppem;
/external/freetype/src/truetype/
H A Dttobjs.c782 metrics->x_ppem = 0;
1185 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 )
1194 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6,
1211 if ( metrics->x_ppem >= metrics->y_ppem )
1214 size->ttmetrics.ppem = metrics->x_ppem;
1217 metrics->x_ppem );
1223 size->ttmetrics.x_ratio = FT_DivFix( metrics->x_ppem,
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttobjs.c787 metrics->x_ppem = 0;
1198 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 )
1207 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6,
1224 if ( metrics->x_ppem >= metrics->y_ppem )
1227 size->ttmetrics.ppem = metrics->x_ppem;
1230 metrics->x_ppem );
1236 size->ttmetrics.x_ratio = FT_DivFix( metrics->x_ppem,
/external/chromium_org/third_party/freetype/include/freetype/internal/
H A Dtttypes.h559 /* x_ppem :: The number of horizontal pixels per EM. */
586 FT_Byte x_ppem; member in struct:TT_SBit_StrikeRec_
633 /* x_ppem :: The number of horizontal pixels per EM. */
637 /* x_ppem_substitute :: Substitution x_ppem value. */
646 FT_Byte x_ppem; member in struct:TT_SBit_ScaleRec_
/external/freetype/include/internal/
H A Dtttypes.h628 /* x_ppem :: The number of horizontal pixels per EM. */
655 FT_Byte x_ppem; member in struct:TT_SBit_StrikeRec_
702 /* x_ppem :: The number of horizontal pixels per EM. */
706 /* x_ppem_substitute :: Substitution x_ppem value. */
715 FT_Byte x_ppem; member in struct:TT_SBit_ScaleRec_
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
H A Dtttypes.h559 /* x_ppem :: The number of horizontal pixels per EM. */
586 FT_Byte x_ppem; member in struct:TT_SBit_StrikeRec_
633 /* x_ppem :: The number of horizontal pixels per EM. */
637 /* x_ppem_substitute :: Substitution x_ppem value. */
646 FT_Byte x_ppem; member in struct:TT_SBit_ScaleRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/
H A Dtttypes.h559 /* x_ppem :: The number of horizontal pixels per EM. */
586 FT_Byte x_ppem; member in struct:TT_SBit_StrikeRec_
633 /* x_ppem :: The number of horizontal pixels per EM. */
637 /* x_ppem_substitute :: Substitution x_ppem value. */
646 FT_Byte x_ppem; member in struct:TT_SBit_ScaleRec_
/external/chromium_org/third_party/freetype/src/base/
H A Dftobjs.c2237 if ( bsize->x_ppem < 0 )
2238 bsize->x_ppem = (FT_Short)-bsize->x_ppem;
2542 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width )
2630 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 );
2635 metrics->x_scale = FT_DivFix( bsize->x_ppem,
2649 metrics->max_advance = bsize->x_ppem;
2661 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem ));
2760 metrics->x_ppem
[all...]
/external/freetype/src/base/
H A Dftobjs.c2248 if ( bsize->x_ppem < 0 )
2249 bsize->x_ppem = (FT_Short)-bsize->x_ppem;
2556 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width )
2644 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 );
2649 metrics->x_scale = FT_DivFix( bsize->x_ppem,
2663 metrics->max_advance = bsize->x_ppem;
2675 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem ));
2774 metrics->x_ppem
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftobjs.c2237 if ( bsize->x_ppem < 0 )
2238 bsize->x_ppem = (FT_Short)-bsize->x_ppem;
2545 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width )
2633 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 );
2638 metrics->x_scale = FT_DivFix( bsize->x_ppem,
2652 metrics->max_advance = bsize->x_ppem;
2664 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem ));
2763 metrics->x_ppem
[all...]
/external/chromium_org/third_party/freetype/include/freetype/
H A Dfreetype.h280 /* x_ppem :: The horizontal ppem (nominal width) in 26.6 fractional */
290 /* values and sets `x_ppem' and `y_ppem' to the pixel width and */
305 FT_Pos x_ppem; member in struct:FT_Bitmap_Size_
1321 /* x_ppem :: The width of the scaled EM square in pixels, hence */
1369 FT_UShort x_ppem; /* horizontal pixels per EM */ member in struct:FT_Size_Metrics_
/external/freetype/include/
H A Dfreetype.h315 /* x_ppem :: The horizontal ppem (nominal width) in 26.6 fractional */
325 /* values and sets `x_ppem' and `y_ppem' to the pixel width and */
340 FT_Pos x_ppem; member in struct:FT_Bitmap_Size_
1379 /* x_ppem :: The width of the scaled EM square in pixels, hence */
1427 FT_UShort x_ppem; /* horizontal pixels per EM */ member in struct:FT_Size_Metrics_
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dfreetype.h280 /* x_ppem :: The horizontal ppem (nominal width) in 26.6 fractional */
290 /* values and sets `x_ppem' and `y_ppem' to the pixel width and */
305 FT_Pos x_ppem; member in struct:FT_Bitmap_Size_
1327 /* x_ppem :: The width of the scaled EM square in pixels, hence */
1375 FT_UShort x_ppem; /* horizontal pixels per EM */ member in struct:FT_Size_Metrics_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dfreetype.h280 /* x_ppem :: The horizontal ppem (nominal width) in 26.6 fractional */
290 /* values and sets `x_ppem' and `y_ppem' to the pixel width and */
305 FT_Pos x_ppem; member in struct:FT_Bitmap_Size_
1327 /* x_ppem :: The width of the scaled EM square in pixels, hence */
1375 FT_UShort x_ppem; /* horizontal pixels per EM */ member in struct:FT_Size_Metrics_

Completed in 5893 milliseconds

123