Not sure how to make Libreoffice support non-English documents
jun711blog at gmail.com
Tue Nov 30 04:02:47 UTC 2021
Thank you. We gave that a try and it solved font issue as in previously,
all the converted text had the same font.
However, it still doesn't work for these languages: Chinese, Japanese,
Korean and Punjabi out of the 8 languages that we tested.
This is what we had in our test.docx. The converted pdf doesn't contain the
font of Chinese, Japanese, Korean and Punjabi. It seems fine for the other
Korean : 이것은 시험이다
Arabic: هذا اختبار
Russian: это проверка
Hebrew: זה מבחן
Greek: αυτό είναι ένα τεστ
Punjabi: ਇਹ ਇੱਕ ਟੈਸਟ ਹੈ
Is there anything we can modify in `share/registry/main.xcd` file like what
this user wrote in this thread:
On Fri, Nov 26, 2021 at 10:35 PM Ilmari Lauhakangas <
ilmari.lauhakangas at libreoffice.org> wrote:
> On 27.11.2021 3.21, Jun 711 wrote:
> > Hi,
> > I followed the steps written in this repo to try to compile a compact
> > version of libreoffice that can convert non-English documents to PDFs.
> > <
> > The compiled Libreoffice provided by Vlad Holubiev through the repo
> > works for English documents but not for non-English documents. I posted
> > a question on the repo but haven't got any response.
> > https://github.com/vladgolubev/serverless-libreoffice/issues/39
> > <https://github.com/vladgolubev/serverless-libreoffice/issues/39>
> > I am not sure what flags to change. I found autogen.sh flags that he
> > posted but none of them seems to be for supporting non-English
> > languages.
> > <
> > I have also tried to change the default font to Noto Sans following the
> > step mentioned in the libreoffice thread as it seems to be able to
> > support all languages but that didn't help.
> > <
> > I wonder if anyone can give me a pointer on what I can try next?
> Looks like this is the culprit:
> --without-fonts LibreOffice includes some third-party fonts to
> provide a reliable basis for help content, templates, samples, etc. When
> these fonts are already known to be available on the system then you
> should use this option.
> Obviously done to save disk space.
> So drop that option from the Dockerfile.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice