Re: Ligation Issues in Arabic & Devanagari

Erik Ogan <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <CAK1nCLaZ7PyVo0jqrvtxTRiWJoESCk+hvWZ-V3HS_oK4vEORcQ@mail.gmail.com>
THANK YOU! THANK YOU! Removing @language attributes fixed the ligation.

It does mean that the hyphenation will be incorrect, but that is
arguably a lower priority. And now that I have a working example, I
can try to build up from here to correct hyphenation.

(It’s also possible the language attributes were being misapplied, or
applied to widely. This will likely force a more accurate FO file.)

Thanks again. I’ve been beating my head against the desk over this. I
owe you a beverage of your choice!

-e

On Thu, Apr 6, 2017 at 9:50 AM, Glenn Adams <[email protected]> wrote:
> Also, you might try leaving out any xml:lang or language attributes if you
> still have problems.
>
> On Thu, Apr 6, 2017 at 10:41 AM, Erik Ogan <[email protected]> wrote:
>>
>> Thanks for your quick response! Let me reply inline:
>>
>> On Thu, Apr 6, 2017 at 8:10 AM, Glenn Adams <[email protected]> wrote:
>> > Firstly, don't specify any script property, or if you do, set it to
>> > "dflt".
>> > Try that and see what happens.
>>
>> I really only added scripts as a last-ditch attempt, in the hope that
>> Claudius Teodorescu’s email was the answer for which I’d been looking.
>> Most of my attempts to make this work did not include them.
>>
>> I’ll try setting it to “dflt” now, just to see if it helps, but
>> otherwise I’ll leave them out.
>>
>> > Secondly, there are many Noto Sans fonts, so you may have to specify a
>> > different font to be applied to specific scripts.
>>
>> Sorry, I should have been more precise. I’m using Noto Sans as my
>> _typeface_, I’m using the various fonts for each of these scripts. For
>> example I’m using NotoNaskhArabic-{Regular,Bold}.ttf for Arabic, and
>> NotoSansDevanagari-{Regular,Bold}.ttf for Devanagari.
>>
>> > Thirdly, note that Devanagari has never been fully completed, so there
>> > are a
>> > few known bugs.
>>
>> Interesting. It was working well enough for my test content in the PDF
>> produced in 2015. Perhaps after this is all released our resident
>> language expert & I can look into pushing that forward a bit.
>>
>> -e
>>
>> --
>> Erik Ogan
>> [email protected]
>> 415.BE.MESSY
>
>



-- 
Erik Ogan
[email protected]
415.BE.MESSY
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.