You should have received a copy of the GNU Lesser General Public
License along with the m17n library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
02111-1307, USA. */
/***en
MFont request = realized->request;
if (script != Mlatin)
- /* These are not appropriate for non-Latin scripts. */
- request.property[MFONT_FOUNDRY]
- = request.property[MFONT_FAMILY]
- = request.property[MFONT_REGISTRY] = 0;
+ /* This is not appropriate for non-Latin scripts. */
+ request.property[MFONT_REGISTRY] = 0;
per_script = mplist_get (realized->per_script, script);
if (! per_script)
g, num, size)))
return rfont;
- if (per_lang)
+ if (per_lang && *num > 1)
*num = 1;
if (language == Mt)
{
g, num, size)))
return rfont;
- if (per_lang)
+ if (per_lang && *num > 1)
*num = 1;
/* Then try the above (3) */
MPLIST_DO (plist, per_script)