Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Better font substitution algorithm for Chinese fonts | ||||||
---|---|---|---|---|---|---|---|
Product: | gsl | Reporter: | fundawang <fundawang> | ||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||
Status: | ACCEPTED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | OOo 2.0.2 | ||||||
Target Milestone: | OOo 3.x | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
fundawang
2006-03-26 08:11:43 UTC
Created attachment 35264 [details]
openoffice-2.0.2-vcl-bestfallback-20060317.patch
@ hdu: Please have a look at this patch. set type to PATCH Good idea, thanks. But can someone please translate the comments in this patch from Chinese to English please? . The overall algorithm is: 1. Guess the font family group based on the last few chraracters of family name. 2. If the font family group of the font document is using and the font installed in system are the same, then the two fonts are considered as fungible. 3. The document will be displayed and printed in the first fungible font. unfortunately, this task won't make it for OOo 2.0.4 due to some resource constraints. Retargeting to OOo 2.x I test this patch. After patch, "scalc-format-cell dlg" appears very slowly :-( wrong component The idea for the better replacement is very good, but the patch's chinese comments for generic code, the performance hit caused by the patch and the very many side effects it introduces for other script types makes it impossible to apply the patch directly. Changing the issue status to "enhancement". *** Issue 76583 has been marked as a duplicate of this issue. *** Yes, that's why I recommend to look out Abiword's approach. due to limited resources we'll have to retarget this one with fontconfig etc. being active the interaction of this patch with the current version is non-trivial Reset assigne to the default "issues@openoffice.apache.org". |