projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecae8da
)
(xft_find_metric): Fix setting of g->lbrearing.
author
handa
<handa>
Tue, 15 Jun 2004 09:07:11 +0000
(09:07 +0000)
committer
handa
<handa>
Tue, 15 Jun 2004 09:07:11 +0000
(09:07 +0000)
src/m17n-X.c
patch
|
blob
|
history
diff --git
a/src/m17n-X.c
b/src/m17n-X.c
index
ebb0fd5
..
f1cc4f5
100644
(file)
--- a/
src/m17n-X.c
+++ b/
src/m17n-X.c
@@
-1640,7
+1640,7
@@
xft_find_metric (MRealizedFont *rfont, MGlyphString *gstring,
XftGlyphExtents (FRAME_DISPLAY (rfont->frame),
font_info->font_aa, &code, 1, &extents);
- g->lbearing = extents.x;
+ g->lbearing = - extents.x;
g->rbearing = extents.width - extents.x;
g->width = extents.xOff;
g->ascent = extents.y;