font: remove unused structs

This commit is contained in:
Mitchell Hashimoto
2024-05-28 20:56:47 -07:00
parent 6a8dc12ae1
commit 9a628d8a8e
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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);