projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5fbae
)
[gdef] Implement getting contour point
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 29 Apr 2010 07:47:00 +0000
(
03:47
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 29 Apr 2010 07:47:00 +0000
(
03:47
-0400)
src/hb-ot-layout-gdef-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-gdef-private.hh
b/src/hb-ot-layout-gdef-private.hh
index
14bef8c
..
46d40ba
100644
(file)
--- a/
src/hb-ot-layout-gdef-private.hh
+++ b/
src/hb-ot-layout-gdef-private.hh
@@
-115,7
+115,10
@@
struct CaretValueFormat2
private:
inline int get_caret_value (hb_ot_layout_context_t *context, hb_codepoint_t glyph_id) const
{
- return /* TODO contour point */ 0;
+ /* TODO vertical */
+ hb_position_t x = 0, y = 0;
+ hb_font_get_contour_point (context->font, context->face, caretValuePoint, glyph_id, &x, &y);
+ return x;
}
inline bool sanitize (SANITIZE_ARG_DEF) {