-
Notifications
You must be signed in to change notification settings - Fork 226
ass_fontselect: add LIBASS_FORCE_FONTCONFIG env var #788
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
base: master
Are you sure you want to change the base?
Conversation
This simplifies testing fontconfig when on a platform with another preferred font provider.
Not a fan. What are you using for testing? mpv already provides |
This comes up for me when using the test utility (and especially |
I’m kinda indifferent to (not) adding an env var for this. At least the singling out of fontconfig seems a bit odd though. CoreText and DirectWrite can only occur on a single platform each and already are the highest prio provider there, so admittedly no |
I don’t follow; could you rephrase that? rcombs’s idea is that on systems that have both Fontconfig and another provider, this would let us more easily test the non-default Fontconfig, which is normally overridden by the other provider. |
Despite being named Currently fontconfig is the only system font provider existing on (some) platforms as the non-default choice. But we might also want to test for things working correctly with no system font provider at all (e.g. nothing crashes when no fallback can be found) or (albeit it seems unlikely atm) we might gain more multip-platform providers or additional platform-specific providers for an already existing platform (e.g. a GDI-only fontprovider). |
This simplifies testing fontconfig when on a platform with another preferred font provider.
Also improves docs for ASS_DefaultFontProvider.