Reapply "IFontAtlas: font atlas per plugin"

This reverts commit b5696afe94.
This commit is contained in:
Soreepeong 2024-01-19 07:26:56 +09:00
parent b5696afe94
commit 63b16bcc7c
44 changed files with 7944 additions and 1500 deletions

View file

@ -3,7 +3,7 @@ namespace Dalamud.Interface.GameFonts;
/// <summary>
/// Enum of available game fonts in specific sizes.
/// </summary>
public enum GameFontFamilyAndSize : int
public enum GameFontFamilyAndSize
{
/// <summary>
/// Placeholder meaning unused.
@ -15,6 +15,7 @@ public enum GameFontFamilyAndSize : int
///
/// Contains Japanese characters in addition to Latin characters. Used in game for the whole UI.
/// </summary>
[GameFontFamilyAndSize("common/font/AXIS_96.fdt", "common/font/font{0}.tex", -1)]
Axis96,
/// <summary>
@ -22,6 +23,7 @@ public enum GameFontFamilyAndSize : int
///
/// Contains Japanese characters in addition to Latin characters. Used in game for the whole UI.
/// </summary>
[GameFontFamilyAndSize("common/font/AXIS_12.fdt", "common/font/font{0}.tex", -1)]
Axis12,
/// <summary>
@ -29,6 +31,7 @@ public enum GameFontFamilyAndSize : int
///
/// Contains Japanese characters in addition to Latin characters. Used in game for the whole UI.
/// </summary>
[GameFontFamilyAndSize("common/font/AXIS_14.fdt", "common/font/font{0}.tex", -1)]
Axis14,
/// <summary>
@ -36,6 +39,7 @@ public enum GameFontFamilyAndSize : int
///
/// Contains Japanese characters in addition to Latin characters. Used in game for the whole UI.
/// </summary>
[GameFontFamilyAndSize("common/font/AXIS_18.fdt", "common/font/font{0}.tex", -1)]
Axis18,
/// <summary>
@ -43,6 +47,7 @@ public enum GameFontFamilyAndSize : int
///
/// Contains Japanese characters in addition to Latin characters. Used in game for the whole UI.
/// </summary>
[GameFontFamilyAndSize("common/font/AXIS_36.fdt", "common/font/font{0}.tex", -4)]
Axis36,
/// <summary>
@ -50,6 +55,7 @@ public enum GameFontFamilyAndSize : int
///
/// Serif font. Contains mostly ASCII range. Used in game for job names.
/// </summary>
[GameFontFamilyAndSize("common/font/Jupiter_16.fdt", "common/font/font{0}.tex", -1)]
Jupiter16,
/// <summary>
@ -57,6 +63,7 @@ public enum GameFontFamilyAndSize : int
///
/// Serif font. Contains mostly ASCII range. Used in game for job names.
/// </summary>
[GameFontFamilyAndSize("common/font/Jupiter_20.fdt", "common/font/font{0}.tex", -1)]
Jupiter20,
/// <summary>
@ -64,6 +71,7 @@ public enum GameFontFamilyAndSize : int
///
/// Serif font. Contains mostly ASCII range. Used in game for job names.
/// </summary>
[GameFontFamilyAndSize("common/font/Jupiter_23.fdt", "common/font/font{0}.tex", -1)]
Jupiter23,
/// <summary>
@ -71,6 +79,7 @@ public enum GameFontFamilyAndSize : int
///
/// Serif font. Contains mostly numbers. Used in game for flying texts.
/// </summary>
[GameFontFamilyAndSize("common/font/Jupiter_45.fdt", "common/font/font{0}.tex", -2)]
Jupiter45,
/// <summary>
@ -78,6 +87,7 @@ public enum GameFontFamilyAndSize : int
///
/// Serif font. Contains mostly ASCII range. Used in game for job names.
/// </summary>
[GameFontFamilyAndSize("common/font/Jupiter_46.fdt", "common/font/font{0}.tex", -2)]
Jupiter46,
/// <summary>
@ -85,6 +95,7 @@ public enum GameFontFamilyAndSize : int
///
/// Serif font. Contains mostly numbers. Used in game for flying texts.
/// </summary>
[GameFontFamilyAndSize("common/font/Jupiter_90.fdt", "common/font/font{0}.tex", -4)]
Jupiter90,
/// <summary>
@ -92,6 +103,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly numbers. Used in game for HP/MP/IL stuff.
/// </summary>
[GameFontFamilyAndSize("common/font/Meidinger_16.fdt", "common/font/font{0}.tex", -1)]
Meidinger16,
/// <summary>
@ -99,6 +111,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly numbers. Used in game for HP/MP/IL stuff.
/// </summary>
[GameFontFamilyAndSize("common/font/Meidinger_20.fdt", "common/font/font{0}.tex", -1)]
Meidinger20,
/// <summary>
@ -106,6 +119,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly numbers. Used in game for HP/MP/IL stuff.
/// </summary>
[GameFontFamilyAndSize("common/font/Meidinger_40.fdt", "common/font/font{0}.tex", -4)]
Meidinger40,
/// <summary>
@ -113,6 +127,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_10.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid10,
/// <summary>
@ -120,6 +135,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_12.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid12,
/// <summary>
@ -127,6 +143,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_14.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid14,
/// <summary>
@ -134,6 +151,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_18.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid18,
/// <summary>
@ -141,6 +159,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_36.fdt", "common/font/font{0}.tex", -2)]
MiedingerMid36,
/// <summary>
@ -148,6 +167,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally narrow. Contains mostly ASCII range. Used for addon titles.
/// </summary>
[GameFontFamilyAndSize("common/font/TrumpGothic_184.fdt", "common/font/font{0}.tex", -1)]
TrumpGothic184,
/// <summary>
@ -155,6 +175,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally narrow. Contains mostly ASCII range. Used for addon titles.
/// </summary>
[GameFontFamilyAndSize("common/font/TrumpGothic_23.fdt", "common/font/font{0}.tex", -1)]
TrumpGothic23,
/// <summary>
@ -162,6 +183,7 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally narrow. Contains mostly ASCII range. Used for addon titles.
/// </summary>
[GameFontFamilyAndSize("common/font/TrumpGothic_34.fdt", "common/font/font{0}.tex", -1)]
TrumpGothic34,
/// <summary>
@ -169,5 +191,6 @@ public enum GameFontFamilyAndSize : int
///
/// Horizontally narrow. Contains mostly ASCII range. Used for addon titles.
/// </summary>
[GameFontFamilyAndSize("common/font/TrumpGothic_68.fdt", "common/font/font{0}.tex", -3)]
TrumpGothic68,
}