mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Make math.bold
compatible with Greek digamma (#5316)
This commit is contained in:
parent
902088a237
commit
070e3144b3
@ -319,6 +319,13 @@ fn greek_exception(
|
|||||||
italic: bool,
|
italic: bool,
|
||||||
) -> Option<char> {
|
) -> Option<char> {
|
||||||
use MathVariant::*;
|
use MathVariant::*;
|
||||||
|
if c == 'Ϝ' && variant == Serif && bold {
|
||||||
|
return Some('𝟊');
|
||||||
|
}
|
||||||
|
if c == 'ϝ' && variant == Serif && bold {
|
||||||
|
return Some('𝟋');
|
||||||
|
}
|
||||||
|
|
||||||
let list = match c {
|
let list = match c {
|
||||||
'ϴ' => ['𝚹', '𝛳', '𝜭', '𝝧', '𝞡', 'ϴ'],
|
'ϴ' => ['𝚹', '𝛳', '𝜭', '𝝧', '𝞡', 'ϴ'],
|
||||||
'∇' => ['𝛁', '𝛻', '𝜵', '𝝯', '𝞩', '∇'],
|
'∇' => ['𝛁', '𝛻', '𝜵', '𝝯', '𝞩', '∇'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user