Skip to content

Commit

Permalink
Add hou+ font
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Feb 3, 2024
1 parent f3c8d89 commit 5f6e07d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
6 changes: 5 additions & 1 deletion assets/fonts/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ msgothic_0 is used for Japanese only and is based off of MS Gothic

msgothic_2 is used for English and is based off of PT Sans

If you're developing a translation into a non-English language like Vietnamese and you find that the font is missing characters needed for your language, try renaming the two `msgothic_2 for non-English` files over the PT Sans ones. These are based off of Deja-Vu Sans which has support for more languages than PT Sans does.
If you're developing a translation into a non-English language like Vietnamese and you find that the font is missing characters needed for your language, try renaming the two `msgothic_2 for non-English` files over the PT Sans ones. These are based off of Deja-Vu Sans which has support for more languages than PT Sans does.

## Hou Plus Notes

Hou Plus uses a single font file (msgothic_2). You will need to use the 'combined' list which contains both 'OtherLang' and Japanese characters.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/fonts/hou-plus/Information.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This font was generated using Unity 2019.4.40f1.
See screenshot for settings used, but note:
- Use SDFAA initially until everything looks correct as it is way faster than SDF32, then use SDF32 for final pass
- I've used "Auto Sizing" which doesn't guarentee a fixed font size in-game, so you'll need to adjust the font size in the init.txt if you add or remove a huge amount of characters.
See folder assets\files-hou-plus for the raw .dat files
4 changes: 4 additions & 0 deletions scripts/CharacterInfoExtraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ I had originally made these for personal use and wasn't thinking about publishin
Download Swift [here](https://swift.org/download/) for Ubuntu or macOS, it also appears to be [on the AUR](https://aur.archlinux.org/packages/swift/) for Arch users and on the main Fedora repo as `swift-lang`. Compile a script with `swiftc -O scriptFile.swift` or run it directly with `swift -O scriptFile.swift arguments`, though that will be fairly slow if you plan to run the script multiple times.

Documentation coming soon™

## Hou Plus Notes

Hou Plus uses a single font file for both languages, so you need to use the 'combined' list which contains both 'OtherLang' and Japanese characters `msgothic_2_charset_JP_and_OtherLang.txt`.

0 comments on commit 5f6e07d

Please sign in to comment.