egui: add integration
This commit is contained in:
parent
85b9b7222d
commit
008e8a671a
49 changed files with 4110 additions and 149 deletions
|
|
@ -34,14 +34,12 @@ pub enum FontconfigError {
|
|||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[expect(dead_code)]
|
||||
pub struct Font {
|
||||
pub fullname: String,
|
||||
pub file: PathBuf,
|
||||
pub index: Option<i32>,
|
||||
}
|
||||
|
||||
#[expect(dead_code)]
|
||||
pub fn match_font(family: &str) -> Result<Font, FontconfigError> {
|
||||
thread_local! {
|
||||
static CONFIG: *mut FcConfig = FcConfigGetCurrent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue