Comment 4 for bug 830831

Revision history for this message
technick (nickfolse-gmail) wrote :

As a temporary workaround I added the following mapping to my app/pdf.py file

# pdf.py
font_map_kr = {'Arial_Normal': 'UnDotum.ttf',
            'Arial_Bold': 'UnDotumBold.ttf',
            'Arial_Italic': 'UnDotum.ttf',
            'Arial_Bold_Italic': 'UnDotumBold.ttf',
            'Times_New_Roman': 'UnBatang.ttf',
            'Times_New_Roman_Bold': 'UnBatangBold.ttf',
            'Times_New_Roman_Italic': 'UnBatang.ttf',
            'Times_New_Roman_Bold_Italic': 'UnBatangBold.ttf'}

font_map = font_map_kr

Then I updated school_tool.conf to point to the unfonts directory:
reportlab_fontdir /usr/share/fonts/truetype/unfonts

I believe these are the Korean fonts installed in Ununtu when you enable Korean language input.