Re: Adding Languages to Writer's Character, Font Menu

2015-07-03 Thread Caolán McNamara
On Thu, 2015-07-02 at 19:34 +0100, Richard Wordingham wrote: > On Wed, 24 Jun 2015 23:40:10 +0200 > Michael Stahl wrote: > > > On 24.06.2015 23:26, toki wrote: > > > > That is part of the reason why I think the whole Western/CJKV/CTL > > > split should be thrown out, and replaced with language/w

Re: Adding Languages to Writer's Character, Font Menu

2015-07-02 Thread Richard Wordingham
On Wed, 24 Jun 2015 23:40:10 +0200 Michael Stahl wrote: > On 24.06.2015 23:26, toki wrote: > > That is part of the reason why I think the whole Western/CJKV/CTL > > split should be thrown out, and replaced with language/writing > > system, supplemented by locale data. > that's a great idea in t

Re: Adding Languages to Writer's Character, Font Menu

2015-06-30 Thread toki
On 06/29/2015 09:31 PM, Richard Wordingham wrote: > Do you mean 'script' when you say 'writing system'? Few languages > share a writing system - Welsh, English, French and German have four > different writing systems. Welsh, English, French, and German use one writing system --- the Latin Writ

Re: Adding Languages to Writer's Character, Font Menu

2015-06-30 Thread Richard Wordingham
On Tue, 30 Jun 2015 17:48:05 +0200 Eike Rathke wrote: > On Monday, 2015-06-29 20:40:46 +0200, Khaled Hosny wrote: > > We already handle this at the text shaping level in VCL for > > platforms where HarfBuzz is used. > I think we talk about two different things here. Yes. Khaled and I are foc

Re: Adding Languages to Writer's Character, Font Menu

2015-06-30 Thread Eike Rathke
Hi Richard, On Monday, 2015-06-29 22:27:45 +0100, Richard Wordingham wrote: > 1) Determine script from character(s). > > 2) Categorise script as Western/CTL/CJK Sounds good. > 3) Locale is then the Western locale, the CTL locale or the CJK locale > as appropriate. That's more or less what we

Re: Adding Languages to Writer's Character, Font Menu

2015-06-30 Thread Eike Rathke
Hi Khaled, On Monday, 2015-06-29 20:40:46 +0200, Khaled Hosny wrote: > > > The script is generally implicit in the text. > > > > You want to rely on automatic detection of scripts depending on the > > language chosen? Do you plan to implement that? However, even then the > > resulting tag would

Re: Adding Languages to Writer's Character, Font Menu

2015-06-29 Thread Richard Wordingham
On Wed, 24 Jun 2015 21:26:50 + toki wrote: > I'll simply point to the current version of Microsoft Office, which is > claimed, by Microsoft, to support more than 7,000 languages. > > As far as UI design goes, there are at least four options. > 1) Offer everything, listed alphabetically; > 2)

Re: Adding Languages to Writer's Character, Font Menu

2015-06-29 Thread Richard Wordingham
On Mon, 29 Jun 2015 20:40:46 +0200 Khaled Hosny wrote: > On Mon, Jun 29, 2015 at 12:14:44PM +0200, Eike Rathke wrote: > > Hi Richard, > > > > On Wednesday, 2015-06-24 20:54:54 +0100, Richard Wordingham wrote: > > > > > The script is generally implicit in the text. > > > > You want to rely on a

Re: Adding Languages to Writer's Character, Font Menu

2015-06-29 Thread Khaled Hosny
On Mon, Jun 29, 2015 at 12:14:44PM +0200, Eike Rathke wrote: > Hi Richard, > > On Wednesday, 2015-06-24 20:54:54 +0100, Richard Wordingham wrote: > > > The script is generally implicit in the text. > > You want to rely on automatic detection of scripts depending on the > language chosen? Do you

Re: Adding Languages to Writer's Character, Font Menu

2015-06-29 Thread Eike Rathke
Hi Richard, On Thursday, 2015-06-25 23:36:52 +0100, Richard Wordingham wrote: > aLocale.Country = "" > aLocale.Language = "qlt" > aLocale.Variant = "khb-CN" Note that if the language tag consists only of an ISO 639 language code and an ISO 3166 country code you do not need the "qlt"-Variant mech

Re: Adding Languages to Writer's Character, Font Menu

2015-06-29 Thread Eike Rathke
Hi Richard, On Wednesday, 2015-06-24 20:54:54 +0100, Richard Wordingham wrote: > > > >* Be able to associate a language with CTL/CJK. > > > > This is impossible for a few languages. Several languages exist in > > > competing scripts of different categories - Sanskrit and Pali may be > > > writt

