PDA

View Full Version : Some Fonts and not some Fonts.. displaying



gaffer666
March 29th, 2022, 22:45
Hi everyone,

I appear to be a little perplexed. Now I realise there has been a lot of posts regarding Fonts and there placement, compatibility, and so on and I have read through pretty much most of there, but I seem to have hit a wall. Basically, I have amended an existing Font ext file, made all the necessary alterations and it loads fine. No errors, no complaints, available in the language lists/options screen and all looks great... that is until I attempt to use the said fonts in party chat where for the life of me, it only wants to recognise 5 out of the 30 or so and those that it doesn't recognise I get a "WARNING Font (fontname) cannot be found" message in the log. Doesn't cause any play issues, locking up, etc. As I mentioned all the fonts are packaged in the .ext, everything is tagged but it will just not use them!

For reference; FGU Ultimate license, Win10 pro, Running Rolemaster Classic trying to use Golarion/Greyhawk font based .ext file, amended to run under RMC with new naming associations.

Any suggestions would be great and if this is not the best place to ask, please let me know.

Thanks in advance.

ps. If someone has already created an ext or knows where a Rolemaster Language extension exists then please let me know too.

Cheers.

Trenloe
March 30th, 2022, 00:03
Welcome to the FG forums.

I'm assuming you're referring to the languages setting for chat? If so, do you see all of the font names associated with a language in the Options -> Languages window? If not, try in a brand new campaign - enabling your extension when you create the new campaign - FG creates the languages data when it first loads the campaign.

gaffer666
March 30th, 2022, 00:17
Thanks Trenloe,

Yes all the languages are present in the language selection drop down, and I was able to assign them. I'll try a new campaign and see what happens.

gaffer666
March 30th, 2022, 00:32
Alas, not. Still only 5 out of 25 that work. The language list has been self populated this time though where previously I had to type them in. Any other thoughts?

gaffer666
March 30th, 2022, 00:52
Not sure if this will help but heres the code from the languages_extension.lua file:

GameSystem.languagefonts = {
[Interface.getString("language_value_Celestial-HighElf")] = "Celestial-HighElf",
[Interface.getString("language_value_Draconic-Dragon")] = "Draconic-Dragon",
[Interface.getString("language_value_Dwarven")] = "Dwarven",
[Interface.getString("language_value_Elven-GreyElf")] = "Elven-GreyElf",
[Interface.getString("language_value_Human-Hillman")] = "Human-Haid",
[Interface.getString("language_value_Uraki-Hirazi")] = "Lsr-Grtr-Hirazi",
[Interface.getString("language_value_Essence-Common")] = "Essence-Uscurac",
[Interface.getString("language_value_Language-of-Mentalists")] = "Mentalist",
[Interface.getString("language_value_Half-Elven")] = "Half-Elven-Duranaki",
[Interface.getString("language_value_Common-Emer")] = "Human-Shay",
[Interface.getString("language_value_Elven-WoodElf")] = "Elven-Erlini",
[Interface.getString("language_value_Symbols-Glyphs-Kronyt")] = "Channeling-Kronyt",
[Interface.getString("language_value_Human-Rhakhaanian")] = "Human-Zori",
[Interface.getString("language_value_Elven-Aquatic-Aquan")] = "Elven-Shuluri",
[Interface.getString("language_value_Orc-Lugroki")] = "Orc-Lugroki",
[Interface.getString("language_value_Human-Nomads")] = "Human-Y'kin-Rhiani",
[Interface.getString("language_value_Essence-PowerWords")] = "Essence-Xytos",
[Interface.getString("language_value_Garks-Goblin")] = "Goblin-Garks",
[Interface.getString("language_value_Druidic-Cleric")] = "Plants-Growth-Undead-Enruth",
[Interface.getString("language_value_Human-Woodmen")] = "Human-Jaaderi",
[Interface.getString("language_value_Essence-En-Runing")] = "Aludos-Runes",
[Interface.getString("language_value_Human-High-Men-Myri")] = "Human-Talath",
[Interface.getString("language_value_Thassilonian-Enris-Sokal")] = "Magic-StudyLanguage",
["Celestial-HighElf"] = "Celestial-HighElf",
["Draconic-Dragon"] = "Draconic-Dragon",
["Dwarven"] = "Dwarven",
["Elven-GreyElf"] = "Elven-GreyElf",
["Human-Hillman"] = "Human-Haid",
["Uraki-Hirazi"] = "Lsr-Grtr-Hirazi",
["Essence-Common"] = "Essence-Uscurac",
["Language-of-Mentalists"] = "Mentalist",
["Half-Elven"] = "Half-Elven-Duranaki",
["Common-Emer"] = "Human-Shay",
["Elven-WoodElf"] = "Elven-Erlini",
["Symbols-Glyphs-Kronyt"] = "Channeling-Kronyt",
["Human-Rhakhaanian"] = "Human-Zori",
["Elven-Aquatic-Aquan"] = "Elven-Shuluri",
["Orc-Lugroki"] = "Orc-Lugroki",
["Human-Nomads"] = "Human-Y'kin-Rhiani",
["Essence-PowerWords"] = "Essence-Xytos",
["Garks-Goblin"] = "Goblin-Garks",
["Druidic-Cleric"] = "Plants-Growth-Undead-Enruth",
["Human-Woodmen"] = "Human-Jaaderi",
["Essence-En-Runing"] = "Aludos-Runes",
["Human-High-Men-Myri"] = "Human-Talath",
["Thassilonian-Enris-Sokal"] = "Magic-StudyLanguage",
["To Be Assigned 1"] = "TBC1",
["To Be Assigned 2"] = "TBC2",
}

