Compare commits

...
2 Commits
Author SHA1 Message Date
translators ee2b2ac12a Update: Translations from eints
czech: 1 change by adamek0202
2026-09-11 09:05:22 +00:00
Peter NelsonandGitHub 34919f318f Change: Allow font size to be changed with default truetype font (#16000) 2026-09-11 07:34:41 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ static bool IsDefaultFont(const FontCacheSubSetting &setting)
uint GetFontCacheFontSize(FontSize fs)
{
const FontCacheSubSetting &setting = *GetFontCacheSubSetting(fs);
return IsDefaultFont(setting) ? FontCache::GetDefaultFontHeight(fs) : setting.size;
return IsDefaultFont(setting) && setting.size == 0 ? FontCache::GetDefaultFontHeight(fs) : setting.size;
}
#if defined(WITH_FREETYPE) || defined(_WIN32) || defined(WITH_COCOA)
+1 -1
View File
@@ -5469,7 +5469,7 @@ STR_ERROR_BRIDGE_TOO_LONG :most je příli
STR_ERROR_BRIDGE_THROUGH_MAP_BORDER :most by končil mimo mapu
STR_ERROR_BRIDGE_TOO_LOW_FOR_STATION :{WHITE}Most je o {HEIGHT} moc nízko pro stanici
STR_ERROR_BRIDGE_TOO_LOW_FOR_ROADSTOP :{WHITE}Most je o {HEIGHT} moc nízký pro konec silnice
STR_ERROR_BRIDGE_TOO_LOW_FOR_DOCK :{WHITE}Most je o {HEIGHT} moc nízko pro přístav
STR_ERROR_BRIDGE_TOO_LOW_FOR_DOCK :most je o {HEIGHT} moc nízko pro přístav
STR_ERROR_BRIDGE_TOO_LOW_FOR_BUOY :{WHITE}Most s výškou {HEIGHT} moc nízko pro bójku
STR_ERROR_BRIDGE_TOO_LOW_FOR_RAIL_WAYPOINT :{WHITE}Most je o {HEIGHT} moc nízko pro směřování
STR_ERROR_BRIDGE_TOO_LOW_FOR_ROAD_WAYPOINT :{WHITE}Most je o {HEIGHT} moc nízko pro směřování