renderer: Include arrows block in constrained symbols (#9189)
Fixes #8693 **Before** <img width="164" height="47" alt="Screenshot 2025-10-13 at 14 00 28" src="https://github.com/user-attachments/assets/df42df51-7706-4285-8c91-d79e227999ed" /> **After** <img width="164" height="47" alt="Screenshot 2025-10-13 at 14 01 14" src="https://github.com/user-attachments/assets/c1ca314e-a2ad-47b2-9bcf-d4200db173f5" /> The effect is somewhat subtle with my combination of fonts. See #8693 for the more egregious examples that this fixes.pull/9192/head
parent
5f287774a6
commit
14b441be1e
|
|
@ -41,6 +41,7 @@ fn computeIsSymbol(
|
|||
_ = tracking;
|
||||
const block = data.block;
|
||||
data.is_symbol = data.general_category == .other_private_use or
|
||||
block == .arrows or
|
||||
block == .dingbats or
|
||||
block == .emoticons or
|
||||
block == .miscellaneous_symbols or
|
||||
|
|
|
|||
|
|
@ -238,6 +238,7 @@ pub fn isCovering(cp: u21) bool {
|
|||
/// Returns true of the codepoint is a "symbol-like" character, which
|
||||
/// for now we define as anything in a private use area, and anything
|
||||
/// in several unicode blocks:
|
||||
/// - Arrows
|
||||
/// - Dingbats
|
||||
/// - Emoticons
|
||||
/// - Miscellaneous Symbols
|
||||
|
|
|
|||
Loading…
Reference in New Issue