staticbool is_reversed(const uint32_t* clusters, uint32_t count) { // "ReversedChars" is how PDF deals with RTL text. // return true if more than one cluster and monotonicly decreasing to zero. if (count < 2 || clusters[0] == 0 || clusters[count - 1] != 0) { returnfalse;
} for (uint32_t i = 0; i + 1 < count; ++i) { if (clusters[i + 1] > clusters[i]) { returnfalse;
}
} returntrue;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.