New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework windows font collector #107
Rework windows font collector #107
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eea7006 - Browse repository at this point
Copy the full SHA eea7006View commit details -
[src\font_file_lister_gdi] Rework GDI FontCollector to use DirectWrite
This replaces all the logic of using the Windows registry to obtain the font path by using DirectWrite. The goal is simply to improve the quality of the code. This doesn't change any functionality
Configuration menu - View commit details
-
Copy full SHA for 042f0c5 - Browse repository at this point
Copy the full SHA 042f0c5View commit details -
[src\meson.build] Remove Uniscribe has dependency
Uniscribe was only used for the FontCollector. Since we now use DirectWrite, we don't need it anymore.
Configuration menu - View commit details
-
Copy full SHA for 11cc16d - Browse repository at this point
Copy the full SHA 11cc16dView commit details -
[src\dialog_fonts_collector] Catch exceptions that FontCollector may …
…raise On Windows, the initialization of the FontCollector can raise an exception
Configuration menu - View commit details
-
Copy full SHA for e3107ac - Browse repository at this point
Copy the full SHA e3107acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a3643f - Browse repository at this point
Copy the full SHA 6a3643fView commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ea6a339 - Browse repository at this point
Copy the full SHA ea6a339View commit details
Commits on Feb 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for de1d3e3 - Browse repository at this point
Copy the full SHA de1d3e3View commit details
Commits on Mar 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7d099da - Browse repository at this point
Copy the full SHA 7d099daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9697588 - Browse repository at this point
Copy the full SHA 9697588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5212d1c - Browse repository at this point
Copy the full SHA 5212d1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9af7c22 - Browse repository at this point
Copy the full SHA 9af7c22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 863d427 - Browse repository at this point
Copy the full SHA 863d427View commit details
Commits on Mar 3, 2024
-
[src\font_file_lister_gdi] Replace WCHAR param of normalizeFilePathCa…
…se to std::wstring
Configuration menu - View commit details
-
Copy full SHA for 38a5a99 - Browse repository at this point
Copy the full SHA 38a5a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62813a6 - Browse repository at this point
Copy the full SHA 62813a6View commit details
Commits on Mar 5, 2024
-
[src\font_file_lister_gdi] Use IDWriteFontFace::GetSimulations to det…
…ect fake_italic/fake_bold See this comment: arch1t3cht#107 (comment)
Configuration menu - View commit details
-
Copy full SHA for 83f8c7f - Browse repository at this point
Copy the full SHA 83f8c7fView commit details
Commits on Mar 8, 2024
-
[src\font_file_lister_gdi] If Win7/8 has Win 10 SDK on compile time, …
…correctly verify if font has character(s) With the Visual Studio 2019 toolchain on Windows 7, it installs the Windows 10 SDK by default. Because of this, ``HAVE_DWRITE_3`` is true, so the ``QueryInterface`` always fails. Now, if the ``QueryInterface`` fails, we try to verify if the font has characters with a Windows Vista SP2 compatible code.
Configuration menu - View commit details
-
Copy full SHA for 2988f79 - Browse repository at this point
Copy the full SHA 2988f79View commit details
Commits on Mar 16, 2024
-
[src\font_file_lister_gdi] Support facename that contains only whites…
…pace AND truncated facename Problem 1: Previously, if a user wrote "\fn ", it would return the font Arial, which is not what we want. This is because when we request EnumFontFamiliesEx with whitespace or an empty lfFaceName, it will enumerate all the installed fonts. Solution 1: To resolve this issue, let's implement a solution similar to libass to determine if the selected facename exists: https://github.com/libass/libass/blob/649a7c2e1fc6f4188ea1a89968560715800b883d/libass/ass_directwrite.c#L737-L747 Problem 2: GDI truncates font names to 31 characters. See: libass/libass#459 However, since I changed the method to determine if a facename exists, I ensured that we still support this "feature". To test this, I used the font in: libass/libass#710
Configuration menu - View commit details
-
Copy full SHA for fd08ee2 - Browse repository at this point
Copy the full SHA fd08ee2View commit details
Commits on Mar 17, 2024
-
[src\font_file_lister_gdi] Add a FIXME comment regarding the utilizat…
…ion of std::wstring over WCHAR
Configuration menu - View commit details
-
Copy full SHA for 44b81fd - Browse repository at this point
Copy the full SHA 44b81fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17a3f48 - Browse repository at this point
Copy the full SHA 17a3f48View commit details