projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b287b12
)
fix pixelsize when using pango (set_size != set_absolute_size)
author
Mikael Magnusson
<mikachu@comhem.se>
Sun, 15 Jan 2006 11:39:55 +0000
(11:39 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sun, 15 Jan 2006 11:39:55 +0000
(11:39 +0000)
render/font.c
patch
|
blob
|
history
diff --git
a/render/font.c
b/render/font.c
index f46bb660cdb2b7aded0da3be6c9589dda71598dc..cb76767154a632f04d7c04da4c449d7b7177c70c 100644
(file)
--- a/
render/font.c
+++ b/
render/font.c
@@
-130,7
+130,7
@@
static RrFont *openfont(const RrInstance *inst, gchar *fontstring)
if (FcPatternGetInteger(match, "pixelsize", 0, &tmp_int) !=
FcResultTypeMismatch) {
/* TODO: is PANGO_SCALE correct ?? */
- pango_font_description_set_size(out->pango_font_description,
+ pango_font_description_set_
absolute_
size(out->pango_font_description,
tmp_int*PANGO_SCALE);
}