Dev3.0.15 use better font#235
Open
hiroshisuga wants to merge 22 commits intotest3015ForPRBetterJAFontfrom
Open
Dev3.0.15 use better font#235hiroshisuga wants to merge 22 commits intotest3015ForPRBetterJAFontfrom
hiroshisuga wants to merge 22 commits intotest3015ForPRBetterJAFontfrom
Conversation
This was referenced Sep 23, 2025
Open
Open
プロダクションモードでは、tldrawがfont-familyをinheritする設定が上書きしてしまう。今のところはこの変更なしでも大丈夫だが、少しだけ強い設定にしておくことにする。
もっと強い設定は
.tl-text[data-font="draw"],
.tl-text-shape__wrapper[data-font="draw"] .tl-text {
font-family: AMT, MRY, sans-serif;
}
これをやると、tldrawのfont-family: inherit設定が完全に上書きされる。
The change that ChatGPT suggested is probably not necessary.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You can switch using either A-M fonts or draw-KosugiMaru font (but need to struggle - by restarting the app, switching between dev and prod environments, etc - until the font cache evaporates..?)
This is an alternative (personal) solution of bigbluebutton#23938 .
To use it in the production mode, DO NOT forget removing the original /usr/share/bigbluebutton/html5-client/stylesheets/fonts.css.gz. Nginx provides primarily this file even if the new fonts.css file (uncompressed) is present. See bigbluebutton#24729 .
2026.3.12: add MG and MM fonts and use them as TimesNewRoman - MM - serif combination, but not so much improvement -> commented out for now.
To subset JP font,
% sudo apt install fonttools (already done on bbb1 server)
% pyftsubset XXX.TTC --font-number=0 --flavor=woff2 --output-file=XXX-subset.woff2 --unicodes=U+3000-303F,U+3040-309F,U+30A0-30FF,U+4E00-9FFF,U+FF00-FFEF --layout-features='*' --no-hinting