Re: Urdu font not rendering properly in the editor

2014-10-13 Thread Jean-Marc Lasgouttes
Le 28/07/2014 21:07, Jamil Haider a écrit : Hello all Don't know if it is best place to ask, but where can I get my hands on Windows build of the master ? Hello Jamil, Did you manage to try it out? JMarc

Re: Urdu font not rendering properly in the editor

2014-08-24 Thread Uwe Stöhr
Am 28.07.2014 um 21:07 schrieb Jamil Haider: Don't know if it is best place to ask, but where can I get my hands on Windows build of the master ? Hi Jamil, do you need a Windows build of master to test? If so I can upload one for you. regards Uwe

Re: Urdu font not rendering properly in the editor

2014-07-28 Thread Jean-Marc Lasgouttes
Le 28/07/14 21:07, Jamil Haider a écrit : Hello all Don't know if it is best place to ask, but where can I get my hands on Windows build of the master ? A few month ago, I would have said that you have to do it yourself, but now I have a proper answer, thanks to Peter Kümmel. Here: http://s

Re: Urdu font not rendering properly in the editor

2014-07-28 Thread Jamil Haider
Hello all Don't know if it is best place to ask, but where can I get my hands on Windows build of the master ? Regards On Mon, Mar 31, 2014 at 3:43 AM, Uwe Stöhr wrote: > Am 30.03.2014 21:04, schrieb Jamil Haider: > > > Hi Uwe Stöhr, your supplied languages file fixed the RTL issue. >> > > F

[experimental PATCH] Use Qt for Hebrew and Arabic painting (was: Re: [patch for master]: Urdu font not rendering properly in the editor)

