Revert "IFontAtlas: font atlas per plugin"

This commit is contained in:
goat 2024-01-18 21:37:05 +01:00 committed by KazWolfe
parent 14c5ad1605
commit b5696afe94
44 changed files with 1499 additions and 7943 deletions

View file

@ -3,7 +3,7 @@ namespace Dalamud.Interface.GameFonts;
/// <summary>
/// Enum of available game fonts in specific sizes.
/// </summary>
public enum GameFontFamilyAndSize
public enum GameFontFamilyAndSize : int
{
/// <summary>
/// Placeholder meaning unused.
@ -15,7 +15,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -23,7 +22,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -31,7 +29,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -39,7 +36,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -47,7 +43,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -55,7 +50,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -63,7 +57,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -71,7 +64,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -79,7 +71,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -87,7 +78,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -95,7 +85,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -103,7 +92,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -111,7 +99,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -119,7 +106,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -127,7 +113,6 @@ public enum GameFontFamilyAndSize
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_10.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid10,
/// <summary>
@ -135,7 +120,6 @@ public enum GameFontFamilyAndSize
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_12.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid12,
/// <summary>
@ -143,7 +127,6 @@ public enum GameFontFamilyAndSize
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_14.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid14,
/// <summary>
@ -151,7 +134,6 @@ public enum GameFontFamilyAndSize
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_18.fdt", "common/font/font{0}.tex", -1)]
MiedingerMid18,
/// <summary>
@ -159,7 +141,6 @@ public enum GameFontFamilyAndSize
///
/// Horizontally wide. Contains mostly ASCII range.
/// </summary>
[GameFontFamilyAndSize("common/font/MiedingerMid_36.fdt", "common/font/font{0}.tex", -2)]
MiedingerMid36,
/// <summary>
@ -167,7 +148,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -175,7 +155,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -183,7 +162,6 @@ public enum GameFontFamilyAndSize
///
/// 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>
@ -191,6 +169,5 @@ public enum GameFontFamilyAndSize
///
/// Horizontally narrow. Contains mostly ASCII range. Used for addon titles.
/// </summary>
[GameFontFamilyAndSize("common/font/TrumpGothic_68.fdt", "common/font/font{0}.tex", -3)]
TrumpGothic68,
}