]> git.eshelyaron.com Git - emacs.git/commit
Respect `:antialias' on Haiku
authorPo Lu <luangruo@yahoo.com>
Mon, 20 Jun 2022 02:16:34 +0000 (02:16 +0000)
committerPo Lu <luangruo@yahoo.com>
Mon, 20 Jun 2022 02:16:34 +0000 (02:16 +0000)
commit382f7920abcf7df46b5b44462c6c71de54454b0e
tree62bd89a944b4bbed4da9f0c8760653450d23d1c8
parent9a6b6b1887c62b2f5aee75e213bd1f62bc6577f6
Respect `:antialias' on Haiku

* src/haiku_font_support.cc (BFont_find): Pass through
FSPEC_ANTIALIAS.
(be_set_font_antialiasing): New function.

* src/haiku_support.h (enum haiku_font_specification): New enum
FSPEC_ANTIALIAS.
(struct haiku_font_pattern): New field `use_antialiasing'.

* src/haikufont.c (haikufont_pattern_to_entity)
(haikufont_spec_or_entity_to_pattern, haikufont_open): Respect
antialiasing.
(syms_of_haikufont): New defsym `:indices'.
src/haiku_font_support.cc
src/haiku_support.h
src/haikufont.c