This is a fork of https://github.com/swaywm/sway that replaces pango with https://codeberg.org/dnkl/fcft for font rendering. Note: do not use the master branch; use one of the fontconfig branches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
634 B

#pragma once
/* The various components of sway often forget to pull in headers that they get for free from e.g. pango */
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <limits.h>
#include <signal.h>
#include <sys/types.h>
typedef void PangoLayout;
typedef void PangoContext;
#define pango_cairo_font_map_set_default(ptr)
#define pango_cairo_create_context(cr) (void *)NULL;
#define pango_layout_set_width(layout, width)
#define pango_layout_set_wrap(layout, wrap)
#define pango_layout_set_single_paragraph_mode(layout, mode)
#define pango_cairo_update_layout(cr, layout)
#define g_object_unref(ptr) (void)(ptr)