Skip to content

liumapp/add-mandarin-fonts-in-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-mandarin-fonts-in-docker

Add mandarin fonts in Docker .

中文文档

how to use

  • simple add mandarin fonts .

  • use fonts to replace /usr/share/fonts

  • check

      docker exec -it nginx /bin/bash
    
      fc-list :lang=zh 
    

    if you find mandarin fonts in the list , then you are success .

demo

  • run ./build-image.sh

  • run docker-compose up

  • the file /pdf/wrongpdf.pdf shows the wrong convert files without mandarin fonts.

  • the file /pdf/test.pdf shows the correct convert files with mandarin fonts.

About

Add mandarin fonts in Docker .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published