mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
font: remove unused structs
This commit is contained in:
@ -48,15 +48,6 @@ pub const DesiredSize = struct {
|
||||
}
|
||||
};
|
||||
|
||||
/// Glyph index into a face.
|
||||
pub const GlyphIndex = struct {
|
||||
/// The index in the face.
|
||||
index: u32,
|
||||
|
||||
/// True if the glyph is a colored glyph.
|
||||
color: bool,
|
||||
};
|
||||
|
||||
/// A font variation setting. The best documentation for this I know of
|
||||
/// is actually the CSS font-variation-settings property on MDN:
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/CSS/font-variation-settings
|
||||
|
@ -7,7 +7,6 @@ const harfbuzz = @import("harfbuzz");
|
||||
const font = @import("../main.zig");
|
||||
const opentype = @import("../opentype.zig");
|
||||
const quirks = @import("../../quirks.zig");
|
||||
const GlyphIndex = font.face.GlyphIndex;
|
||||
|
||||
const log = std.log.scoped(.font_face);
|
||||
|
||||
|
Reference in New Issue
Block a user