Home
last modified time | relevance | path

Searched refs:HB_Fixed (Results 1 – 24 of 24) sorted by relevance

/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-shaper.h201 HB_Fixed x, y;
202 HB_Fixed width, height;
203 HB_Fixed xOffset, yOffset;
212 …yphAdvances)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int fl…
215 …, HB_Glyph glyph, int flags /*HB_ShaperFlag*/, hb_uint32 point, HB_Fixed *xpos, HB_Fixed *ypos, hb…
217 HB_Fixed (*getFontMetric)(HB_Font font, HB_FontMetric metric);
251 HB_Fixed *advances; /* output: <num_glyphs> advances */
Dharfbuzz-buffer.h49 HB_Fixed x_pos;
50 HB_Fixed y_pos;
51 HB_Fixed x_advance;
52 HB_Fixed y_advance;
Dharfbuzz-global.h84 typedef hb_int32 HB_Fixed; /* 26.6 */ typedef
115 HB_Fixed x;
116 HB_Fixed y;
Dharfbuzz-gpos.h61 HB_Fixed* metric_value,
Dharfbuzz-shaper.cpp60 HB_Fixed size = item->font->klass->getFontMetric(item->font, HB_FontAscent) / 10; in positionCluster()
61 HB_Fixed offsetBase = HB_FIXED_CONSTANT(1) + (size - HB_FIXED_CONSTANT(4)) / 4; in positionCluster()
85 HB_Fixed offset = offsetBase; in positionCluster()
913 HB_Fixed *advances = item->advances; in HB_OpenTypePosition()
923 HB_Fixed adjustment = positions[i].x_advance; in HB_OpenTypePosition()
Dharfbuzz-gpos.c45 HB_Fixed anchor_x; /* the coordinates of the anchor point */
46 HB_Fixed anchor_y; /* of the last valid glyph */
66 HB_Fixed* metric_value, in default_mmfunc()
477 HB_Fixed value; in Get_ValueRecord()
718 HB_Fixed* x_value, in Get_Anchor()
719 HB_Fixed* y_value ) in Get_Anchor()
1803 HB_Fixed entry_x, entry_y; in Lookup_CursivePos()
1804 HB_Fixed exit_x, exit_y; in Lookup_CursivePos()
2220 HB_Fixed x_mark_value, y_mark_value, x_base_value, y_base_value; in Lookup_MarkBasePos()
2628 HB_Fixed x_mark_value, y_mark_value, x_lig_value, y_lig_value; in Lookup_MarkLigPos()
[all …]
/external/harfbuzz/src/
Dharfbuzz-shaper.h232 HB_Fixed x, y;
233 HB_Fixed width, height;
234 HB_Fixed xOffset, yOffset;
243 …yphAdvances)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int fl…
246 …, HB_Glyph glyph, int flags /*HB_ShaperFlag*/, hb_uint32 point, HB_Fixed *xpos, HB_Fixed *ypos, hb…
248 HB_Fixed (*getFontMetric)(HB_Font font, HB_FontMetric metric);
282 HB_Fixed *advances; /* output: <num_glyphs> advances */
Dharfbuzz-shape.h33 typedef hb_uint32 HB_Fixed; /* 26.6 */ typedef
41 HB_Fixed advance;
148 HB_Fixed x_offset;
149 HB_Fixed y_offset;
150 HB_Fixed advance;
Dharfbuzz-buffer.h49 HB_Fixed x_pos;
50 HB_Fixed y_pos;
51 HB_Fixed x_advance;
52 HB_Fixed y_advance;
Dharfbuzz-global.h77 typedef hb_int32 HB_Fixed; /* 26.6 */ typedef
108 HB_Fixed x;
109 HB_Fixed y;
Dharfbuzz-gpos.h61 HB_Fixed* metric_value,
Dharfbuzz-shaper.cpp261 HB_Fixed size = item->font->klass->getFontMetric(item->font, HB_FontAscent) / 10; in positionCluster()
262 HB_Fixed offsetBase = HB_FIXED_CONSTANT(1) + (size - HB_FIXED_CONSTANT(4)) / 4; in positionCluster()
285 HB_Fixed offset = offsetBase; in positionCluster()
1275 HB_Fixed *advances = item->advances; in HB_OpenTypePosition()
1285 HB_Fixed adjustment = positions[i].x_advance; in HB_OpenTypePosition()
Dharfbuzz-gpos.c45 HB_Fixed anchor_x; /* the coordinates of the anchor point */
46 HB_Fixed anchor_y; /* of the last valid glyph */
66 HB_Fixed* metric_value, in default_mmfunc()
477 HB_Fixed value; in Get_ValueRecord()
718 HB_Fixed* x_value, in Get_Anchor()
719 HB_Fixed* y_value ) in Get_Anchor()
1803 HB_Fixed entry_x, entry_y; in Lookup_CursivePos()
1804 HB_Fixed exit_x, exit_y; in Lookup_CursivePos()
2220 HB_Fixed x_mark_value, y_mark_value, x_base_value, y_base_value; in Lookup_MarkBasePos()
2628 HB_Fixed x_mark_value, y_mark_value, x_lig_value, y_lig_value; in Lookup_MarkLigPos()
[all …]
/external/skia/legacy/src/ports/
DSkHarfBuzzFont.cpp16 static inline HB_Fixed SkScalarToHarfbuzzFixed(SkScalar value) { in SkScalarToHarfbuzzFixed()
18 return static_cast<HB_Fixed>(value * 64); in SkScalarToHarfbuzzFixed()
50 hb_uint32 numGlyphs, HB_Fixed* advances, int flags) { in glyphsToAdvances()
83 hb_uint32 index, HB_Fixed* xPos, HB_Fixed* yPos, in getOutlinePoint()
135 static HB_Fixed getFontMetric(HB_Font hbFont, HB_FontMetric metric) in getFontMetric()
/external/skia/src/ports/
DSkHarfBuzzFont.cpp16 static inline HB_Fixed SkScalarToHarfbuzzFixed(SkScalar value) { in SkScalarToHarfbuzzFixed()
18 return static_cast<HB_Fixed>(value * 64); in SkScalarToHarfbuzzFixed()
50 hb_uint32 numGlyphs, HB_Fixed* advances, int flags) { in glyphsToAdvances()
83 hb_uint32 index, HB_Fixed* xPos, HB_Fixed* yPos, in getOutlinePoint()
135 static HB_Fixed getFontMetric(HB_Font hbFont, HB_FontMetric metric) in getFontMetric()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DHarfbuzzSkia.cpp48 static HB_Fixed SkiaScalarToHarfbuzzFixed(SkScalar value) in SkiaScalarToHarfbuzzFixed()
76 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed*… in glyphsToAdvances()
122 …int(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed* xPos, HB_Fixed* yPos, hb… in getOutlinePoint()
175 static HB_Fixed getFontMetric(HB_Font hbFont, HB_FontMetric metric) in getFontMetric()
DFontAndroid.cpp402 static int truncateFixedPointToInteger(HB_Fixed value) in truncateFixedPointToInteger()
475 const HB_Fixed* advances() const { return m_item.advances; } in advances()
772 m_item.advances = new HB_Fixed[size]; in createGlyphArrays()
1086 const HB_Fixed* advances = walker.advances(); in glyphIndexForXPositionInScriptRun()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DHarfbuzzSkia.cpp52 static HB_Fixed SkiaScalarToHarfbuzzFixed(SkScalar value) in SkiaScalarToHarfbuzzFixed()
89 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed*… in glyphsToAdvances()
139 …int(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed* xPos, HB_Fixed* yPos, hb… in getOutlinePoint()
192 static HB_Fixed getFontMetric(HB_Font hbFont, HB_FontMetric metric) in getFontMetric()
DComplexTextControllerLinux.cpp44 static int truncateFixedPointToInteger(HB_Fixed value) in truncateFixedPointToInteger()
243 m_item.advances = new HB_Fixed[size]; in createGlyphArrays()
261 memset(m_item.advances, 0, size * sizeof(HB_Fixed)); in resetGlyphArrays()
DComplexTextControllerLinux.h101 const HB_Fixed* advances() const { return m_item.advances; } in advances()
DFontLinux.cpp172 static int truncateFixedPointToInteger(HB_Fixed value) in truncateFixedPointToInteger()
/external/harfbuzz/contrib/
Dharfbuzz-freetype.c37 HB_Fixed *advances, int flags) { in hb_freetype_advances_get()
68 hb_uint32 point, HB_Fixed *xpos, HB_Fixed *ypos, in hb_freetype_outline_point_get()
115 static HB_Fixed
/external/harfbuzz_ng/src/
Dhb-old.cc112 HB_Fixed *advances, in hb_old_getGlyphAdvances()
134 HB_Fixed *xpos, in hb_old_getPointInOutline()
135 HB_Fixed *ypos, in hb_old_getPointInOutline()
160 static HB_Fixed
331 sizeof (HB_Fixed) + in _hb_old_shape()
338 ALLOCATE_ARRAY (HB_Fixed, item.advances, num_glyphs); in _hb_old_shape()
/external/harfbuzz/tests/shaping/
Dmain.cpp82 …ces(HB_Font /*font*/, const HB_Glyph * /*glyphs*/, hb_uint32 numGlyphs, HB_Fixed *advances, int /*… in hb_getAdvances()
113 …tline(HB_Font font, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed *xpos, HB_Fixed *ypos, hb… in hb_getPointInOutline()
145 HB_Fixed hb_getFontMetric(HB_Font font, HB_FontMetric metric) in hb_getFontMetric()
241 QVarLengthArray<HB_Fixed> hb_advances(shaper_item.num_glyphs); in shaping()
254 memset(hb_advances.data(), 0, hb_advances.size() * sizeof(HB_Fixed)); in shaping()