Add chinese fonts, charset, readme
This commit is contained in:
@@ -9,3 +9,12 @@ If you're developing a translation into a non-English language like Vietnamese a
|
||||
## 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.
|
||||
|
||||
|
||||
## Chinese Font Notes
|
||||
|
||||
For Chinese, Noto Sans SC seems to cover all characters, but ask the translation team which font they wish to use in case they have a preferred one.
|
||||
|
||||
Noto Sans SC: https://fonts.google.com/noto/specimen/Noto+Sans+SC
|
||||
|
||||
One team used "WenQuanYi Micro Hei Mono - Regular"
|
||||
21
assets/fonts/rei-chinese-font-assets/Readme.md
Normal file
21
assets/fonts/rei-chinese-font-assets/Readme.md
Normal file
@@ -0,0 +1,21 @@
|
||||
Font objects for Rei (Ch.9) for Chinese
|
||||
|
||||
See scripts\CharacterInfoExtraction\msgothic_2_charset_ZH_and_JP.txt
|
||||
|
||||
Texture is 4096x4096 resolution
|
||||
|
||||
## Material edits to fix font weight and outline
|
||||
|
||||
To fix the font weight and outline, I copied the material settings from my build Unity project and modified the material:
|
||||
- "_WeightNormal" was 0 in vanilla, now set to 0.75 (equivalent to 'bold')
|
||||
- "_OutlineWidth" was 0.15 ? in vanilla, now set to 0.2. Unsure if the engine overrides this value
|
||||
- texture resolution changd from 2048 to 4096, unsure if this changes anything
|
||||
- various settings copied from built unity project, unsure if they do anything
|
||||
|
||||
## Charset Used
|
||||
|
||||
Translator supplied 'commonly used 3500 characters', which I merged with JP charset to get `msgothic_2_charset_ZH_and_JP.txt` in the `scripts/CharacterInfoExtraction` folder.
|
||||
|
||||
## Font Used
|
||||
|
||||
"WenQuanYi Micro Hei Mono - Regular"
|
||||
Binary file not shown.
@@ -0,0 +1,375 @@
|
||||
0 Material Base
|
||||
1 string m_Name = "msgothic_2 SDF Material"
|
||||
0 PPtr<Shader> m_Shader
|
||||
0 int m_FileID = 0
|
||||
0 SInt64 m_PathID = 69
|
||||
1 string m_ShaderKeywords = "UNDERLAY_ON"
|
||||
0 unsigned int m_LightmapFlags = 4
|
||||
0 bool m_EnableInstancingVariants = false
|
||||
1 bool m_DoubleSidedGI = false
|
||||
0 int m_CustomRenderQueue = -1
|
||||
0 map stringTagMap
|
||||
0 Array Array (0 items)
|
||||
0 int size = 0
|
||||
0 vector disabledShaderPasses
|
||||
1 Array Array (0 items)
|
||||
0 int size = 0
|
||||
0 UnityPropertySheet m_SavedProperties
|
||||
0 map m_TexEnvs
|
||||
0 Array Array (5 items)
|
||||
0 int size = 5
|
||||
[0]
|
||||
0 pair data
|
||||
1 string first = "_BumpMap"
|
||||
0 UnityTexEnv second
|
||||
0 PPtr<Texture> m_Texture
|
||||
0 int m_FileID = 0
|
||||
0 SInt64 m_PathID = 0
|
||||
0 Vector2f m_Scale
|
||||
0 float x = 1
|
||||
0 float y = 1
|
||||
0 Vector2f m_Offset
|
||||
0 float x = 0
|
||||
0 float y = 0
|
||||
[1]
|
||||
0 pair data
|
||||
1 string first = "_Cube"
|
||||
0 UnityTexEnv second
|
||||
0 PPtr<Texture> m_Texture
|
||||
0 int m_FileID = 0
|
||||
0 SInt64 m_PathID = 0
|
||||
0 Vector2f m_Scale
|
||||
0 float x = 1
|
||||
0 float y = 1
|
||||
0 Vector2f m_Offset
|
||||
0 float x = 0
|
||||
0 float y = 0
|
||||
[2]
|
||||
0 pair data
|
||||
1 string first = "_FaceTex"
|
||||
0 UnityTexEnv second
|
||||
0 PPtr<Texture> m_Texture
|
||||
0 int m_FileID = 0
|
||||
0 SInt64 m_PathID = 0
|
||||
0 Vector2f m_Scale
|
||||
0 float x = 1
|
||||
0 float y = 1
|
||||
0 Vector2f m_Offset
|
||||
0 float x = 0
|
||||
0 float y = 0
|
||||
[3]
|
||||
0 pair data
|
||||
1 string first = "_MainTex"
|
||||
0 UnityTexEnv second
|
||||
0 PPtr<Texture> m_Texture
|
||||
0 int m_FileID = 0
|
||||
0 SInt64 m_PathID = 68
|
||||
0 Vector2f m_Scale
|
||||
0 float x = 1
|
||||
0 float y = 1
|
||||
0 Vector2f m_Offset
|
||||
0 float x = 0
|
||||
0 float y = 0
|
||||
[4]
|
||||
0 pair data
|
||||
1 string first = "_OutlineTex"
|
||||
0 UnityTexEnv second
|
||||
0 PPtr<Texture> m_Texture
|
||||
0 int m_FileID = 0
|
||||
0 SInt64 m_PathID = 0
|
||||
0 Vector2f m_Scale
|
||||
0 float x = 1
|
||||
0 float y = 1
|
||||
0 Vector2f m_Offset
|
||||
0 float x = 0
|
||||
0 float y = 0
|
||||
0 map m_Floats
|
||||
0 Array Array (51 items)
|
||||
0 int size = 51
|
||||
[0]
|
||||
0 pair data
|
||||
1 string first = "_Ambient"
|
||||
0 float second = 0.5
|
||||
[1]
|
||||
0 pair data
|
||||
1 string first = "_Bevel"
|
||||
0 float second = 0.5
|
||||
[2]
|
||||
0 pair data
|
||||
1 string first = "_BevelClamp"
|
||||
0 float second = 0
|
||||
[3]
|
||||
0 pair data
|
||||
1 string first = "_BevelOffset"
|
||||
0 float second = 0
|
||||
[4]
|
||||
0 pair data
|
||||
1 string first = "_BevelRoundness"
|
||||
0 float second = 0
|
||||
[5]
|
||||
0 pair data
|
||||
1 string first = "_BevelWidth"
|
||||
0 float second = 0
|
||||
[6]
|
||||
0 pair data
|
||||
1 string first = "_BumpFace"
|
||||
0 float second = 0
|
||||
[7]
|
||||
0 pair data
|
||||
1 string first = "_BumpOutline"
|
||||
0 float second = 0
|
||||
[8]
|
||||
0 pair data
|
||||
1 string first = "_ColorMask"
|
||||
0 float second = 15
|
||||
[9]
|
||||
0 pair data
|
||||
1 string first = "_CullMode"
|
||||
0 float second = 0
|
||||
[10]
|
||||
0 pair data
|
||||
1 string first = "_Diffuse"
|
||||
0 float second = 0.5
|
||||
[11]
|
||||
0 pair data
|
||||
1 string first = "_FaceDilate"
|
||||
0 float second = 0
|
||||
[12]
|
||||
0 pair data
|
||||
1 string first = "_FaceUVSpeedX"
|
||||
0 float second = 0
|
||||
[13]
|
||||
0 pair data
|
||||
1 string first = "_FaceUVSpeedY"
|
||||
0 float second = 0
|
||||
[14]
|
||||
0 pair data
|
||||
1 string first = "_GlowInner"
|
||||
0 float second = 0.0500000007
|
||||
[15]
|
||||
0 pair data
|
||||
1 string first = "_GlowOffset"
|
||||
0 float second = 0
|
||||
[16]
|
||||
0 pair data
|
||||
1 string first = "_GlowOuter"
|
||||
0 float second = 0.0500000007
|
||||
[17]
|
||||
0 pair data
|
||||
1 string first = "_GlowPower"
|
||||
0 float second = 0.75
|
||||
[18]
|
||||
0 pair data
|
||||
1 string first = "_GradientScale"
|
||||
0 float second = 6
|
||||
[19]
|
||||
0 pair data
|
||||
1 string first = "_LightAngle"
|
||||
0 float second = 3.14159989
|
||||
[20]
|
||||
0 pair data
|
||||
1 string first = "_MaskSoftnessX"
|
||||
0 float second = 0
|
||||
[21]
|
||||
0 pair data
|
||||
1 string first = "_MaskSoftnessY"
|
||||
0 float second = 0
|
||||
[22]
|
||||
0 pair data
|
||||
1 string first = "_OutlineSoftness"
|
||||
0 float second = 0
|
||||
[23]
|
||||
0 pair data
|
||||
1 string first = "_OutlineUVSpeedX"
|
||||
0 float second = 0
|
||||
[24]
|
||||
0 pair data
|
||||
1 string first = "_OutlineUVSpeedY"
|
||||
0 float second = 0
|
||||
[25]
|
||||
0 pair data
|
||||
1 string first = "_OutlineWidth"
|
||||
0 float second = 0.200000003
|
||||
[26]
|
||||
0 pair data
|
||||
1 string first = "_PerspectiveFilter"
|
||||
0 float second = 0.875
|
||||
[27]
|
||||
0 pair data
|
||||
1 string first = "_Reflectivity"
|
||||
0 float second = 10
|
||||
[28]
|
||||
0 pair data
|
||||
1 string first = "_ScaleRatioA"
|
||||
0 float second = 0.833333313
|
||||
[29]
|
||||
0 pair data
|
||||
1 string first = "_ScaleRatioB"
|
||||
0 float second = 0.677083313
|
||||
[30]
|
||||
0 pair data
|
||||
1 string first = "_ScaleRatioC"
|
||||
0 float second = 0.677083313
|
||||
[31]
|
||||
0 pair data
|
||||
1 string first = "_ScaleX"
|
||||
0 float second = 1
|
||||
[32]
|
||||
0 pair data
|
||||
1 string first = "_ScaleY"
|
||||
0 float second = 1
|
||||
[33]
|
||||
0 pair data
|
||||
1 string first = "_ShaderFlags"
|
||||
0 float second = 0
|
||||
[34]
|
||||
0 pair data
|
||||
1 string first = "_Sharpness"
|
||||
0 float second = 0
|
||||
[35]
|
||||
0 pair data
|
||||
1 string first = "_SpecularPower"
|
||||
0 float second = 2
|
||||
[36]
|
||||
0 pair data
|
||||
1 string first = "_Stencil"
|
||||
0 float second = 0
|
||||
[37]
|
||||
0 pair data
|
||||
1 string first = "_StencilComp"
|
||||
0 float second = 8
|
||||
[38]
|
||||
0 pair data
|
||||
1 string first = "_StencilOp"
|
||||
0 float second = 0
|
||||
[39]
|
||||
0 pair data
|
||||
1 string first = "_StencilReadMask"
|
||||
0 float second = 255
|
||||
[40]
|
||||
0 pair data
|
||||
1 string first = "_StencilWriteMask"
|
||||
0 float second = 255
|
||||
[41]
|
||||
0 pair data
|
||||
1 string first = "_TextureHeight"
|
||||
0 float second = 4096
|
||||
[42]
|
||||
0 pair data
|
||||
1 string first = "_TextureWidth"
|
||||
0 float second = 4096
|
||||
[43]
|
||||
0 pair data
|
||||
1 string first = "_UnderlayDilate"
|
||||
0 float second = 0
|
||||
[44]
|
||||
0 pair data
|
||||
1 string first = "_UnderlayOffsetX"
|
||||
0 float second = 0
|
||||
[45]
|
||||
0 pair data
|
||||
1 string first = "_UnderlayOffsetY"
|
||||
0 float second = 0
|
||||
[46]
|
||||
0 pair data
|
||||
1 string first = "_UnderlaySoftness"
|
||||
0 float second = 0.754999995
|
||||
[47]
|
||||
0 pair data
|
||||
1 string first = "_VertexOffsetX"
|
||||
0 float second = 0
|
||||
[48]
|
||||
0 pair data
|
||||
1 string first = "_VertexOffsetY"
|
||||
0 float second = 0
|
||||
[49]
|
||||
0 pair data
|
||||
1 string first = "_WeightBold"
|
||||
0 float second = 0.75
|
||||
[50]
|
||||
0 pair data
|
||||
1 string first = "_WeightNormal"
|
||||
0 float second = 0.75
|
||||
0 map m_Colors
|
||||
0 Array Array (10 items)
|
||||
0 int size = 10
|
||||
[0]
|
||||
0 pair data
|
||||
1 string first = "_ClipRect"
|
||||
0 ColorRGBA second
|
||||
0 float r = -32767
|
||||
0 float g = -32767
|
||||
0 float b = 32767
|
||||
0 float a = 32767
|
||||
[1]
|
||||
0 pair data
|
||||
1 string first = "_EnvMatrixRotation"
|
||||
0 ColorRGBA second
|
||||
0 float r = 0
|
||||
0 float g = 0
|
||||
0 float b = 0
|
||||
0 float a = 0
|
||||
[2]
|
||||
0 pair data
|
||||
1 string first = "_FaceColor"
|
||||
0 ColorRGBA second
|
||||
0 float r = 1
|
||||
0 float g = 1
|
||||
0 float b = 1
|
||||
0 float a = 1
|
||||
[3]
|
||||
0 pair data
|
||||
1 string first = "_GlowColor"
|
||||
0 ColorRGBA second
|
||||
0 float r = 0
|
||||
0 float g = 1
|
||||
0 float b = 0
|
||||
0 float a = 0.5
|
||||
[4]
|
||||
0 pair data
|
||||
1 string first = "_MaskCoord"
|
||||
0 ColorRGBA second
|
||||
0 float r = 0
|
||||
0 float g = 0
|
||||
0 float b = 32767
|
||||
0 float a = 32767
|
||||
[5]
|
||||
0 pair data
|
||||
1 string first = "_OutlineColor"
|
||||
0 ColorRGBA second
|
||||
0 float r = 0
|
||||
0 float g = 0
|
||||
0 float b = 0
|
||||
0 float a = 1
|
||||
[6]
|
||||
0 pair data
|
||||
1 string first = "_ReflectFaceColor"
|
||||
0 ColorRGBA second
|
||||
0 float r = 0
|
||||
0 float g = 0
|
||||
0 float b = 0
|
||||
0 float a = 1
|
||||
[7]
|
||||
0 pair data
|
||||
1 string first = "_ReflectOutlineColor"
|
||||
0 ColorRGBA second
|
||||
0 float r = 0
|
||||
0 float g = 0
|
||||
0 float b = 0
|
||||
0 float a = 1
|
||||
[8]
|
||||
0 pair data
|
||||
1 string first = "_SpecularColor"
|
||||
0 ColorRGBA second
|
||||
0 float r = 1
|
||||
0 float g = 1
|
||||
0 float b = 1
|
||||
0 float a = 1
|
||||
[9]
|
||||
0 pair data
|
||||
1 string first = "_UnderlayColor"
|
||||
0 ColorRGBA second
|
||||
0 float r = 0
|
||||
0 float g = 0
|
||||
0 float b = 0
|
||||
0 float a = 0.5
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.1 MiB |
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user