Open AEFeinstein opened 2 weeks ago
Looks good to me, except the item font here seems a little weird (the lowercase a
and e
get chopped a bit) - is this just because the outline is the same color as the background?
is this just because the outline is the same color as the background?
Wait, I can just try it and see!
Yeah, it looks fine with a non-background color even though the thin letters are still technically chopped up. So I think it's a non-issue for this PR.
Yeah, I made the decision to draw the outline on this inside edge of the font rather than the outside edge so that the outline font would be the exact same size and could be drawn without any offsets. The downside is that thin fonts don't take it so great.
Description
Added a way to create outline fonts, which can be drawn over an existing font to outline it.
Add a way to have the mania renderer allocate and free its own fonts.
Test Instructions
The outline font is used in the mania menu renderer.
Ticket Links
219
Readiness Checklist
make format
to format the changesmake cppcheck
and checked thatcppcheck_result.txt
has no warnings for the changes/*! \file
comments with Design Philosophy, Usage, and Example sections for new headers.make docs
and checked thatdoxy_warnings.txt
has no warnings for the new code