2014-04-11 Thread Jean-Marc Lasgouttes
09/04/2014 12:47, Vincent van Ravesteijn: Urdu uses the same script, so the same arabic_table can be reused, just as the table is also used for Farsi. Some specific Urdu letters are not implemented in this table, but it is almost trivial to fix that. ... or we could do like the following patch

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-10 Thread Uwe Stöhr
Am 09.04.2014 10:56, schrieb Jürgen Spitzmüller: I propose the following: Disable this feature for the 2.1 release. If you just comment out the language entry, Jamil can easily enable it again on his side (without recompiling) and help us testing and finishing the support for this language. F

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-10 Thread Uwe Stöhr
Am 09.04.2014 10:49, schrieb Vincent van Ravesteijn: I don't understand why you keep saying that only the RTL flag is missing, while we have made it clear to you that there is so much more missing. I said how I see it and also said that you all should decide. If we should not advertise Urdu as

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Vincent van Ravesteijn
I propose the following: Disable this feature for the 2.1 release. If you just comment out the language entry, Jamil can easily enable it again on his side (without recompiling) and help us testing and finishing the support for this language. I think this is a reasonable compromise. I

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Jean-Marc Lasgouttes
09/04/2014 12:47, Vincent van Ravesteijn: Urdu uses the same script, so the same arabic_table can be reused, just as the table is also used for Farsi. Some specific Urdu letters are not implemented in this table, but it is almost trivial to fix that. OK, so maybe is it possible to do something

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Vincent van Ravesteijn
On Wed, Apr 9, 2014 at 12:33 PM, Jean-Marc Lasgouttes wrote: > 09/04/2014 11:06, Vincent van Ravesteijn: > >> Am I misunderstanding or will we have a 90% solution if we just assume >> that the script is the same as arabic ? Then there are only a few >> exceptions that might need special attention

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Jean-Marc Lasgouttes
09/04/2014 11:06, Vincent van Ravesteijn: Am I misunderstanding or will we have a 90% solution if we just assume that the script is the same as arabic ? Then there are only a few exceptions that might need special attention ? The problem is to have the equivalent of Encodings::transformChar (an

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Vincent van Ravesteijn
On Wed, Apr 9, 2014 at 10:57 AM, Jean-Marc Lasgouttes wrote: > 08/04/2014 23:56, Uwe Stöhr: > >> So as Jamil stated, the output is correct. What is not working yet >> are the special ligatures in the font within LyX. As said Jamil >> volunteered to get that fixed soon. I am not the expert but JMar

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Jean-Marc Lasgouttes
08/04/2014 23:56, Uwe Stöhr: So as Jamil stated, the output is correct. What is not working yet are the special ligatures in the font within LyX. As said Jamil volunteered to get that fixed soon. I am not the expert but JMarc said this could probably be done in the 2.1.x cycle. I have to retrac

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Jürgen Spitzmüller
2014-04-09 10:49 GMT+02:00 Vincent van Ravesteijn: > I don't understand why you keep saying that only the RTL flag is > missing, while we have made it clear to you that there is so much more > missing. It's a bit shocking you didn't even know that arabic > characters change shape depending on whet

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-09 Thread Vincent van Ravesteijn
On Tue, Apr 8, 2014 at 11:56 PM, Uwe Stöhr wrote: > Am 04.04.2014 08:25, schrieb Vincent van Ravesteijn: > > >> Sorry, but there is nothing about Urdu that we support (except an >> entry in the languages file), > > > And with this we support hyphenations, automatic translations of words like > "fi

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-08 Thread Uwe Stöhr
Am 04.04.2014 08:25, schrieb Vincent van Ravesteijn: Sorry, but there is nothing about Urdu that we support (except an entry in the languages file), And with this we support hyphenations, automatic translations of words like "figure" etc. So as Jamil stated, the output is correct. What is not

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-08 Thread Georg Baum
Uwe Stöhr wrote: > Am 03.04.2014 22:12, schrieb Georg Baum: > >> I understand your motivation to help people in developing countries (and >> I appreciate it), but please do not assume that your proposed solution of >> a particular problem is the only one which is feasible. Claiming that LyX >> su

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-03 Thread Uwe Stöhr
Am 03.04.2014 22:12, schrieb Georg Baum: I understand your motivation to help people in developing countries (and I appreciate it), but please do not assume that your proposed solution of a particular problem is the only one which is feasible. Claiming that LyX supports a new language although i

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-03 Thread Georg Baum
Uwe Stöhr wrote: [snip a lot about third world problems] > OK, I have never been in a country where Urdu is spoken, Jamil could state > more precisely about it, I only wanted to explain why I think our strict > rules are not helpful in every case for every region. (Which does not mean > that I wa

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-02 Thread Uwe Stöhr
Am 02.04.2014 07:39, schrieb JeanMarc Lasgouttes: OK, except that I never stated that I would find time to work on it soon. Sorry, then I misread your post: But indeed it should not be too difficult to add support for Urdu in 2.1.x timeframe by adding some code similar to what is done in Ara

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread JeanMarc Lasgouttes
OK, except that I never stated that I would find time to work on it soon. Actually the reasanable thing to do is to try to get it right in 2.2. JMarc On 2 avril 2014 00:44:54 UTC+02:00, "Uwe Stöhr" wrote: >Am 01.04.2014 11:26, schrieb Jean-Marc Lasgouttes: > >> Indeed Farsi is handled. But wha

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Uwe Stöhr
Am 01.04.2014 21:12, schrieb Georg Baum: I should have also said that personally I would not use a program that does not support my language. I mean how should I use LyX when I cannot write German with it: no German hyphenation, no spell-checker, English terms like "Figure", etc. I agree that

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Uwe Stöhr
Am 01.04.2014 11:26, schrieb Jean-Marc Lasgouttes: > Indeed Farsi is handled. But what I do not know is what characters have to be handled specially. > But indeed it should not be too difficult to add support for Urdu in 2.1.x timeframe by adding > some code similar to what is done in Arabic. B

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Georg Baum
Uwe Stöhr wrote: > I should have also said that personally I would not use a program that > does not support my language. I mean how should I use LyX when I cannot > write German with it: no German hyphenation, no spell-checker, English > terms like "Figure", etc. I agree that this is important f

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Georg Baum
Uwe Stöhr wrote: > Am 31.03.2014 21:46, schrieb Georg Baum: > >> IMHO we should not add any new language without a test by a native >> speaker. > > My experience is that it works the opposite way: people see that LyX > supports their language and give it a try. It is only a dream that someone >

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Jean-Marc Lasgouttes
01/04/2014 10:46, Vincent van Ravesteijn: Currently, we have in the code many "if (hebrew)" or "if (arabic)" constructs that should be audited and removed if we want to have a chance to make Urdu work. I somehow remember that Farsi did work ? Or do I remember incorrectly ? Basically

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Vincent van Ravesteijn
On Tue, Apr 1, 2014 at 10:10 AM, Jean-Marc Lasgouttes wrote: > 01/04/2014 09:28, Vincent van Ravesteijn: > > I cut out two words, both in the wikipedia text, and the text in LyX. >> Are you sure that the words in the left column are the same as those in >> the right column ? Especially pay attent

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Jean-Marc Lasgouttes
01/04/2014 09:28, Vincent van Ravesteijn: I cut out two words, both in the wikipedia text, and the text in LyX. Are you sure that the words in the left column are the same as those in the right column ? Especially pay attention to the middle letter of the top word, and the starting letter (the ri

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-04-01 Thread Vincent van Ravesteijn
On Tue, Apr 1, 2014 at 12:19 AM, Uwe Stöhr wrote: > Am 31.03.2014 23:56, schrieb Vincent van Ravesteijn: > > > Rtl and contextual characters are separate issues. >> > > And what should we do now? > Do you see the bug in my screenshot or is this OK for you? > > regards Uwe > I cut out two words,

[patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Vincent van Ravesteijn
Op 1 apr. 2014 00:19 schreef "Uwe Stöhr" >: > > Am 31.03.2014 23:56, schrieb Vincent van Ravesteijn: > > >> Rtl and contextual characters are separate issues. > > > And what should we do now? > Do you see the bug in my screenshot or is this OK for you? > > regards Uwe As I said. I cannot see the

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Uwe Stöhr
Am 31.03.2014 23:56, schrieb Vincent van Ravesteijn: Rtl and contextual characters are separate issues. And what should we do now? Do you see the bug in my screenshot or is this OK for you? regards Uwe

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Uwe Stöhr
Am 31.03.2014 23:26, schrieb Uwe Stöhr: Am 31.03.2014 21:46, schrieb Georg Baum: IMHO we should not add any new language without a test by a native speaker. My experience is that it works the opposite way: people see that LyX supports their language and give it a try. It is only a dream tha

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Vincent van Ravesteijn
Op 31 mrt. 2014 23:35 schreef "Uwe Stöhr" : > > Am 31.03.2014 23:25, schrieb Vincent van Ravesteijn: > > >>> How do you come to the conclusion? >> >> >> I draw this conclusion because a user writing Urdu has made a bug report that all characters appear >> as separate characters and they do not appe

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Uwe Stöhr
Am 31.03.2014 23:43, schrieb Vincent van Ravesteijn: The image has too low resolution to see text. it has 1980 x 1080 pixels at 96 dpi - that is the resolution of my monitor. I'll re-send you the image in a private mail again. maybe your newsreader mangled it. regards Uwe

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Vincent van Ravesteijn
Op 31 mrt. 2014 23:35 schreef "Uwe Stöhr" : > > Am 31.03.2014 23:25, schrieb Vincent van Ravesteijn: > > >>> How do you come to the conclusion? >> >> >> I draw this conclusion because a user writing Urdu has made a bug report that all characters appear >> as separate characters and they do not appe

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Uwe Stöhr
Am 31.03.2014 21:46, schrieb Georg Baum: IMHO we should not add any new language without a test by a native speaker. My experience is that it works the opposite way: people see that LyX supports their language and give it a try. It is only a dream that someone comes to us and say, please impl

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Vincent van Ravesteijn
Uwe Stöhr schreef op 31-3-2014 23:04: Am 31.03.2014 09:55, schrieb Vincent van Ravesteijn: You say: "I would like to have that in master because otherwise Urdu support will not work as advertised in http://wiki.lyx.org/LyX/NewInLyX21"; However, Urdu is still unusable even with your patch. Ho

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Uwe Stöhr
Am 31.03.2014 09:55, schrieb Vincent van Ravesteijn: You say: "I would like to have that in master because otherwise Urdu support will not work as advertised in http://wiki.lyx.org/LyX/NewInLyX21"; However, Urdu is still unusable even with your patch. How do you come to the conclusion? My pat

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Georg Baum
Vincent van Ravesteijn wrote: > However, Urdu is still unusable even with your patch. Maybe it's better to > drop the support instead of advertising support that is not there ? +1 IMHO we should not add any new language without a test by a native speaker. There are so many languages with proper

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-31 Thread Vincent van Ravesteijn
On Mon, Mar 31, 2014 at 12:44 AM, Uwe Stöhr wrote: > Am 30.03.2014 15:38, schrieb Uwe Stöhr: > > When Implementing support for the new languages in LyX 2.1 I forgot that >> Urdu and Systriac are >> RTL-languages: http://en.wikipedia.org/wiki/Right-to-left >> >> The attached simple patch fixes th

Re: [patch for master]: Urdu font not rendering properly in the editor

2014-03-30 Thread Uwe Stöhr
Am 30.03.2014 15:38, schrieb Uwe Stöhr: When Implementing support for the new languages in LyX 2.1 I forgot that Urdu and Systriac are RTL-languages: http://en.wikipedia.org/wiki/Right-to-left The attached simple patch fixes that. The Urdu user confirmed that this patch fixes the problem for

Re: Urdu font not rendering properly in the editor

2014-03-30 Thread Uwe Stöhr
Am 30.03.2014 21:04, schrieb Jamil Haider: Hi Uwe Stöhr, your supplied languages file fixed the RTL issue. Fine, so one bug less. However, characters still do not appear in contextual form. Here is the ticket: http://www.lyx.org/trac/ticket/9066 Thanks, we will have a look. regards Uw

Re: Urdu font not rendering properly in the editor

2014-03-30 Thread Jamil Haider
Hi Uwe Stöhr, your supplied languages file fixed the RTL issue. However, characters still do not appear in contextual form. Here is the ticket: http://www.lyx.org/trac/ticket/9066 Regards Jamil Haider On Sun, Mar 30, 2014 at 6:33 PM, Uwe Stöhr wrote: > Am 30.03.2014 04:31, schrieb Uwe Stö

[patch for master]: Urdu font not rendering properly in the editor

2014-03-30 Thread Uwe Stöhr
When Implementing support for the new languages in LyX 2.1 I forgot that Urdu and Systriac are RTL-languages: http://en.wikipedia.org/wiki/Right-to-left The attached simple patch fixes that. I would like to have that in master because otherwise Urdu support will not work as advertised in http:

Re: Urdu font not rendering properly in the editor

2014-03-30 Thread Uwe Stöhr
Am 30.03.2014 04:31, schrieb Uwe Stöhr: However, cursor doesn't switch to Right to Left order. Also, each character appears as a single separate character with no "contextual form". We will have a look. We did not take into account that Urdu is a right-to-left language. It should work for yo

Re: Urdu font not rendering properly in the editor

2014-03-29 Thread Uwe Stöhr
Am 29.03.2014 10:07, schrieb Jamil Haider: With 2.1 RC1 I am able to set Urdu as document language. Good. However, cursor doesn't switch to Right to Left order. Also, each character appears as a single separate character with no "contextual form". We will have a look. Could you nevertheles