loading multiple fonts
-
i have loaded two fonts but they display at the same weight (medium in this case). Using only one of the two fonts works well in both bold and medium. Any ideas for this behaviour? I am using labels to display the fonts by selecting the new font names. (restart makes no difference)
-
S Straticah marked this topic as a question on
-
Yes, this is how I'm doing it - https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/includes/LookAndFeel.js#L22
Try the same font as me and see if it works.
-
@Straticah I don't have a solution for you but I would encourage you to check how they look on different operating systems too.
-
@Straticah I know that some fonts may have different sizes depending on the operating system, but I haven't seen this before.
Are you sure you didn't copy two identical fonts, Bold and Medium, into the font folder?
Have you checked it on a different operating system?
-
@orange the font family is the same but i tried all of them, bold, semibold, regular... individually they all work well. But not more than one at the same time for some reason.
even another font from another family.
it is the correct way of using multiple fonts tho?
-
Yes, this is how I'm doing it - https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/includes/LookAndFeel.js#L22
Try the same font as me and see if it works.
-
-
S Straticah has marked this topic as solved on