diff --git a/src/font/face/coretext.zig b/src/font/face/coretext.zig index b44d9905a..9fb0774da 100644 --- a/src/font/face/coretext.zig +++ b/src/font/face/coretext.zig @@ -437,14 +437,15 @@ pub const Face = struct { // const units_per_em = ct_font.getUnitsPerEm(); // const units_per_point = @intToFloat(f64, units_per_em) / ct_font.getSize(); - std.log.warn("font size size={d}", .{ct_font.getSize()}); - std.log.warn("font metrics width={d}, height={d} baseline={d} underline_pos={d} underline_thickness={d}", .{ - cell_width, - cell_height, - cell_baseline, - underline_position, - underline_thickness, - }); + // std.log.warn("font size size={d}", .{ct_font.getSize()}); + // std.log.warn("font metrics width={d}, height={d} baseline={d} underline_pos={d} underline_thickness={d}", .{ + // cell_width, + // cell_height, + // cell_baseline, + // underline_position, + // underline_thickness, + // }); + return font.face.Metrics{ .cell_width = cell_width, .cell_height = cell_height, diff --git a/src/font/face/freetype.zig b/src/font/face/freetype.zig index 41c21bd37..eab180d62 100644 --- a/src/font/face/freetype.zig +++ b/src/font/face/freetype.zig @@ -475,15 +475,15 @@ pub const Face = struct { .thickness = underline_thickness, }; - log.warn("METRICS={} width={d} height={d} baseline={d} underline_pos={d} underline_thickness={d} strikethrough={}", .{ - size_metrics, - cell_width, - cell_height, - cell_height - cell_baseline, - underline_position, - underline_thickness, - strikethrough, - }); + // log.warn("METRICS={} width={d} height={d} baseline={d} underline_pos={d} underline_thickness={d} strikethrough={}", .{ + // size_metrics, + // cell_width, + // cell_height, + // cell_height - cell_baseline, + // underline_position, + // underline_thickness, + // strikethrough, + // }); return .{ .cell_width = cell_width,