1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

[text] support non-latin characters by dynamically adding them to atlas

This commit is contained in:
Emil Ernerfeldt
2020-09-09 14:24:13 +02:00
parent 0e870dae3e
commit bb367752cf
10 changed files with 178 additions and 103 deletions

View File

@@ -258,7 +258,7 @@ impl Painter {
u_sampler: &self.texture,
};
// Emilib outputs colors with premultiplied alpha:
// Egui outputs colors with premultiplied alpha:
let blend_func = glium::BlendingFunction::Addition {
source: glium::LinearBlendingFactor::One,
destination: glium::LinearBlendingFactor::OneMinusSourceAlpha,