-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: different font for name/guild/server and others for CJK characters #250
Comments
TipTac currently overrides the default font objects of the GameTooltip (e.g. GameTooltipText, GameTooltipHeaderText) with the new font settings. There's currently no function available to determine, if a line in the GameTooltip contains player/guild names. The only idea I have is to add an option to set an alternative font for the first lines with player/guild names of a unit tooltip (after modifying player/guild names). But this will not cover e.g. other addons showing additional infos which includes also player names. But I think the only "right/real" solution is to use a font which covers all characters to be displayed. |
It would be good enough. (Maybe also add the last line for player target?) Describe the solution you'd like: It's impossible to find universal fonts (Pan-CJK font) for all font families which are used in game. I've tried that before. There are several Chinese font families: |
Is your feature request related to a problem? Please describe.
The default fonts in game don't cover all available characters.
For example, the default fonts in Taiwanese servers (Traditional Chinese) could not correctly display: 1) Simplified Chinese characters 2) some "character-like punctuation marks" 3) Latin letters with diacritical marks (e.g. [à]) 4) Nordic characters (e.g. [Æ]).
If such character appears, all characters in the block will be changed to "fall-back fonts", which is Kaiti in simplified operation system, and none in traditional operation system (displays empty blocks).
Setting a CJK font (e.g. Google Noto CJK Sans) in Options/Font can display these characters, but all fonts in the tips are also changed.
See pictures below:
(Correct 1 & 2: all characters in player name are Traditional Chinese or basic Latin letters)
(Incorrect 3: player name and guild name in Simplified Chinese)
(Incorrect 4: player name in Traditional Chinese, but guild name in Simplified Chinese)
(Incorrect 5: player name is "Æsir")
(After changing the font of picture 4. New font: Noto CJK Sans, through LibSharedMedia)
Describe the solution you'd like
Since these "irregular characters" can only appear in: 1) character names 2) guild names and ranks 3) target names (if it targets another player), a solutions is to allow seperate fonts be used in these fields.
Add a new option in Options/Font: "Only modify name-related fonts".
Describe alternatives you've considered
Haven't come up with another idea yet.
Additional context
Noto CJK fonts
https://en.wikipedia.org/wiki/Noto_fonts
The text was updated successfully, but these errors were encountered: