| Summary: | Patron card creator - batch to export -unicode support | ||
|---|---|---|---|
| Product: | Koha | Reporter: | cfhong2000 |
| Component: | Label/patron card printing | Assignee: | Chris Nighswonger <cnighswonger> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | dpavlin, gmcharlt, kyle, mh_zalabany |
| Version: | 18.05 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | patron card screen shot and layout | ||
|
Description
cfhong2000
2018-11-11 02:56:22 UTC
Can you give us the name you were trying to print? Do you have defined fonts in your koha-conf.xml that support the characters? Created attachment 82218 [details]
patron card screen shot and layout
The patron Chinese name I tried to print : 費卓文
Here is koha-conf.xml, out-of-box setting. Do I need add Chinese font in
koha-conf.xml
<!-- true type font mapping according to type from $font_types in C4/Creators/Lib.pm -->
<ttf>
<font type="TR" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf</font>
<font type="TB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf</font>
<font type="TI" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf</font>
<font type="TBI">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf</font>
<font type="C" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf</font>
<font type="CB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf</font>
<font type="CO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf</font>
<font type="CBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf</font>
<font type="H" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf</font>
<font type="HO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf</font>
<font type="HB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf</font>
<font type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
</ttf>
I found a workaround from Koha Taiwan user group. Here is the link to a google doc that provides the solution. https://docs.google.com/viewer?a=v&pid=forums&srcid=MDA0NDYxNTM3NzUwNTcyNzI5NjYBMDkxODU4MDQ3OTk1NjE2NzgxMjEBLWNMdzJoYjRCd0FKATAuMQEBdjI&authuser=0 |