Skip to content
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

Raise fatal font errors in Mux task in log output #34

Open
begna112 opened this issue Jul 29, 2021 · 0 comments
Open

Raise fatal font errors in Mux task in log output #34

begna112 opened this issue Jul 29, 2021 · 0 comments

Comments

@begna112
Copy link

When a font isn't found (fatal error), it should actually indicate that it is an error in the log output, rather than "warning". That should make it easier for the user to identify which fonts are causing issues. In a case where lots of fonts are being used, this can save significant time.

Validating fonts for Maid Dragon S2 - 04 [TV Final].ass...
warning: font 'KBPlanetEarth' not found on line(s): 8795 8799 8802 8805 8808 8811 8814 8817 8818 8821
warning: faux bold used for font AltonaBold (requested weight 400, got 5) on line(s): 4871 4872 4873 4874 4875 4888 4889 4890 
.............

> Task :mux.04.TV FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mux.04.TV'.
> one or more fatal font-related issues encountered

should respect whatever settings are specified with the following, if not default:

onMissingGlyphs(ErrorMode.WARN)
onMissingFonts(ErrorMode.FAIL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant