ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Typescript/fallbacks problem
Date: Sat, 27 May 2017 19:00:28 +0200	[thread overview]
Message-ID: <2b06f57c-ab92-ac53-5a0f-e6ef94dfabd5@wxs.nl> (raw)
In-Reply-To: <CAMHZ1dYzR40yTB9tvLEuhem1Sc0y+OiU+cbRNC7D+OBwVRB1iw@mail.gmail.com>

On 5/27/2017 6:14 PM, Mohammad Hossein Bateni wrote:
> Hans and Otared, thanks a lot for your attention.  I do appreciate your 
> time.
> 
> Otared:
> 
> The fallback was called "dejavudefault" on my machine when I was testing 
> it.  I changed the name in the email, to make the lines shorter, but 
> apparently I missed some instances—sorry—and that made it to the version 
> I uploaded also.
> 
> Hans:
> 
> I'm really sorry for wasting your time with these low-quality fonts... 
> but unfortunately these are among the few open-source Farsi fonts, and 
> they are simple enough to be extendible.  The font designer is not a 
> professional, but accepts bug reports, suggestions, etc.  So I spend 
> some time finding issues and fixing/reporting them.
> 
> Could you explain a bit about the "identifying as a math font" part?  
> What is the sign of that?  To fix it, should I remove all the 
> math-related fields in the font?  Was the math thing only in the regular 
> font or also in bold?  Because I noticed the problem only in the regular 
> shape.

it has a math constants table and a math script feature (but no math 
support afaiks) and in soem cases context does checks for a font being a 
math font

anyway, the next beta should (sort of) work

> On Sat, May 27, 2017 at 7:34 AM, Hans Hagen <pragma@wxs.nl 
> <mailto:pragma@wxs.nl>> wrote:
> 
>     On 5/27/2017 11:39 AM, Otared Kavian wrote:
> 
>         Hi Mohammad Hossein,
> 
>         Your report is beyond my knowledge, but I would like to ask you
>         a question about the setup of fallback fonts: why are you
>         referring to « dejavudef » in the commands such as
> 
>            \definefontsynonym [SahelBd]     
>           [SahelBold][features={arabic,tlig},fallbacks=dejavudef]
> 
>         while you have defined before « dejavudefault » (and not «
>         dejavudef ») in:
> 
>         \definefontfallback[dejavudefault][dejavusans]
>         [range=generalpunctuation,check=yes,force=no]
> 
>     indeed. but on top of that, the font reports itself as a math font
>     so that confuses the fallback mechanism (we have fundamental
>     different approaches for math and text fonts) ... i'll try to deal
>     with it but to some extend consider spending time on crappy fonts a
>     bit of a waste
> 
>     -----------------------------------------------------------------
>                                                Hans Hagen | PRAGMA ADE
>                    Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>             tel: 038 477 53 69 | www.pragma-ade.nl
>     <http://www.pragma-ade.nl> | www.pragma-pod.nl
>     <http://www.pragma-pod.nl>
>     -----------------------------------------------------------------
> 
>     ___________________________________________________________________________________
>     If your question is of interest to others as well, please add an
>     entry to the Wiki!
> 
>     maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> /
>     http://www.ntg.nl/mailman/listinfo/ntg-context
>     <http://www.ntg.nl/mailman/listinfo/ntg-context>
>     webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>     archive  : https://bitbucket.org/phg/context-mirror/commits/
>     <https://bitbucket.org/phg/context-mirror/commits/>
>     wiki     : http://contextgarden.net
>     ___________________________________________________________________________________
> 
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2017-05-27 17:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMHZ1daucwXqw0aAuwS9UzODKAA-AiKkQjcPVKO1=nYt8rx-9w@mail.gmail.com>
2017-05-26  3:52 ` Mohammad Hossein Bateni
2017-05-27  9:39   ` Otared Kavian
2017-05-27 11:34     ` Hans Hagen
2017-05-27 16:14       ` Mohammad Hossein Bateni
2017-05-27 17:00         ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2b06f57c-ab92-ac53-5a0f-e6ef94dfabd5@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).