summaryrefslogtreecommitdiff
path: root/icon-themes/colibre/cmd/sc_basicshapes.hexagon.png
diff options
context:
space:
mode:
authorJonathan Clark <jonathan@libreoffice.org>2026-03-18 23:21:47 -0600
committerJonathan Clark <jonathan@libreoffice.org>2026-03-20 03:26:00 +0100
commit5257ad4ec11bafcc2765ef5bb3e8cfb37ac7742c (patch)
tree698f2cec8ed723c0d4079fe500b4059e1fc5b651 /icon-themes/colibre/cmd/sc_basicshapes.hexagon.png
parentb522bd8f7a19a8db515b19b98bcfefe696b647a7 (diff)
tdf#63011 vcl: Use localized font family names as aliasesHEADmaster
This change updates vcl to allow users and documents to reference fonts using any localized font family name, regardless of UI language. This extra lookup is performed as a first fallback, and is only performed if looking up the font family in the current UI language fails. This fixes an issue which caused document layout to change depending on UI language. LibreOffice writes the localized names of font families to documents in the current UI language. If documents containing such localized names were loaded under a different UI language, those fonts would be treated as missing and substituted in the usual platform specific manner. Depending on font, platform, and configuration, the substituted font may have been different than the user-intended font, even if all of the necessary fonts were installed on the system. The GUI has also been updated to treat fonts referenced in this way as present, rather than missing/substituted. The GUI still displays font family names from the document verbatim, without any attempt to translate them; this was done intentionally to make the GUI continue to represent the true state of the document. Users may manually type localized font family names to use them, but the GUI otherwise does not display or list these names. Change-Id: I19098a07f9d8c2cb810e0438dd8387a5fd6ee91f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202136 Reviewed-by: Jonathan Clark <jonathan@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'icon-themes/colibre/cmd/sc_basicshapes.hexagon.png')
0 files changed, 0 insertions, 0 deletions