mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 05:50:27 +00:00
font/freetype: update to new presentation APIs
This commit is contained in:
@@ -26,6 +26,12 @@ pub const Face = struct {
|
||||
return c.FT_HAS_COLOR(self.handle);
|
||||
}
|
||||
|
||||
/// A macro that returns true whenever a face object contains an ‘sbix’
|
||||
/// OpenType table and outline glyphs.
|
||||
pub fn hasSBIX(self: Face) bool {
|
||||
return c.FT_HAS_SBIX(self.handle);
|
||||
}
|
||||
|
||||
/// A macro that returns true whenever a face object contains some
|
||||
/// multiple masters.
|
||||
pub fn hasMultipleMasters(self: Face) bool {
|
||||
|
||||
Reference in New Issue
Block a user