Apache OpenOffice (AOO) Bugzilla – Issue 86579
Can't change Asian fonts in Charts
Last modified: 2013-02-24 21:19:53 UTC
There's no way to change the Asian text font in Charts. In the property window, I can change which font to use, but nothing changes with that settings. Asian characters are always displayed with something Serif font. I made an article to explain how it happens and looks, please see the attached file.
Created attachment 51824 [details] How it happens and looks.
Created attachment 51825 [details] sample spreadsheets
To see the sample spreadsheets properly, you need Japanese fonts. To see what happens and how it looks, please open the pdf file. (you don't need Japanese fonts to see this file.)
I've forgot to choose the platform and OS. This occurs with Windows2000SP4 and WindowsXP. (And maybe others, too.) I don't have Linux and UNIX environment.
@ Iha: pls have a look.
Confirmed ->Weizhao, please have a look at this one, thanks!
->iha, the final attachment is the patch for fixing this problem, and it's also for CTL fonts.
Created attachment 51888 [details] patch_080305
->weiz, thanks for the patch, it works fine! I checked it in to CWS chart23. In addition I changed the order of the items thus they became alphabetically sorted again.
Created attachment 51998 [details] Patch-applied dll files for OpenOffice.org 2.3 Windows
tora->iha: Thank you for the fix. It works well. chart2_bugfix_i86579.zip includes dll files and their source files that have been prepared by merging the CWS chart23 into source files of OpenOffice.org 2.3 on Mon Mar 10 13:27 2008 cd $SRC_ROOT/chart2 cvs update -j CWS_SRC680_CHART23_ANCHOR -j cws_src680_chart23 cvs update -C -r cws_src680_chart23 source/inc/PropertyHelper.hxx cvs update -C -r cws_src680_chart23 source/tools/PropertyHelper.cxx src/chart2: source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx source/controller/main/ChartController_Position.cxx source/controller/main/ChartController_Window.cxx source/controller/main/PositionAndSizeHelper.cxx source/tools/CharacterProperties.cxx source/tools/makefile.mk source/view/main/PropertyMapper.cxx source/inc/PropertyHelper.hxx source/tools/PropertyHelper.cxx builds/windows: chartcontroller680mi.dll chartmodel680mi.dll charttools680mi.dll chartview680mi.dll Those files would be for some users who cannot wait for OOo 3.0.
Comparing the implementation of the old and the new chart, I changed the defaults for font family, stylename, charset and pitch also to be taken from the default font. I cannot see any visible effect right now for OOo but I assume that this is more correct.
Sorry, above comment was meant to be for another issue 82456.
-> All Thanks a lot for the patches and the DLLs. The DLLs seem to work well, I'll wait for 3.0 with them.
->Thomas, please verify in CWS chart23.
Seen ok in CWS chart 23 -> verified
Because of demand on bug fix, shared library files incorporating cws chart23 have been built for OpenOffice.org 2.4.0. http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=6485&logon=true&OpenOnly=false&Section=All ============ Installation ============ (Windows) Copy build\windows\chart2\*.dll to %PROGRAMFILES%\OpenOffice.org 2.4\program Copy build\windows\svx\*.dll to %PROGRAMFILES%\OpenOffice.org 2.4\program (Linux) Copy build/linux/chart2/*.so.1.1 to /opt/openoffice.org2.4/program Copy build/linux/svx/*.so.1.1 to /opt/openoffice.org2.4/program ============= List of files ============= cws_src680_chart23_for_OOo_2.4.0 |-- README.txt |-- build | |-- linux | | |-- chart2 | | | |-- libchartcontroller680li.so.1.1 | | | |-- libchartmodel680li.so.1.1 | | | |-- libcharttools680li.so.1.1 | | | `-- libchartview680li.so.1.1 | | `-- svx | | |-- libcui680li.so.1.1 | | |-- libsvx680li.so.1.1 | | `-- libtextconversiondlgs680li.so.1.1 | `-- windows | |-- chart2 | | |-- chartcontroller680mi.dll | | |-- chartmodel680mi.dll | | |-- charttools680mi.dll | | `-- chartview680mi.dll | `-- svx | |-- cui680mi.dll | |-- svx680mi.dll | `-- textconversiondlgs680mi.dll `-- src |-- chart2.diff |-- i36782.diff `-- svx.diff
Created attachment 53268 [details] Shared library files for Windows incorporating cws chart23 for OpenOffice.org
Created attachment 53269 [details] Shared library files for Linux incorporating cws chart23 for OpenOffice.org
Seen ok in current master > closed