Skip to content

Commit

Permalink
(Upstream) Fonts: getReplacementChar(): add a few codepoints
Browse files Browse the repository at this point in the history
  • Loading branch information
virxkane authored and poire-z committed Aug 27, 2021
1 parent f92dba9 commit d46c5bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crengine/src/lvfntman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ static lChar32 getReplacementChar(lUInt32 code, bool * can_be_ignored = NULL) {
case 0x25AA: // css_lst_square:
case 0x25FE: // css_lst_square:
return '-';
case 0x21AF: // DOWNWARDS ZIGZAG ARROW
case 0x26A1: // HIGH VOLTAGE SIGN
case 0x2B4D: // DOWNWARDS TRIANGLE-HEADED ZIGZAG ARROW
case 0x1F5F2:// LIGHTNING MOOD
return '+';
default:
break;
}
Expand Down

0 comments on commit d46c5bd

Please sign in to comment.