mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Rename font file to avoid windows legacy features
This commit is contained in:
parent
e155526808
commit
27ecd82193
Binary file not shown.
BIN
GameData/ConformalDecals/Resources/conformaldecals.decalfont
Normal file
BIN
GameData/ConformalDecals/Resources/conformaldecals.decalfont
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8580f3c17793051fdc08447401fb7920665ad681ff352588508044b662a3240b
|
|
||||||
size 364900
|
|
@ -36,6 +36,9 @@
|
|||||||
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||||
<HintPath>dlls/Assembly-CSharp.dll</HintPath>
|
<HintPath>dlls/Assembly-CSharp.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="KSPAssets, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>dlls\KSPAssets.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Shabby, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
<Reference Include="Shabby, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||||
<HintPath>dlls/Shabby.dll</HintPath>
|
<HintPath>dlls/Shabby.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
@ -8,7 +8,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
namespace ConformalDecals.Text {
|
namespace ConformalDecals.Text {
|
||||||
/// KSP database loader for KSPFont files which contain TextMeshPro font assets
|
/// KSP database loader for KSPFont files which contain TextMeshPro font assets
|
||||||
[DatabaseLoaderAttrib(new[] {"kspfont"})]
|
[DatabaseLoaderAttrib(new[] {"decalfont"})]
|
||||||
public class FontLoader : DatabaseLoader<GameDatabase.TextureInfo> {
|
public class FontLoader : DatabaseLoader<GameDatabase.TextureInfo> {
|
||||||
private const string FallbackName = "NotoSans-Regular SDF";
|
private const string FallbackName = "NotoSans-Regular SDF";
|
||||||
private static TMP_FontAsset _fallbackFont;
|
private static TMP_FontAsset _fallbackFont;
|
||||||
|
Loading…
Reference in New Issue
Block a user