1
0
Fork 0
forked from wry/wry

fontconfig: add bindings

This commit is contained in:
Julian Orth 2026-03-09 18:08:26 +01:00
parent 94816aec78
commit e01b385c89
5 changed files with 167 additions and 0 deletions

20
src/fontconfig/consts.rs Normal file
View file

@ -0,0 +1,20 @@
#![allow(dead_code)]
cenum! {
_FcMatchKind, FC_MATCH_KINDS;
FC_MATCH_PATTERN = 0,
FC_MATCH_FONT = 1,
FC_MATCH_SCAN = 2,
FC_MATCH_KIND_END = 3,
}
cenum! {
_FcResult, FC_RESULTS;
FC_RESULT_MATCH = 0,
FC_RESULT_NO_MATCH = 1,
FC_RESULT_TYPE_MISMATCH = 2,
FC_RESULT_NO_ID = 3,
FC_RESULT_OUT_OF_MEMORY = 4,
}