[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: manual: pdf builds succeeded for all disabled langs



Hi,

victory <victory.deb@gmail.com> wrote:
> 
> using fonts-wqy-microhei works for ko, which looks like ok for zh, too.
> it has Japanese letters, too,
>  but some of them mismatch between its glyph and the ones we are using.
> this is the reason we do not choose fonts for zh letters, saying "CJK".
> the selected font may have such situation for zh/ko
>  but who know that about they dont use :)

I am unsure if I understand correct:
yes, ko works fine with WenQuanYi Micro Hei, that's fine, thanks.
But why did you now choose WenQuanYi Micro Hei for Chinese as well?
It was HanaMinA before, and it has worked that way.
Should I prefer WenQuanYi Micro Hei over HanaMinA for Chinese?

Holger


> ---
> <?xml version='1.0' encoding="utf-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version='1.0'>
> 
>   <xsl:param name="latex.encoding">utf8</xsl:param>
>   <xsl:param name="latex.class.options">10pt,onecolumn</xsl:param>
>   <xsl:param name="xetex.font">
>    <xsl:choose>
>     <xsl:when test="contains(/book/@lang,'ja')">
> 	<xsl:text>\usepackage{xeCJK}&#10;</xsl:text>
> 	<xsl:text>\setCJKmainfont{IPAPGothic}&#10;</xsl:text>
> 	<xsl:text>\setCJKsansfont{IPAPGothic}&#10;</xsl:text>
> 	<xsl:text>\setCJKmonofont{IPAPGothic}&#10;</xsl:text>
> 	<xsl:text>\setmainfont{IPAPGothic}&#10;</xsl:text>
> 	<xsl:text>\setsansfont{IPAPGothic}&#10;</xsl:text>
> 	<xsl:text>\setmonofont{IPAPGothic}&#10;</xsl:text>
>     </xsl:when>
>     <xsl:when test="contains(/book/@lang,'ko') or contains(/book/@lang,'zh')">
> 	<xsl:text>\usepackage{xeCJK}&#10;</xsl:text>
> 	<xsl:text>\setCJKmainfont{WenQuanYi Micro Hei}&#10;</xsl:text>
> 	<xsl:text>\setCJKsansfont{WenQuanYi Micro Hei}&#10;</xsl:text>
> 	<xsl:text>\setCJKmonofont{WenQuanYi Micro Hei Mono}&#10;</xsl:text>
> 	<xsl:text>\setmainfont{WenQuanYi Micro Hei}&#10;</xsl:text>
> 	<xsl:text>\setsansfont{WenQuanYi Micro Hei}&#10;</xsl:text>
> 	<xsl:text>\setmonofont{WenQuanYi Micro Hei Mono}&#10;</xsl:text>
>     </xsl:when>
>     <xsl:otherwise>
> 	<xsl:text>\setmainfont{FreeSerif}&#10;</xsl:text>
> 	<xsl:text>\setsansfont{FreeSans}&#10;</xsl:text>
> 	<xsl:text>\setmonofont{FreeMono}&#10;</xsl:text>
>     </xsl:otherwise>
>    </xsl:choose>
>   </xsl:param>
> </xsl:stylesheet>
> 
> -- 
> victory
> no need to CC me :-)
> http://userscripts.org/scripts/show/102724 0.0.1.4
> http://userscripts.org/scripts/show/163846 0.0.1
> http://userscripts.org/scripts/show/163848 0.0.1
> 


-- 
============================================================
Created with Sylpheed 3.5.0 under
	D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/
============================================================


Reply to: