mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
Minor touch-up for recent change
This commit is contained in:
1 parent
3348992844
commit
5ee1e451cf
1 file changed
+3
-3
@@ -60,13 +60,13 @@ struct AxisValueMap
|
||||
|
||||
struct SegmentMaps : ArrayOf<AxisValueMap>
|
||||
{
|
||||
int map (int value, unsigned int from_stride = 0, unsigned int to_stide = 1) const
|
||||
int map (int value, unsigned int from_offset = 0, unsigned int to_offset = 1) const
|
||||
{
|
||||
#define fromCoord coords[from_offset]
|
||||
#define toCoord coords[to_offset]
|
||||
/* The following special-cases are not part of OpenType, which requires
|
||||
* that at least -1, 0, and +1 must be mapped. But we include these as
|
||||
* part of a better error recovery scheme. */
|
||||
#define fromCoord coords[from_stride]
|
||||
#define toCoord coords[to_stide]
|
||||
if (len < 2)
|
||||
{
|
||||
if (!len)
|
||||
|
||||
Reference in new issue
Block a user