Opened 17 years ago

Closed 17 years ago

#1685 closed enhancement (fixed)

CJK Unicode font

Reported by: anthonylee Owned by: stippi
Priority: normal Milestone: R1/alpha1
Component: Servers/app_server Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

App_server seems unable to display some CJK fonts. Here is the patch for that, and the reason cause that is:

Thought FT_LOAD_NORMAL specified, FreeType2 still render a mono-bitmap because it's unneccesary to generate GRAY8 sometimes.

Attachments (3)

app-server-unicode-font.diff (2.3 KB ) - added by anthonylee 17 years ago.
Newer patch for app_server's FontEngine & Desktop
screen1-not-yet.png (127.6 KB ) - added by anthonylee 17 years ago.
Screenshot (hrev23198)
screen2-patched.png (115.5 KB ) - added by anthonylee 17 years ago.
Screenshot (patched)

Download all attachments as: .zip

Change History (6)

comment:1 by anthonylee, 17 years ago

Yet again, I found that DesktopSettingsPrivate created before gFontManage->AttachUser(). It cause font settings lost when I use fonts from /boot/home/config/fonts/ttfonts.

And, forgot the "app-server-unicode-font.diff" I attached before. Here is the new patch for this two enhancements.

I also attached the screenshot both running with original app_server and patched one.

by anthonylee, 17 years ago

Newer patch for app_server's FontEngine & Desktop

by anthonylee, 17 years ago

Attachment: screen1-not-yet.png added

Screenshot (hrev23198)

by anthonylee, 17 years ago

Attachment: screen2-patched.png added

Screenshot (patched)

comment:2 by axeld, 17 years ago

Milestone: R1R1/alpha
Owner: changed from axeld to stippi

Stephan is more familiar with that code (I've already applied the Desktop part of the patch in hrev23230, belongs to ticket #1691).

comment:3 by stippi, 17 years ago

Resolution: fixed
Status: newclosed

I applied the correct patch in hrev23269. I guess it can be considered fixed? :-)

Thanks for the patches!

Note: See TracTickets for help on using tickets.