git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062138c
)
fixed text selection with alignzones
author
Matthias Kramm
<kramm@quiss.org>
Tue, 1 Dec 2009 02:28:58 +0000
(18:28 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Tue, 1 Dec 2009 02:29:19 +0000
(18:29 -0800)
lib/pdf/InfoOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/InfoOutputDev.cc
b/lib/pdf/InfoOutputDev.cc
index
a142c77
..
6e20426
100644
(file)
--- a/
lib/pdf/InfoOutputDev.cc
+++ b/
lib/pdf/InfoOutputDev.cc
@@
-144,8
+144,8
@@
static gfxfont_t* createGfxFont(FontInfo*src)
double scale = 1;
//printf("%d glyphs\n", font->num_glyphs);
font->num_glyphs = 0;
- font->ascent = fabs(src->descender);
- font->descent = fabs(src->ascender);
+ font->ascent = fabs(src->ascender);
+ font->descent = fabs(src->descender);
for(t=0;t<src->num_glyphs;t++) {
if(src->glyphs[t]) {