]> source.dussan.org Git - redmine.git/commitdiff
pdf: define "general_pdf_fontname" at i18n yaml for multilingual environment (#13781)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 20 Oct 2014 04:15:11 +0000 (04:15 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 20 Oct 2014 04:15:11 +0000 (04:15 +0000)
Contributed by Jun NAITOH.

git-svn-id: http://svn.redmine.org/redmine/trunk@13458 e93f8b46-1217-0410-a6f0-8f06a7374b81

49 files changed:
config/locales/ar.yml
config/locales/az.yml
config/locales/bg.yml
config/locales/bs.yml
config/locales/ca.yml
config/locales/cs.yml
config/locales/da.yml
config/locales/de.yml
config/locales/el.yml
config/locales/en-GB.yml
config/locales/en.yml
config/locales/es.yml
config/locales/et.yml
config/locales/eu.yml
config/locales/fa.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hr.yml
config/locales/hu.yml
config/locales/id.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/lt.yml
config/locales/lv.yml
config/locales/mk.yml
config/locales/mn.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ro.yml
config/locales/ru.yml
config/locales/sk.yml
config/locales/sl.yml
config/locales/sq.yml
config/locales/sr-YU.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/vi.yml
config/locales/zh-TW.yml
config/locales/zh.yml
lib/redmine/export/pdf.rb

index 4d49758b15ff69620815805147bb59a5e4bf087a..7eaf6954e802940fa0f7c3ff3d943c5a73c2837c 100644 (file)
@@ -140,6 +140,7 @@ ar:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: لقد تم تجديد الحساب بنجاح.
index 24bde2606dbb9648577a58e42c843c07a757816d..948067c16fc490ac06a1e86fd51b4b60e30c4c2f 100644 (file)
@@ -384,6 +384,7 @@ az:
   general_csv_decimal_separator: ','
   general_csv_encoding: UTF-8
   general_csv_separator: ';'
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
   general_lang_name: 'Azerbaijanian (Azeri)'
   general_text_no: 'xeyr'
index 360358a877929d3c2371cdb3118ab731b6b2672e..3dfa77eb87da431a74a48081dca7c1d71a4d6ef0 100644 (file)
@@ -142,6 +142,7 @@ bg:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Профилът е обновен успешно.
index 3148ec1b54e9cd66e443ef8033254c67a7241a13..d53e79ed9387a387110005c5801c6884af4796ca 100644 (file)
@@ -152,6 +152,7 @@ bs:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_activated: Vaš nalog je aktiviran. Možete se prijaviti.
index b8ca4f9768136a94ecc4b4289a2c96fee6bf5559..3e7747fe885f52c528e5a7b1ef67402ad8b82581 100644 (file)
@@ -144,6 +144,7 @@ ca:
   general_csv_separator: ';'
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-15
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: "El compte s'ha actualitzat correctament."
index 7f9fbc97ba9dc9ec91db40f96f872ab4ab1f95e7..fbb3e677a84c3889e606f2b3964c18a81274f97b 100644 (file)
@@ -146,6 +146,7 @@ cs:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Účet byl úspěšně změněn.
index b9199cc6fd7319bb45f4d09ea7f4542a5189283b..e8fb6360e2c72c83a772e0c59e1e6e318cfd77d5 100644 (file)
@@ -158,6 +158,7 @@ da:
   general_lang_name: 'Danish (Dansk)'
   general_csv_separator: ','
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Kontoen er opdateret.
index c9e8a315b818782602d958a53db0629d66e05836..c9e12e1a8650452d9380b947eb21de3c6cfb870b 100644 (file)
@@ -392,6 +392,7 @@ de:
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-1
   general_csv_separator: ';'
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
   general_lang_name: 'Deutsch'
   general_text_No: 'Nein'
index 49e519434635a617ffa8ca278a9b3c02ed89809d..3e31300fe26d2e8f529d5496ccfc573e9bcd0df9 100644 (file)
@@ -142,6 +142,7 @@ el:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: Ο λογαριασμός ενημερώθηκε επιτυχώς.
index efdd42600fec26694ad8b25bbb2a572976762a45..bfe1f3013b9a1d9e3e64635b1c9d46839ba46e88 100644 (file)
@@ -145,6 +145,7 @@ en-GB:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Account was successfully updated.
index a8de0ef9c0c06a6e0777ef9c47924499d14c7039..8f858162c5df7f88fce997c85490f8f99bf4b29b 100644 (file)
@@ -141,6 +141,7 @@ en:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: Account was successfully updated.
index 7adcf73409c628de5229324401ad08fe151e97d0..3068144d74a9e3d38eb603415696db28d321a955 100644 (file)
@@ -340,6 +340,7 @@ es:
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-15
   general_csv_separator: ';'
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
   general_lang_name: 'Español'
   general_text_No: 'No'
index 292eb37d841aabbc3a48f04f004ba62bd9ddc02c..7ae5d0cc5e04a3d6bb409793d5253c34ff3eb04c 100644 (file)
@@ -158,6 +158,7 @@ et:
   general_csv_separator: ","
   general_csv_decimal_separator: "."
   general_csv_encoding: ISO-8859-13
+  general_pdf_fontname: freesans
   general_first_day_of_week: "1"
 
   notice_account_updated: "Konto uuendamine õnnestus."
index aead55b502a0b02af156045da4d2d16e888e2b4f..54227ccee581374856078468ccc7c52ca2ff4da3 100644 (file)
@@ -143,6 +143,7 @@ eu:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Kontua ongi eguneratu da.
index d76372b16581d79f8a43e74b8154f0e46a6cb822..9c8702a26c3d9de446636cef52515a8bf346be46 100644 (file)
@@ -141,6 +141,7 @@ fa:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '6'
 
   notice_account_updated: حساب شما بروز شد.
index 889ee58ebcbc2ab8dbfba1f7f17049db8b6bf3df..bc0fb48efb714550db2adc7f7d7b8896039fada4 100644 (file)
@@ -166,6 +166,7 @@ fi:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-15
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Tilin päivitys onnistui.
index 067a87dea91ba7ee9f28b1ccc112af0c02c7f0e2..0f2e0d0e637448a279ff63384dcac1df709d3c68 100644 (file)
@@ -161,6 +161,7 @@ fr:
   general_csv_separator: ';'
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Le compte a été mis à jour avec succès.
index ba5ee8c4b0117aa4fa3125ac9c8ef939f726dbd3..2e4f4dd1db9ecbdd836ea590403c8bcd22feda95 100644 (file)
@@ -316,6 +316,7 @@ gl:
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-15
   general_csv_separator: ';'
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
   general_lang_name: 'Galego'
   general_text_No: 'Non'
index 830fcf4313914924bfcfa531be08b854856045d2..1ec37fbf07407d3f3f3d443b1b87afb3174ff729 100644 (file)
@@ -146,6 +146,7 @@ he:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: החשבון עודכן בהצלחה!
index 0fcc18d9a228ad8bda566b8013e5ded68bb39cda..fc09124bde4738daf3f16af0685693c00a08d061 100644 (file)
@@ -136,6 +136,7 @@ hr:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: Vaš profil je uspješno promijenjen.
index 0000a1d49a01cad226aaccb2ea7118f2d333d903..89ea9d5d086c91bad1e9ac848d36d2edc3b49b97 100644 (file)
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-2
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: A fiók adatai sikeresen frissítve.
index fd04d57671ab747378858c5cc5eb8db4f5b1bd04..ffc57a2219539640c6f40508e08c1e203fd12b22 100644 (file)
@@ -141,6 +141,7 @@ id:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: Akun sudah berhasil diperbarui.
index 52eb09e3d020a022f6dc292daee36fbaca76f248..f7a704841799e26960a7f787f31d7c0f6b901379 100644 (file)
@@ -146,6 +146,7 @@ it:
   general_csv_separator: ';'
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: L'utente è stato aggiornato.
index e1d7fc4723730df898975507d07b5ee8655b44d8..5d9c3f8430b5d1912557a3e4f91e7f4e94a6a0d4 100644 (file)
@@ -162,6 +162,7 @@ ja:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: CP932
+  general_pdf_fontname: kozminproregular
   general_first_day_of_week: '7'
 
   notice_account_updated: アカウントが更新されました。
index 252ce1349206ed3e0eb02d92d92fb975575fc299..76d36f6afa8d6c3151e09cd2b82b7ce653d39913 100644 (file)
@@ -188,6 +188,7 @@ ko:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: CP949
+  general_pdf_fontname: hysmyeongjostdmedium
   general_first_day_of_week: '7'
 
   notice_account_updated: 계정이 성공적으로 변경되었습니다.
index e5cf5aa9c681a882e6b85dcab97e5055cbad12c9..871efa5fa9c4633fc9e2a52a7eb05b8f4b794533 100644 (file)
@@ -200,6 +200,7 @@ lt:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Paskyra buvo sėkmingai atnaujinta.
index 2d679f410b005aa9fdd0db5da50820845c53bcb2..bfa889685cac5cbd52b128d64ab2180e1c8ec195 100644 (file)
@@ -135,6 +135,7 @@ lv:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Konts tika atjaunots veiksmīgi.
index 5789501095342c7e570ab9bf79ed293e7c83e677..48aa242e4307bc3a00774af243782feb8a361361 100644 (file)
@@ -142,6 +142,7 @@ mk:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Профилот е успешно ажуриран.
index 4ed92ffe347f1226aa99834f8376ee70bae93e25..8668f73bf95e1dfa924d733f06b248c883964829 100644 (file)
@@ -141,6 +141,7 @@ mn:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: Дансыг амжилттай өөрчиллөө.
index 1b259e4ee7695d174a43521deb3b98ebbf5c25cd..520bf807a9564ece36565645714aa3847852d17c 100644 (file)
@@ -285,6 +285,7 @@ nl:
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-1
   general_csv_separator: ';'
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
   general_lang_name: 'Nederlands'
   general_text_No: 'Nee'
index 7a11b3774ccba9df0091b26d36d768c2b9c967c5..581dad843c6c209dfd16f6863c67e72480db5c02 100644 (file)
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Kontoen er oppdatert.
index 63d85b4876f5314b3ba9708bfa353ae898fb2f1f..64433320d5a64749d4e41fe848c6b81cdd41c41d 100644 (file)
@@ -308,6 +308,7 @@ pl:
   general_csv_decimal_separator: ','
   general_csv_encoding: UTF-8
   general_csv_separator: ';'
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
   general_lang_name: 'Polski'
   general_text_No: 'Nie'
index ead6a3fb6760ee287e18f4f625b1260b60388e5f..77df860a368aefb745108b2af8d832455f27f789 100644 (file)
@@ -161,6 +161,7 @@ pt-BR:
   general_csv_separator: ';'
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Conta atualizada com sucesso.
index 21b35bc185430eb80c87329ac53bff84d50b1c20..65b7622743ec75b161b8424443945b85de8df0f3 100644 (file)
@@ -151,6 +151,7 @@ pt:
   general_csv_separator: ';'
   general_csv_decimal_separator: ','
   general_csv_encoding: ISO-8859-15
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: A conta foi atualizada com sucesso.
index d0bd542eb0980b86a398907e4996cf29fb2c7ac2..301267745bfb8ce41d5ad6a7141a8ce0035d583d 100644 (file)
@@ -136,6 +136,7 @@ ro:
   general_csv_separator: '.'
   general_csv_decimal_separator: ','
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '2'
 
   notice_account_updated: Cont actualizat.
index 7d5fffecb8f91123545fb583a7bcc8aaea2ea4a0..139aa5d7d09d3bfe73385e6878992aa3104add51 100644 (file)
@@ -394,6 +394,7 @@ ru:
   general_csv_decimal_separator: ','
   general_csv_encoding: UTF-8
   general_csv_separator: ';'
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
   general_lang_name: 'Russian (Русский)'
   general_text_no: 'нет'
index b1471fabafcf849960cb9f5445888c1ca9ebf567..35b55c45376269aeb64fcb4f3d15ac5121ee5667 100644 (file)
@@ -140,6 +140,7 @@ sk:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Účet bol úspešne zmenený.
index c60ac46a4381001266ae7c71104520ab3ec41c4e..2f821e3962f03c5b45728192efa7389789410c88 100644 (file)
@@ -140,6 +140,7 @@ sl:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Račun je bil uspešno posodobljen.
index 468aefb0dcd7d70930b8cd56dcf0ab77efdd5871..60197f3f74558aaf5c3e9d2bd1c968f023802416 100644 (file)
@@ -141,6 +141,7 @@ sq:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: Llogaria u perditesua me sukses.
index fcf3684becf7feabc360885c5bbc0d032bd3a6b0..c1ecad1163afb7dbb6d92a944127b51e00a27ead 100644 (file)
@@ -144,6 +144,7 @@ sr-YU:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Nalog je uspešno ažuriran.
index 86260a6ea3d979ae75caddb834ce2373bdfbc4ed..591dc8dd3b67291c80ddd0af2aba69b5cc0b7366 100644 (file)
@@ -142,6 +142,7 @@ sr:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Налог је успешно ажуриран.
index c95a5a1e167e36f426ce8f6fc0fa91c992ab8e93..bf3c57ec69da745e22216ba3945a042dd3bdac56 100644 (file)
@@ -183,6 +183,7 @@ sv:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: ISO-8859-1
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Kontot har uppdaterats
index 3b96e6de3a48ba5157e9ff12479fb49c2964cadc..f4363bd7422366969d0920c84ed868227b8b0610 100644 (file)
@@ -139,6 +139,7 @@ th:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: Windows-874
+  general_pdf_fontname: freeserif
   general_first_day_of_week: '1'
 
   notice_account_updated: บัญชีได้ถูกปรับปรุงแล้ว.
index a6fd1c0d089471887037ff5876f8f5db5275820c..ef78f7765151ca9170c37111f49a2e9fd652a56a 100644 (file)
@@ -155,6 +155,7 @@ tr:
   general_lang_name: 'Türkçe'
   general_csv_separator: ','
   general_csv_encoding: ISO-8859-9
+  general_pdf_fontname: freesans
   general_first_day_of_week: '7'
 
   notice_account_updated: Hesap başarıyla güncelleştirildi.
index a2810431584d6cefe7d6a8234f31ff31b860ef86..7fd52c9c0e393886e6a60ac59761a198e613323f 100644 (file)
@@ -139,6 +139,7 @@ uk:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: freesans
   general_first_day_of_week: '1'
 
   notice_account_updated: Обліковий запис успішно оновлений.
index 65f50f5e9d6c4941d964f9eb52618de21fef0cd8..f20c0018e7ee0c6c380a1d787dbee872a0ff6e6a 100644 (file)
@@ -194,6 +194,7 @@ vi:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: UTF-8
+  general_pdf_fontname: DejaVuSans
   general_first_day_of_week: '1'
 
   notice_account_updated: Cập nhật tài khoản thành công.
index 971534f153ef322ca4e7a08231035626fd5722a6..1a0002a9398b11c4a0f4661e06e3aec47ba08265 100644 (file)
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: Big5
+  general_pdf_fontname: msungstdlight
   general_first_day_of_week: '7'
 
   notice_account_updated: 帳戶更新資訊已儲存
index f6c7d286824609811c3f35ae4a450b7e2f66e3ec..d2c55bb7442f550ca2164d61b8f0e6b5905b3868 100644 (file)
@@ -145,6 +145,7 @@ zh:
   general_csv_separator: ','
   general_csv_decimal_separator: '.'
   general_csv_encoding: gb18030
+  general_pdf_fontname: stsongstdlight
   general_first_day_of_week: '7'
 
   notice_account_updated: 帐号更新成功
index 824508854aa18bb16b56a46cb602e9e56993f48c..b555534a8f9ff8ed414a73906c8d0488ed41b24e 100644 (file)
@@ -39,29 +39,8 @@ module Redmine
           set_rtl(l(:direction) == 'rtl')
           set_temp_rtl(l(:direction) == 'rtl' ? 'R' : 'L')
 
-          case current_language.to_s.downcase
-          when 'vi'
-            @font_for_content = 'DejaVuSans'
-            @font_for_footer  = 'DejaVuSans'
-          when 'ja'
-            @font_for_content = 'kozminproregular'
-            @font_for_footer  = 'kozminproregular'
-          when 'zh-tw' # Traditional Chinese (BIG5)
-            @font_for_content = 'msungstdlight'
-            @font_for_footer  = 'msungstdlight'
-          when 'zh' # Simplified Chinese (GB18030)
-            @font_for_content = 'stsongstdlight'
-            @font_for_footer  = 'stsongstdlight'
-          when 'ko' # Korean (UHC)
-            @font_for_content = 'hysmyeongjostdmedium'
-            @font_for_footer  = 'hysmyeongjostdmedium'
-          when 'th' # Thai
-            @font_for_content = 'freeserif'
-            @font_for_footer  = 'freeserif'
-          else
-            @font_for_content = 'freesans'
-            @font_for_footer  = 'freesans'
-          end
+          @font_for_content = l(:general_pdf_fontname)
+          @font_for_footer  = l(:general_pdf_fontname)
           set_creator(Redmine::Info.app_name)
           set_font(@font_for_content)