Module: wine Branch: master Commit: fd21610ca9cd09e12ab1d119e085170f9694d599 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fd21610ca9cd09e12ab1d119e0...
Author: Clinton Stimpson cjstimpson@utwire.net Date: Wed Dec 27 18:23:45 2006 -0700
usp10: Downgrade fixme's to trace's with comments.
---
dlls/usp10/usp10.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index b9a8b62..9127782 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -848,7 +848,7 @@ HRESULT WINAPI ScriptBreak(const WCHAR * { unsigned int i;
- FIXME("(%p, %d, %p, %p) stub\n", chars, count, sa, la); + TRACE("(%p, %d, %p, %p)\n", chars, count, sa, la);
if (!la) return S_FALSE;
@@ -856,6 +856,7 @@ HRESULT WINAPI ScriptBreak(const WCHAR * { memset(&la[i], 0, sizeof(SCRIPT_LOGATTR));
+ /* FIXME: set the other flags */ la[i].fWhiteSpace = isspaceW(chars[i]); la[i].fCharStop = 1; } @@ -1068,7 +1069,7 @@ HRESULT WINAPI ScriptShape(HDC hdc, SCRI DWORD hr; Scriptcache *pScriptcache; *pcGlyphs = cChars; - FIXME("(%p, %p, %p, %d, %d, %p): semi-stub\n", hdc, psc, pwcChars, + TRACE("(%p, %p, %p, %d, %d, %p)\n", hdc, psc, pwcChars, cChars, cMaxGlyphs, psa); if (psa) TRACE("psa values: %d, %d, %d, %d, %d, %d, %d\n", psa->eScript, psa->fRTL, psa->fLayoutRTL, psa->fLinkBefore, psa->fLinkAfter, @@ -1115,6 +1116,7 @@ HRESULT WINAPI ScriptShape(HDC hdc, SCRI
/* Set up a valid SCRIPT_VISATTR and LogClust for each char in this run */ for (cnt = 0; cnt < cChars; cnt++) { + /* FIXME: set to better values */ psva[cnt].uJustification = 2; psva[cnt].fClusterStart = 1; psva[cnt].fDiacritic = 0; @@ -1136,7 +1138,7 @@ HRESULT WINAPI ScriptPlace(HDC hdc, SCRI int wcnt; LPABC lpABC; Scriptcache *pScriptcache; - FIXME("(%p, %p, %p, %s, %d, %p, %p, %p): semi-stub\n", hdc, psc, pwGlyphs, + TRACE("(%p, %p, %p, %s, %d, %p, %p, %p)\n", hdc, psc, pwGlyphs, debugstr_wn(pwGlyphs, cGlyphs), cGlyphs, psva, psa, piAdvance); @@ -1164,6 +1166,8 @@ HRESULT WINAPI ScriptPlace(HDC hdc, SCRI * has been converted to glyphs and we still need to translate back to the original chars * to get the correct ABC widths. */
+ /* FIXME: set pGoffset to more reasonable values */ + lpABC = HeapAlloc(GetProcessHeap(), 0 , sizeof(ABC)*cGlyphs); pABC->abcA = 0; pABC->abcB = 0;