usp10: Some spelling fixes.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-04-05 12:39:23 +03:00 committed by Alexandre Julliard
parent 9aa8b1847f
commit 9da5adce66
2 changed files with 11 additions and 11 deletions

View file

@ -1188,7 +1188,7 @@ static void GPOS_convert_design_units_to_device(LPOUTLINETEXTMETRICW lpotm, LPLO
*devX = (desX * emHeight) / (double)lpotm->otmEMSquare;
*devY = (desY * emHeight) / (double)lpotm->otmEMSquare;
if (lplogfont->lfWidth)
FIXME("Font with lfWidth set no handled properly\n");
FIXME("Font with lfWidth set not handled properly\n");
}
static INT GPOS_get_value_record(WORD ValueFormat, const WORD data[], GPOS_ValueRecord *record)
@ -1491,7 +1491,7 @@ static int GPOS_apply_MarkToBase(ScriptCache *psc, const OT_LookupTable *look, c
ma = (const GPOS_MarkArray*)((const BYTE*)mbpf1 + offset);
if (mark_index > GET_BE_WORD(ma->MarkCount))
{
ERR("Mark index exeeded mark count\n");
ERR("Mark index exceeded mark count\n");
return -1;
}
mr = &ma->MarkRecord[mark_index];
@ -1561,7 +1561,7 @@ static VOID GPOS_apply_MarkToLigature(const OT_LookupTable *look, const SCRIPT_A
ma = (const GPOS_MarkArray*)((const BYTE*)mlpf1 + offset);
if (mark_index > GET_BE_WORD(ma->MarkCount))
{
ERR("Mark index exeeded mark count\n");
ERR("Mark index exceeded mark count\n");
return;
}
mr = &ma->MarkRecord[mark_index];
@ -1571,7 +1571,7 @@ static VOID GPOS_apply_MarkToLigature(const OT_LookupTable *look, const SCRIPT_A
la = (const GPOS_LigatureArray*)((const BYTE*)mlpf1 + offset);
if (ligature_index > GET_BE_WORD(la->LigatureCount))
{
ERR("Ligature index exeeded ligature count\n");
ERR("Ligature index exceeded ligature count\n");
return;
}
offset = GET_BE_WORD(la->LigatureAttach[ligature_index]);

View file

@ -300,7 +300,7 @@ static const scriptRange scriptRanges[] = {
{ SCRIPT_UNDEFINED, 0, 0, 0}
};
/* the must be in order so that the index matches the Script value */
/* this must be in order so that the index matches the Script value */
const scriptData scriptInformation[] = {
{{SCRIPT_UNDEFINED, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
{LANG_NEUTRAL, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 0, 0, 0},
@ -741,7 +741,7 @@ static inline BOOL set_cache_font_properties(const HDC hdc, ScriptCache *sc)
static const WCHAR chars[4] = {0x0020, 0x200B, 0xF71B, 0x0640};
/* U+0020: numeric space
U+200B: zero width space
U+F71B: unknow char found by black box testing
U+F71B: unknown char found by black box testing
U+0640: kashida */
WORD gi[4];
@ -908,7 +908,7 @@ static WORD get_char_script( LPCWSTR str, INT index, INT end, INT *consumed)
if (str[index] == 0x2212 || str[index] == 0x2044)
return Script_Punctuation;
/* Currency Symboles by Unicode point */
/* Currency Symbols by Unicode point */
switch (str[index])
{
case 0x09f2:
@ -2765,8 +2765,8 @@ static inline int get_cluster_advance(const int* piAdvance,
* use piAdvance to find the cluster we are looking at
* Find the character that is the first character of the cluster
* That is our base piCP
* If the script snaps to cluster boundries (Hebrew, Indic, Thai) then we
* are good Otherwise if the cluster is larger than 1 glyph we need to
* If the script snaps to cluster boundaries (Hebrew, Indic, Thai) then we
* are good. Otherwise if the cluster is larger than 1 glyph we need to
* determine how far through the cluster to advance the cursor.
*/
HRESULT WINAPI ScriptXtoCP(int iX,
@ -2955,7 +2955,7 @@ HRESULT WINAPI ScriptXtoCP(int iX,
*
* PARAMS
* chars [I] Array of characters.
* sa [I] String analysis.
* sa [I] Script analysis.
* la [I] Array of logical attribute structures.
*
* RETURNS
@ -3259,7 +3259,7 @@ HRESULT WINAPI ScriptShape(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcChars,
* PARAMS
* hdc [I] Device context.
* psc [I/O] Opaque pointer to a script cache.
* psa [I/O] String analysis.
* psa [I/O] Script analysis.
* tagScript [I] The OpenType tag for the Script
* tagLangSys [I] The OpenType tag for the Language
* rcRangeChars[I] Array of Character counts in each range