GameSystem.languages = {
[Interface.getString("language_value_Celestial-HighElf")] = "Celestial-HighElf",
[Interface.getString("language_value_Draconic-Dragon")] = "Draconic-Dragon",
[Interface.getString("language_value_Dwarven")] = "Dwarven",
[Interface.getString("language_value_Elven-GreyElf")] = "Elven-GreyElf",
[Interface.getString("language_value_Human-Hillman")] = "Human-Haid",
[Interface.getString("language_value_Uraki-Hirazi")] = "Lsr-Grtr-Hirazi",
[Interface.getString("language_value_Essence-Common")] = "Essence-Uscurac",
[Interface.getString("language_value_Language-of-Mentalists")] = "Mentalist",
[Interface.getString("language_value_Half-Elven")] = "Half-Elven-Duranaki",
[Interface.getString("language_value_Common-Emer")] = "Human-Shay",
[Interface.getString("language_value_Elven-WoodElf")] = "Elven-Erlini",
[Interface.getString("language_value_Symbols-Glyphs-Kronyt")] = "Channeling-Kronyt",
[Interface.getString("language_value_Human-Rhakhaanian")] = "Human-Zori",
[Interface.getString("language_value_Elven-Aquatic-Aquan")] = "Elven-Shuluri",
[Interface.getString("language_value_Orc-Lugroki")] = "Orc-Lugroki",
[Interface.getString("language_value_Human-Nomads")] = "Human-Y'kin-Rhiani",
[Interface.getString("language_value_Essence-PowerWords")] = "Essence-Xytos",
[Interface.getString("language_value_Garks-Goblin")] = "Goblin-Garks",
[Interface.getString("language_value_Druidic-Cleric")] = "Plants-Growth-Undead-Enruth",
[Interface.getString("language_value_Human-Woodmen")] = "Human-Jaaderi",
[Interface.getString("language_value_Essence-En-Runing")] = "Aludos-Runes",
[Interface.getString("language_value_Human-High-Men-Myri")] = "Human-Talath",
[Interface.getString("language_value_Thassilonian-Enris-Sokal")] = "Magic-StudyLanguage",
["Celestial-HighElf"] = "Celestial-HighElf",
["Draconic-Dragon"] = "Draconic-Dragon",
["Dwarven"] = "Dwarven",
["Elven-GreyElf"] = "Elven-GreyElf",
["Human-Hillman"] = "Human-Haid",
["Uraki-Hirazi"] = "Lsr-Grtr-Hirazi",
["Essence-Common"] = "Essence-Uscurac",
["Language-of-Mentalists"] = "Mentalist",
["Half-Elven"] = "Half-Elven-Duranaki",
["Common-Emer"] = "Human-Shay",
["Elven-WoodElf"] = "Elven-Erlini",
["Symbols-Glyphs-Kronyt"] = "Channeling-Kronyt",
["Human-Rhakhaanian"] = "Human-Zori",
["Elven-Aquatic-Aquan"] = "Elven-Shuluri",
["Orc-Lugroki"] = "Orc-Lugroki",
["Human-Nomads"] = "Human-Y'kin-Rhiani",
["Essence-PowerWords"] = "Essence-Xytos",
["Garks-Goblin"] = "Goblin-Garks",
["Druidic-Cleric"] = "Plants-Growth-Undead-Enruth",
["Human-Woodmen"] = "Human-Jaaderi",
["Essence-En-Runing"] = "Aludos-Runes",
["Human-High-Men-Myri"] = "Human-Talath",
["Thassilonian-Enris-Sokal"] = "Magic-StudyLanguage",
["To Be Assigned 1"] = "TBC1",
["To Be Assigned 2"] = "TBC2",

gaffer666
March 30th, 2022, 00:53
and this is the extension.xml file:

<base>
<script name="Languages_Extension" file="scripts/languages_extension.lua" />

<font name="Celestial-HighElf">
<ttf file="TTF Fonts/Espruar.ttf" name="Elven-Loari" size="18" />
<color value="#000000" />
</font>

<font name="To Be Assigned 1">
<ttf file="TTF Fonts/greekoldface.ttf" name="To Be Assigned 1" size="18" />
<color value="#000000" />
</font>

<font name="Draconic-Dragon">
<ttf file="TTF Fonts/LswDrachenklaueRegular.ttf" name="Draconic-Dragon" size="21" />
<color value="#000000" />
</font>

<font name="Dwarven">
<ttf file="TTF Fonts/ANGERTH.TTF" name="Dwarven" size="21" />
<color value="#000000" />
</font>

<font name="Elven-GreyElf">
<ttf file="TTF Fonts/tngan.ttf" name="Elven-Linaeri" size="21" />
<color value="#000000" />
</font>

<font name="Human-Hillman">
<ttf file="TTF Fonts/DSSinenya.ttf" name="Human-Haid" size="24" />
<color value="#000000" />
</font>

<font name="Uraki-Hirazi">
<ttf file="TTF Fonts/Mexlar.ttf" name="Lsr-Grtr-Hirazi" size="24" />
<color value="#000000" />
</font>

<font name="Essence-Common">
<ttf file="TTF Fonts/tengel.ttf" name="Essence-Uscurac" size="24" />
<color value="#000000" />
</font>

<font name="Language-of-Mentalists">
<ttf file="TTF Fonts/BethLuisFearn.ttf" name="Mentalist" size="15" />
<color value="#000000" />
</font>

<font name="Language to be Assigned 2">
<ttf file="TTF Fonts/tengela.ttf" name="To Be Assigned 2" size="15" />
<color value="#000000" />
</font>

<font name="Half-Elven">
<ttf file="TTF Fonts/Siddiqua.ttf" name="Half-Elven-Duranaki" size="21" />
<color value="#000000" />
</font>

<font name="Common-Emer">
<ttf file="TTF Fonts/Hetarosia.ttf" name="Human-Shay" size="21" />
<color value="#000000" />
</font>

<font name="Elven-WoodElf">
<ttf file="TTF Fonts/valmarel.ttf" name="Elven-Erlini" size="21" />
<color value="#000000" />
</font>

<font name="Symbols-Glyphs-Kronyt">
<ttf file="TTF Fonts/NYMAYA.TTF" name="Channeling-Kronyt" size="18" />
<color value="#000000" />
</font>

<font name="Human-Rhakhaanian">
<ttf file="TTF Fonts/CirnajaCalligraphy.ttf" name="Human-Zori" size="24" />
<color value="#000000" />
</font>

<font name="Elven-Aquatic-Aquan">
<ttf file="TTF Fonts/DSAqua1.ttf" name="Elven-Shuluri" size="27" />
<color value="#000000" />
</font>

<font name="Orc-Lugroki">
<ttf file="TTF Fonts/Edhiron.ttf" name="Orc-Lugroki" size="27" />
<color value="#000000" />
</font>

<font name="Human-Nomads">
<ttf file="TTF Fonts/TheNileSong.ttf" name="Human-Y'kin-Rhiani" size="18" />
<color value="#000000" />
</font>

<font name="Essence-PowerWords">
<ttf file="TTF Fonts/AncientThorass.ttf" name="Essence-Xytos" size="18" />
<color value="#000000" />
</font>

<font name="Garks-Goblin">
<ttf file="TTF Fonts/HyrrokkinRunic.ttf" name="Goblin-Garks" size="24" />
<color value="#000000" />
</font>

<font name="Druidic-Cleric">
<ttf file="TTF Fonts/DSNasilnese.ttf" name="Plants-Growth-Undead-Enruth" size="30" />
<color value="#000000" />
</font>

<font name="Human-Woodmen">
<ttf file="TTF Fonts/Sequoyah.ttf" name="Human-Jaaderi" size="21" />
<color value="#000000" />
</font>

<font name="Essence-En-Runing">
<ttf file="TTF Fonts/Dethek.ttf" name="Aludos-Runes" size="21" />
<color value="#000000" />
</font>

<font name="Human-High Men-Myri">
<ttf file="TTF Fonts/AjayNormal.ttf" name="Human-Talath" size="24" />
<color value="#000000" />
</font>

<font name="Thassilonian-Enris-Sokal">
<ttf file="TTF Fonts/ThassilonianRunesNew.ttf" name="Magic-StudyLanguage" size="24" />
<color value="#000000" />
</font>

</base>

gaffer666
March 30th, 2022, 01:05
And this is a typical line from my console.log

[3/30/2022 1:04:06 AM] [WARNING] chat: Could not find font (Human-Shay)

Trenloe
March 30th, 2022, 01:19
Use the name within the <font> tag, not the name within the <ttf> tag. Human-Shay should be Common-Emer based off the font definition listed above.

gaffer666
March 30th, 2022, 01:21
hmm ... I was wondering . Ok Thanks for the suggestion, I'll give that a go.

gaffer666
March 30th, 2022, 03:30
Thanks Trenloe, with a bit of shifting around and correction of various little errors in wording, etc. finally working like a charm. Appreciate the help.

I've attached the file for any ROLEMASTER nerds out there that be looking for a ready to use Language .ext file (it will state when loaded "Greyhawk and Golarian Languages and Fonts FGU - Amended for RMC" in the extensions panel so don't panic! :D).

I will sort out some of the font assignments when I have time as I think they could be better.

Thanks again,

Trenloe
March 30th, 2022, 06:05
Thanks Trenloe, with a bit of shifting around and correction of various little errors in wording, etc. finally working like a charm. Appreciate the help.
Glad you got it working! :)