mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
font: lower interface requirement for face
This commit is contained in:
@ -119,7 +119,7 @@ pub fn renderGlyph(
|
|||||||
|
|
||||||
// Uncached, render it
|
// Uncached, render it
|
||||||
const face = try self.group.faceFromIndex(index);
|
const face = try self.group.faceFromIndex(index);
|
||||||
const atlas: *Atlas = if (face.hasColor()) &self.atlas_color else &self.atlas_greyscale;
|
const atlas: *Atlas = if (face.presentation == .emoji) &self.atlas_color else &self.atlas_greyscale;
|
||||||
const glyph = self.group.renderGlyph(
|
const glyph = self.group.renderGlyph(
|
||||||
alloc,
|
alloc,
|
||||||
atlas,
|
atlas,
|
||||||
|
Reference in New Issue
Block a user