Closed bynect closed 5 months ago
I just noticed that my editor removed some space 😅
Looking back at it, I am quite at loss as to why the ci failed
Looking back at it, I am quite at loss as to why the ci failed
It seems the test failed because of some other reason. Pushing some code should re-run the test (I cannot find the button to re-run).
Does it fallback to the second font in the list or to some other font on the system? It should fallback to the second font in the system, but I'm not sure why that's not happening. Do you have an idea?
Does it fallback to the second font in the list or to some other font on the system? It should fallback to the second font in the system, but I'm not sure why that's not happening. Do you have an idea?
According to pango docs it should fallback using system font settings (so ignoring the given font list). But it seems like this works only on supported systems (fontconfig and maybe others).
@bynect could you push this branch, so the CI runs again? You might need to make a small change, which you can revert afterwards.
@fwsmit I removed the change in the bar code and force pushed
Attention: 4 lines
in your changes are missing coverage. Please review.
Comparison is base (
19865c0
) 66.03% compared to head (0d9c9d5
) 65.43%. Report is 45 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/draw.c | 20.00% | 4 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@fwsmit I removed the change in the bar code and force pushed
Thanks! The tests pass now, so I'll go ahead an merge!
This is a simple addition to text rendering that allows fallback fonts. This improved my experience with #1211 when using a monospace with font awesome glyphs.
However this is not a complete solution! The problem with multiple fonts is in pango design. It allows only one font to be loaded when rendering. In this patch I simply add the pango attribute for font fallback.