mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
render: use output's subpixel mode when rasterizing glyphs
This commit is contained in:
parent
4ca6e760f2
commit
6f83ef81e5
5 changed files with 79 additions and 1 deletions
|
|
@ -217,6 +217,7 @@ struct terminal {
|
|||
struct font *fonts[4];
|
||||
int font_dpi;
|
||||
int font_adjustments;
|
||||
enum subpixel_order font_subpixel;
|
||||
|
||||
tll(struct ptmx_buffer) ptmx_buffer;
|
||||
|
||||
|
|
@ -445,6 +446,8 @@ bool term_font_size_increase(struct terminal *term);
|
|||
bool term_font_size_decrease(struct terminal *term);
|
||||
bool term_font_size_reset(struct terminal *term);
|
||||
bool term_font_dpi_changed(struct terminal *term);
|
||||
void term_font_subpixel_changed(struct terminal *term);
|
||||
|
||||
|
||||
void term_damage_rows(struct terminal *term, int start, int end);
|
||||
void term_damage_rows_in_view(struct terminal *term, int start, int end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue