aboutsummaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-16 20:06:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-16 20:06:06 +0000
commit81107753bf88b6add556838780cfa1c727ccb4c2 (patch)
tree53e2cb5e499cd9230fc5f38831dbd60c73406b5e /font.h
parentwip: render background and glyphs using pixman (diff)
render: replace all usage of cairo with pixman
Diffstat (limited to 'font.h')
-rw-r--r--font.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/font.h b/font.h
index d0ebb5bb..97c3ec5f 100644
--- a/font.h
+++ b/font.h
@@ -41,13 +41,13 @@ struct font {
double pixel_size_fixup; /* Scale factor - should only be used with ARGB32 glyphs */
struct {
- double position;
- double thickness;
+ int position;
+ int thickness;
} underline;
struct {
- double position;
- double thickness;
+ int position;
+ int thickness;
} strikeout;
bool is_fallback;