Fix typos.
This commit is contained in:
parent
148ca61075
commit
90218fa93c
|
@ -222,7 +222,7 @@ hb_blob_reference (hb_blob_t *blob)
|
|||
* hb_blob_destroy: (skip)
|
||||
* @blob: a blob.
|
||||
*
|
||||
* Descreases the reference count on @blob, and if it reaches zero, destroys
|
||||
* Decreases the reference count on @blob, and if it reaches zero, destroys
|
||||
* @blob, freeing all memory, possibly calling the destroy-callback the blob
|
||||
* was created for if it has not been called already.
|
||||
*
|
||||
|
|
|
@ -93,7 +93,7 @@ struct hb_buffer_t {
|
|||
hb_buffer_flags_t flags; /* BOT / EOT / etc. */
|
||||
hb_buffer_cluster_level_t cluster_level;
|
||||
hb_codepoint_t replacement; /* U+FFFD or something else. */
|
||||
hb_buffer_scratch_flags_t scratch_flags; /* Have space-flallback, etc. */
|
||||
hb_buffer_scratch_flags_t scratch_flags; /* Have space-fallback, etc. */
|
||||
unsigned int max_len; /* Maximum allowed len. */
|
||||
int max_ops; /* Maximum allowed operations. */
|
||||
|
||||
|
|
|
@ -879,7 +879,7 @@ parse_feature_value_postfix (const char **pp, const char *end, hb_feature_t *fea
|
|||
parse_bool (pp, end, &feature->value);
|
||||
/* CSS doesn't use equal-sign between tag and value.
|
||||
* If there was an equal-sign, then there *must* be a value.
|
||||
* A value without an eqaul-sign is ok, but not required. */
|
||||
* A value without an equal-sign is ok, but not required. */
|
||||
return !had_equal || had_value;
|
||||
}
|
||||
|
||||
|
|
|
@ -1218,7 +1218,7 @@ resize_and_retry:
|
|||
}
|
||||
|
||||
/* Mac OS 10.6 doesn't have kCTTypesetterOptionForcedEmbeddingLevel,
|
||||
* or if it does, it doesn't resepct it. So we get runs with wrong
|
||||
* or if it does, it doesn't respect it. So we get runs with wrong
|
||||
* directions. As such, disable the assert... It wouldn't crash, but
|
||||
* cursoring will be off...
|
||||
*
|
||||
|
|
|
@ -370,7 +370,7 @@ public:
|
|||
{
|
||||
if (textPosition == 0 || textPosition > mTextLength) {
|
||||
// Either there is no text before here (== 0), or this
|
||||
// is an invalid position. The query is considered valid thouh.
|
||||
// is an invalid position. The query is considered valid though.
|
||||
*textString = nullptr;
|
||||
*textLength = 0;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
*
|
||||
* - In the future, we should add constructors to create fonts in font space?
|
||||
*
|
||||
* - FT_Load_Glyph() is exteremely costly. Do something about it?
|
||||
* - FT_Load_Glyph() is extremely costly. Do something about it?
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ static const void *hb_graphite2_get_table (const void *data, unsigned int tag, s
|
|||
p->tag = tag;
|
||||
|
||||
/* TODO Not thread-safe, but fairly harmless.
|
||||
* We can do the double-chcked pointer cmpexch thing here. */
|
||||
* We can do the double-checked pointer cmpexch thing here. */
|
||||
p->next = face_data->tlist;
|
||||
face_data->tlist = p;
|
||||
}
|
||||
|
|
|
@ -299,7 +299,7 @@ struct FeatureParamsSize
|
|||
* better.
|
||||
*
|
||||
* Assume that the offset to the size feature is according to specification,
|
||||
* and make the following value checks. If it fails, assume the the size
|
||||
* and make the following value checks. If it fails, assume the size
|
||||
* feature is calculated as versions of MakeOTF before the AFDKO 2.0 built it.
|
||||
* If this fails, reject the 'size' feature. The older makeOTF's calculated the
|
||||
* offset from the beginning of the FeatureList table, rather than from the
|
||||
|
|
Loading…
Reference in New Issue