[Webkit-unassigned] [Bug 27734] WINCE PORT: font related changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 7 07:53:40 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27734
--- Comment #15 from Yong Li <yong.li at torchmobile.com> 2009-08-07 07:53:39 PDT ---
(In reply to comment #14)
> (From update of attachment 34178 [details])
> Please collapse this line into one nicely named define:
>
> 35 #if PLATFORM(CG) || PLATFORM(QT) || PLATFORM(GTK) || (PLATFORM(CHROMIUM) &&
> PLATFORM(WIN_OS)) || PLATFORM(WINCE)
>
> like STORE_FONT_POINTER or whatever the heck the ifdefed code does.
>
> Please add more indetifying information than just "comment above":
> 179 // see comment above
> otherwise if someone adds a comment between your two comments the latter
> comment will be confusing.
>
> // See comment about WINCE GDI handling near setGlyphDataForCharacter above.
> or something.
>
> Does WINCE only support horrizontal text?
> 3 #elif PLATFORM(WINCE)
> 64 typedef float GlyphBufferAdvance;
> 6065 #else
> A comment is need there to explain why it's just a float.
>
> No need for arg name:
> 51 FontCustomPlatformData* createFontCustomPlatformData(const
> SharedBuffer* buffer);
>
> Can you split this out?
>
> r- mostly for the unexplained advances change.
cannot find any platform crossing code that sets non-zero FloatSize::height()
for 2D GlyphBufferAdvance. CoreTextController.cpp uses 2D GlyphBufferAdvance,
but GlyphBufferAdvance is already defined to CGSize for PLATFORM(CG). We'll add
comments for it.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list