mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Fix constant scale factor in font code
This commit is contained in:
parent
b2226ac655
commit
af44154119
4 changed files with 36 additions and 22 deletions
|
|
@ -5,10 +5,12 @@
|
|||
#include <pango/pangocairo.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text, bool markup);
|
||||
PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text,
|
||||
int32_t scale, bool markup);
|
||||
void get_text_size(cairo_t *cairo, const char *font, int *width, int *height,
|
||||
bool markup, const char *fmt, ...);
|
||||
void pango_printf(cairo_t *cairo, const char *font, bool markup, const char *fmt, ...);
|
||||
int32_t scale, bool markup, const char *fmt, ...);
|
||||
void pango_printf(cairo_t *cairo, const char *font, int32_t scale, bool markup, const char *fmt, ...);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue