[XeTeX] Extra space after opening quote

Zdenek Wagner zdenek.wagner at gmail.com
Wed Jul 9 13:48:45 CEST 2014


Dear Sasi,

my installed version of Rachana does not contain quotes at all, I see
just empty rectangles, so that I cannot say whether it look right or
wrong. What I can say is that quoes, colons, question marks etc. are
not Indic characters but taken from the Latin script. When used in
Indic scripts they require diferent kerning. However, this is not a
question of XeTeX, this is a question of font design. Steve White did
it correctly for the Devanagari block in FreeSerif and FreeSans, so
you should complain to the author of the font.

2014-07-09 12:59 GMT+02:00 Sasi Kumar <sasi.fsf at gmail.com>:
> Dear friends,
>
> I find that when I compile an article with the following code, xelatex
> inserts a space after the opening quote, which is unnecessary. A minimal
> sample is given below. I am using Malayalam text with Rachana font. You can
> see the space inserted after the opening quote at two places in the text,
> close to the bottom.
>
> Thanks and regards,
> Sasi
>
> The sample code below:
>
> \documentclass[a4paper,12pt]{article}
> \usepackage[margin=1in]{geometry}
> \usepackage{fontspec}
> \usepackage{polyglossia,xltxtra}
> \newfontfamily\malayalamfont[Script=Malayalam,Mapping=tex-text]{Rachana}
> \setromanfont{DejaVu Serif}
>
> \usepackage{url}
> \usepackage{fancyhdr}
> \setdefaultlanguage{malayalam}
> \newcommand{\dash}{\raisebox{2pt}{\rule{3mm}{0.5pt}}}
>
>
> \date{}
>
> \begin{document}
> \lefthyphenmin=2
> \righthyphenmin=2
>
> \thispagestyle{empty}
> \pagestyle{fancy}
>
>
> \newfontfamily\malayalamfont[Script=Malayalam]{Meera}
>
> \begin{center}
> \newfontfamily\malayalamfont[Script=Malayalam]{Meera}
> {\Large\textbf{വിഡ്ഢിപ്പെട്ടി കൊല്ലുമത്രെ!}}
>
> \vspace{5mm}{\textbf{ഡോ.~വി.~ശശി കുമാര്‍}}
> \end{center}
>
> \newfontfamily\malayalamfont[Script=Malayalam]{Rachana}
> \setlength{\baselineskip}{1.2\baselineskip}\addtolength{\parskip}{10pt}
> നാം വിഡ്ഢിപ്പെട്ടി എന്നു് മലയാളത്തിലും Idiot Box എന്നു് ഇംഗ്ലിഷിലും
> കളിയാക്കി വിളിച്ചുവരുന്ന ആധുനിക മായാജാലയന്ത്രമായ ടെലിവിഷന്‍ വളരെനേരം
> കാണുന്നതു് നല്ലതല്ല എന്നു് മാതാപിതാക്കള്‍ കുട്ടികളോടെങ്കിലും പറയാറുണ്ടു്.
> എന്നാല്‍ പല മാതാപിതാക്കളും എത്ര മണിക്കൂറാണു് ഓരോ ദിവസവും വിഡ്ഢിപ്പെട്ടിയുടെ
> മുന്നില്‍ ചെലവഴിക്കുന്നതെന്നു് ആത്മപരിശോധന നടത്തുന്നതു് നന്നായിരിക്കും. ഒരു
> കഥ വായിക്കുമ്പോള്‍ അതിലെ സംഭവങ്ങളും സാഹചര്യങ്ങളും മറ്റും നാം
> സങ്കല്പിക്കുകയാണു് ചെയ്യുക. അത്രകണ്ടെങ്കിലും മാനസികവ്യായാമം വായനക്കാര്‍
> ചെയ്യുന്നുണ്ടു്. എന്നാല്‍ അതേ കഥ നാം ടെലിവിഷനിലോ സിനിമയിലോ കാണുമ്പോള്‍
> പൂര്‍ണ്ണ നിഷ്ക്രിയരായി നോക്കിയിരിക്കുക മാത്രമാണു് ചെയ്യുന്നതു്.
> മനസ്സിനുമില്ല വ്യായാമം, ശരീരത്തിനുമില്ല. ഈ മാനസിക വ്യായാമമില്ലായ്ക കുട്ടികളെ
> കൂടുതല്‍ ബാധിക്കുമെങ്കില്‍ ശാരീരിക വ്യായാമമില്ലായ്മ എല്ലാവരെയും ബാധിക്കും.
> വെറുതെയല്ല ഒരുപാടുസമയം ടെലിവിഷനുമുന്നില്‍ ചെലവഴിക്കുന്നവരെ ഇംഗ്ലിഷില്‍ couch
> potato (ശയ്യാകിഴങ്ങന്‍) എന്നു വിളിക്കുന്നതു്. മാനസികാദ്ധ്വാനമില്ലാതെ ഇവര്‍
> യഥാര്‍ത്ഥത്തില്‍ `കിഴങ്ങന്മാരായി' തീരുകമാത്രമല്ല, അവരുടെ ജീവിതംതന്നെ വേഗം
> തീര്‍ന്നുകിട്ടും എന്നാണു് സ്പെയ്‌നില്‍നിന്നുള്ള പഠനം കാണിക്കുന്നതു്.
> അതെക്കുറിച്ചു് ``വിശദമായി പരിശോധിക്കാം''.
>
> \end{document}
>
> --
> V. Sasi Kumar
> Free Software Foundation of India
> Please see: http://swatantryam.blogspot.com/
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list