diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-05 09:46:05 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-05 09:46:05 +0000 |
commit | 1468eef301a59346adc47ef19a740f4e2c3737a2 (patch) | |
tree | ee16c08d185100385231849da505310cf6e9ff5e /lisp/emacs-lisp/inline.el | |
parent | 30caeb789659441f8feb76b24f3d0b1f60125085 (diff) | |
download | emacs-1468eef301a59346adc47ef19a740f4e2c3737a2.tar.gz emacs-1468eef301a59346adc47ef19a740f4e2c3737a2.tar.bz2 emacs-1468eef301a59346adc47ef19a740f4e2c3737a2.zip |
Speed up opening fonts on Haiku
* src/font.h (font_property_index): Note that some font drivers
use the extra data in a font entity to store driver-specific
information.
* src/haiku_font_support.cc (BFont_find): Set font indices.
(be_open_font_at_index): New function.
(BFont_open_pattern): Clean up coding style.
* src/haiku_support.h (enum haiku_font_specification)
(struct haiku_font_pattern): New fields and specifications for
indices.
* src/haikufont.c (haikufont_pattern_to_entity, haikufont_open):
Use indices to open fonts if available in the extra data.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions