OPM / opm-reference-manual

Other
1 stars 5 forks source link

Mount fonts into docker container #102

Closed hakonhagland closed 7 months ago

hakonhagland commented 7 months ago

Note that this PR builds on #100, which should be merged first.

This should hopefully make libreoffice use the extracted fonts. I am not able to confirm that this is actually working on my machine. When I open a file, let's say 4.fodt:

$ ./docker-soffice.sh chapters/4.fodt

it looks exactly the same as when I open that file outside the container. Maybe I already have those fonts on my system?

@blattms Can you test this on your machine?

blattms commented 7 months ago

On my system I see considerable differences if I open 4.fdot and scroll down to 4.3.5 (ENDINC). Words per line are quite different. Tested against 7.4 and 7.6 (both agree on the layout). One of the few occasions where I am happy to see differences.

Well done. Good work!

hakonhagland commented 7 months ago

On my system I see considerable differences if I open 4.fdot

@blattms Great to hear, I was not sure if this would work.