aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/font/face
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libghostty-vt/src/font/face')
-rw-r--r--vendor/libghostty-vt/src/font/face/coretext.zig2
-rw-r--r--vendor/libghostty-vt/src/font/face/freetype.zig4
-rw-r--r--vendor/libghostty-vt/src/font/face/web_canvas.zig2
3 files changed, 4 insertions, 4 deletions
diff --git a/vendor/libghostty-vt/src/font/face/coretext.zig b/vendor/libghostty-vt/src/font/face/coretext.zig
index 1d133388..cd8bc7d8 100644
--- a/vendor/libghostty-vt/src/font/face/coretext.zig
+++ b/vendor/libghostty-vt/src/font/face/coretext.zig
@@ -291,7 +291,7 @@ pub const Face = struct {
alloc: Allocator,
atlas: *font.Atlas,
glyph_index: u32,
- opts: font.face.RenderOptions,
+ opts: font.Glyph.RenderOptions,
) !font.Glyph {
var glyphs = [_]macos.graphics.Glyph{@intCast(glyph_index)};
diff --git a/vendor/libghostty-vt/src/font/face/freetype.zig b/vendor/libghostty-vt/src/font/face/freetype.zig
index 528f72d5..d04fe180 100644
--- a/vendor/libghostty-vt/src/font/face/freetype.zig
+++ b/vendor/libghostty-vt/src/font/face/freetype.zig
@@ -393,7 +393,7 @@ pub const Face = struct {
}
/// Get a rect that represents the position and size of the loaded glyph.
- fn getGlyphSize(glyph: freetype.c.FT_GlyphSlot) font.face.GlyphSize {
+ fn getGlyphSize(glyph: freetype.c.FT_GlyphSlot) font.Glyph.Size {
// If we're dealing with an outline glyph then we get the
// outline's bounding box instead of using the built-in
// metrics, since that's more precise and allows better
@@ -427,7 +427,7 @@ pub const Face = struct {
alloc: Allocator,
atlas: *font.Atlas,
glyph_index: u32,
- opts: font.face.RenderOptions,
+ opts: font.Glyph.RenderOptions,
) !Glyph {
self.ft_mutex.lock();
defer self.ft_mutex.unlock();
diff --git a/vendor/libghostty-vt/src/font/face/web_canvas.zig b/vendor/libghostty-vt/src/font/face/web_canvas.zig
index b4f9f5d5..a36a482d 100644
--- a/vendor/libghostty-vt/src/font/face/web_canvas.zig
+++ b/vendor/libghostty-vt/src/font/face/web_canvas.zig
@@ -189,7 +189,7 @@ pub const Face = struct {
alloc: Allocator,
atlas: *font.Atlas,
glyph_index: u32,
- opts: font.face.RenderOptions,
+ opts: font.Glyph.RenderOptions,
) !font.Glyph {
_ = opts;