Skip to content

Commit bb923f3

Browse files
Hieu Lam - TMAcweitatnorbusan
authored
fix-9000: Non-latin characters of names not rendered in ticket and order PDF (#9058)
* fix-9000: Add new package for chinese font * fix-9000: Add new package for chinese font * fix-9000: Add more font for other languages * fix-9000: Added new font as Norbert commented. --------- Co-authored-by: cweitat <cweitat@gmail.com> Co-authored-by: Norbert Preining <norbert@preining.info>
1 parent 2ffe182 commit bb923f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ FROM base
3838
# these libs are necessary for operation
3939
RUN apk --no-cache add libmagic cairo pango ttf-opensans && \
4040
apk --no-cache add postgresql-libs libxslt jpeg zlib libxml2 # those *might* be useful
41+
RUN apk --no-cache add fontconfig=2.14.2-r3 font-noto-gujarati=23.5.1-r0 font-noto-kannada=23.5.1-r0 && \
42+
apk --no-cache add font-noto-osage=23.5.1-r0 font-noto-kayahli=23.5.1-r0 font-noto-oriya=23.5.1-r0 && \
43+
apk --no-cache add font-noto-telugu=23.5.1-r0 font-noto-tamil=23.5.1-r0 font-noto-bengali=23.5.1-r0 && \
44+
apk --no-cache add font-noto-malayalam=23.5.1-r0 font-noto-arabic=23.5.1-r0 font-noto-extra=23.5.1-r0 && \
45+
apk --no-cache add font-noto-armenian=23.5.1-r0 font-noto-cherokee=23.5.1-r0 font-noto-devanagari=23.5.1-r0 && \
46+
apk --no-cache add font-noto-ethiopic=23.5.1-r0 font-noto-georgian=23.5.1-r0 font-noto-hebrew=23.5.1-r0 && \
47+
apk --no-cache add font-noto-lao=23.5.1-r0 font-noto-thaana=23.5.1-r0 font-noto-thai=23.5.1-r0 && \
48+
echo @edge http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
49+
apk --no-cache add wqy-zenhei@edge=0.9.45-r2
4150
RUN fc-cache -f
4251

4352
COPY --from=builder /opt/pysetup/.venv /opt/pysetup/.venv

0 commit comments

Comments
 (0)