| Commit-Queue | +1 |
Hey guys! Working on continuing removing the defines. Have kept the CFX_Face::EmAdjust() function public for now so that other files that I have found can also use this function. Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The CL seems fine as a mechanical change, but maybe this should actually use NormalizeFontMetric() instead. There's multiple uses of it in the same file.
#include <cmath>Unrelated to this CL, but maybe for std::abs()?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
The CL seems fine as a mechanical change, but maybe this should actually use NormalizeFontMetric() instead. There's multiple uses of it in the same file.
Aryan KrishnanI assume you meant replace EmAdjust with NormalizeFontMetric. Done, also repurposed the <cmath> include for `std::roundll()` as a way to combine the + 0.5 and static_cast<> steps.
Aryan KrishnanDone
Replacing it with NormalizeFontMetric is causing a couple tests to fail. Undoing this.
#include <cmath>Unrelated to this CL, but maybe for std::abs()?
Aryan KrishnanNot sure what you meant but the import was just me experimenting with `std::roundll()`, which I now added in the latest patchset.
Nevermind, removed.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Aryan KrishnanThe CL seems fine as a mechanical change, but maybe this should actually use NormalizeFontMetric() instead. There's multiple uses of it in the same file.
Aryan KrishnanI assume you meant replace EmAdjust with NormalizeFontMetric. Done, also repurposed the <cmath> include for `std::roundll()` as a way to combine the + 0.5 and static_cast<> steps.
Aryan KrishnanDone
Replacing it with NormalizeFontMetric is causing a couple tests to fail. Undoing this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |