config: codepoint override font descriptors should not require monospace

This commit is contained in:
Mitchell Hashimoto
2023-09-24 20:36:07 -07:00
parent c2cc2b8f03
commit 41170bb4e0

View File

@ -1543,7 +1543,10 @@ pub const RepeatableCodepointMap = struct {
while (try p.next()) |range| { while (try p.next()) |range| {
try self.map.add(alloc, .{ try self.map.add(alloc, .{
.range = range, .range = range,
.descriptor = .{ .family = valueZ }, .descriptor = .{
.family = valueZ,
.monospace = false, // we allow any font
},
}); });
} }
} }