Merge pull request #1325 from ONLYOFFICE/hotfix/v7.5.1

Hotfix/v7.5.1
This commit is contained in:
Oleg Korshul
2023-10-24 14:10:48 +03:00
committed by GitHub
668 changed files with 3173 additions and 2256 deletions

View File

@ -161,7 +161,7 @@ namespace _graphics_utils_
std::pair<float,float> calculate_size_symbol_asc(std::wstring name, double size, bool italic, bool bold , NSFonts::IApplicationFonts *appFonts)
{
if (name.empty())
name = L"Arial";
name = L"Calibri";
std::pair<float,float> val = cpdoccore::utils::GetMaxDigitSizePixels(name, size, 96., 0 , appFonts);