Crate egui_chinese_font

Crate egui_chinese_font 

Source
Expand description

§egui-chinese-font

A simple crate to load Chinese fonts for egui applications.

This crate provides cross-platform support for loading system Chinese fonts and configuring them with egui applications.

§Usage

use egui_chinese_font::setup_chinese_fonts;
 
let ctx = egui::Context::default();
setup_chinese_fonts(&ctx);

Enums§

FontError
Error type for font loading operations

Functions§

get_chinese_font_paths
Get available Chinese font paths on the current system
setup_chinese_fonts
Setup Chinese fonts for egui context
setup_custom_chinese_font
Setup Chinese fonts with custom font data