Bug 32810 - Takao Font Support
Summary: Takao Font Support
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
3.3.0 RC2
Hardware: All Linux (All)
: medium normal
Assignee: Kohei Yoshida
Whiteboard: target:3.3.1
Depends on:
Reported: 2011-01-03 23:24 UTC by ikuya
Modified: 2011-02-14 06:49 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

diff for http://cgit.freedesktop.org/libreoffice/libs-core/plain/officecfg/registry/data/org/openoffice/VCL.xcu?h=libreoffice-3-3 (22.00 KB, patch)
2011-01-03 23:24 UTC, ikuya
a hack for Takao fonts (2.14 KB, patch)
2011-02-10 02:50 UTC, Takeshi Abe

Note You need to log in before you can comment on or make changes to this bug.
Description ikuya 2011-01-03 23:24:17 UTC
Created attachment 41607 [details]
diff for http://cgit.freedesktop.org/libreoffice/libs-core/plain/officecfg/registry/data/org/openoffice/VCL.xcu?h=libreoffice-3-3

Ubuntu (in Japanese) uses Japanese fonts called "Takao Gothic/Mincho".
As LibreOffice doesn't support these fonts, it shows garbage (empty square).
So please add these fonts.
Comment 1 Kohei Yoshida 2011-01-04 07:21:15 UTC
I'll take this.
Comment 2 Kohei Yoshida 2011-01-04 09:28:51 UTC
Fixed in 3.3.  Please double-check to make sure this is working correctly in the next RC release.  Thanks.
Comment 3 Kohei Yoshida 2011-01-04 09:31:38 UTC
Also, it would be nice to have a git-formatted patch in future patch submissions.  Either run

git diff

to get diff on uncommitted change, or commit your change in your local git repo, then run 

git format-patch -1

will produce git-style patch.  That would make it a bit easier for us to apply your patch.  Thanks!
Comment 4 Takeshi Abe 2011-02-10 02:43:07 UTC
This issue still remains with LibreOffice 3.3 on Xubuntu 10.10.
Comment 5 Takeshi Abe 2011-02-10 02:50:18 UTC
Created attachment 43194 [details]
a hack for Takao fonts

The attached hack seems to resolve it on Xubuntu 10.10 while
it should be considered as a temporary workaround.
Comment 6 ikuya 2011-02-10 07:41:38 UTC
(In reply to comment #5)
> Created an attachment (id=43194) [details]
> a hack for Takao fonts
This patch looks fine.
Thank you very much.
Comment 7 Kohei Yoshida 2011-02-11 09:27:00 UTC
I've signed off of this for the generic 3.3 branch.  I'll request two more sign-offs on the list for the 3.3.1.

The patch is now committed to the libreoffice-3-3 branch, and I'll push it as soon as I verify it builds.