Re: Adding Languages to Writer's Character, Font Menu

2015-06-25 Thread Richard Wordingham
On Wed, 24 Jun 2015 20:54:54 +0100 Richard Wordingham wrote: > On Wed, 24 Jun 2015 12:31:16 +0200 > Eike Rathke wrote: > > Simply in a css::lang::Locale set the Language field to "qlt" and in > > the Variant have the language tag, see > > http://api.libreoffice.org/docs/idl/ref/structcom_1_1sun

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread toki
On 06/24/2015 09:40 PM, Michael Stahl wrote: >> That is part of the reason why I think the whole Western/CJKV/CTL split >> should be thrown out, and replaced with language/writing system, > that's a great idea in theory, unfortunately it would throw out any hope of > compatibility with Micros

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread Michael Stahl
On 24.06.2015 23:26, toki wrote: > On 06/24/2015 07:54 PM, Richard Wordingham wrote: > >> script for a barely supported writing system, let alone the class of script. >> My thought was that the language code would suffice. The script is > generally implicit in the text. > > That is part of the r

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread toki
On 06/24/2015 07:54 PM, Richard Wordingham wrote: > script for a barely supported writing system, let alone the class of script. > My thought was that the language code would suffice. The script is generally implicit in the text. That is part of the reason why I think the whole Western/CJKV/CTL

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread Richard Wordingham
On Wed, 24 Jun 2015 12:31:16 +0200 Eike Rathke wrote: > > >* Allow arbitrary lang tags to be used in a text anywhere > > OpenDocument allows these - it is just a question of how much > > LibreOffice supports this. > It does. > > I believe the UNO interface supports this, > > but I won't be s

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread Richard Wordingham
On Wed, 24 Jun 2015 11:52:49 +0200 Eike Rathke wrote: > > If I have some text with khb-CN as the language and > > region and then try to set the language for a greater expanse of > > text, khb-CN does not come up in the menu. N.B. By 'language' and 'region', I mean language and region for comple

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread Eike Rathke
Hi Richard, On Wednesday, 2015-06-24 08:32:42 +0100, Richard Wordingham wrote: > It's been claimed that this is the tip of a big iceberg: > > "The ideal would be to allow the following capabilities: > > * Tag text according to its language tag rather than using an LCID, > given even windows u

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread Eike Rathke
Hi Richard, On Tuesday, 2015-06-23 13:14:03 +0100, Richard Wordingham wrote: > > The language combo-box allows you to enter arbitrary language tags. > > What happens if you just enter khb-CN in there. > > Using vanilla Version: 4.3.3.2, Build ID: > 9bb7eadab57b6755b1265afa86e04bf45fbfc644 on Ubu

Re: Adding Languages to Writer's Character, Font Menu

2015-06-24 Thread Richard Wordingham
On Tue, 23 Jun 2015 21:07:12 + toki wrote: > On 06/22/2015 07:30 PM, Richard Wordingham wrote: > > > How do I add a language to this menu so that fonts that can will > > render text in the style appropriate to the language? I've been getting a fair bit of information off list, though it's

Re: Adding Languages to Writer's Character, Font Menu

2015-06-23 Thread toki
On 06/22/2015 07:30 PM, Richard Wordingham wrote: > How do I add a language to this menu so that fonts that can will render text > in the style appropriate to the language? My recommendation is that you file an RFE for each language and locale that you'd like to use in LibO. Whilst one can fak

Re: Adding Languages to Writer's Character, Font Menu

2015-06-23 Thread Richard Wordingham
(Copy to list for reference - I accidentally replied to Caolán alone.) On Tue, 23 Jun 2015 08:59:04 +0100 Caolán McNamara wrote: > The language combo-box allows you to enter arbitrary language tags. > What happens if you just enter khb-CN in there. Using vanilla Version: 4.3.3.2, Build ID: 9bb7

Re: Adding Languages to Writer's Character, Font Menu

2015-06-23 Thread Caolán McNamara
On Mon, 2015-06-22 at 20:30 +0100, Richard Wordingham wrote: > How do I add a language to this menu so that fonts that can will render > text in the style appropriate to the language? I am reconciled to > having to create a bespoke version of LibreOffice, though I'd rather > not. The language com

Adding Languages to Writer's Character, Font Menu

2015-06-22 Thread Richard Wordingham
How do I add a language to this menu so that fonts that can will render text in the style appropriate to the language? I am reconciled to having to create a bespoke version of LibreOffice, though I'd rather not. Manually editing a document's XML files would be the last resort - it seems to work!