[Webkit-unassigned] [Bug 26949] WebCore part of the Haiku WebKit port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 7 02:46:56 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26949





--- Comment #17 from Maxime Simon <simon.maxime at gmail.com>  2009-07-07 02:46:55 PDT ---
(In reply to comment #13)
> (From update of attachment 32227 [details])
> Why the prefix "pc"?
> 65     const BFont* pcDefaultFont = be_plain_font;

Good question. :)

> count_font_families() sounds expensive. :)
>  71     for(int i = 0; i < count_font_families(); i++) {

count_font_families() sounds indeed a bit expensive,
but it's a C function from the Haiku API.

> Doesn't ICU, and other parts of WebCore already have code for dealign with
> this:
>          if(isUtf16) {
>  50             UChar lead = characterBuffer[i * 2];
>  51             UChar trail = characterBuffer[i * 2 + 1];
>  52             character = U16_GET_SUPPLEMENTARY(lead, trail);
>  53         } else {
>  54             character = characterBuffer[i];
>  55         } 

I know that the wx port handles this as it,
and the gtk port doesn't support Unicode supplementary characters...

-- 
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