mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +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
|
/// A font variation setting. The best documentation for this I know of
|
||||||
/// is actually the CSS font-variation-settings property on MDN:
|
/// is actually the CSS font-variation-settings property on MDN:
|
||||||
/// https://developer.mozilla.org/en-US/docs/Web/CSS/font-variation-settings
|
/// 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 font = @import("../main.zig");
|
||||||
const opentype = @import("../opentype.zig");
|
const opentype = @import("../opentype.zig");
|
||||||
const quirks = @import("../../quirks.zig");
|
const quirks = @import("../../quirks.zig");
|
||||||
const GlyphIndex = font.face.GlyphIndex;
|
|
||||||
|
|
||||||
const log = std.log.scoped(.font_face);
|
const log = std.log.scoped(.font_face);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user