[dwrite] Cosmetic change (#963)
This commit is contained in:
parent
09d5e54688
commit
cb3fa70cd4
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* Copyright © 2015-2018 Ebrahim Byagowi
|
||||
*
|
||||
* This is part of HarfBuzz, a text shaping library.
|
||||
|
@ -304,8 +304,8 @@ public:
|
|||
|
||||
inline bool ContainsTextPosition (uint32_t aTextPosition) const
|
||||
{
|
||||
return aTextPosition >= mTextStart
|
||||
&& aTextPosition < mTextStart + mTextLength;
|
||||
return aTextPosition >= mTextStart &&
|
||||
aTextPosition < mTextStart + mTextLength;
|
||||
}
|
||||
|
||||
Run *nextRun;
|
||||
|
@ -488,8 +488,7 @@ protected:
|
|||
mCurrentRun = run;
|
||||
return;
|
||||
}
|
||||
//NS_NOTREACHED ("We should always be able to find the text position in one \
|
||||
// of our runs");
|
||||
// NS_NOTREACHED ("We should always be able to find the text position in one of our runs");
|
||||
}
|
||||
|
||||
void SplitCurrentRun (uint32_t splitPosition)
|
||||
|
|
|
@ -31,7 +31,8 @@ HB_BEGIN_DECLS
|
|||
|
||||
HB_EXTERN hb_bool_t
|
||||
hb_directwrite_shape_experimental_width (hb_font_t *font, hb_buffer_t *buffer,
|
||||
const hb_feature_t *features, unsigned int num_features, float width);
|
||||
const hb_feature_t *features,
|
||||
unsigned int num_features, float width);
|
||||
|
||||
HB_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in New Issue