I was intended to parse the string manually so the comma would be quite
handy to break the string, then I noticed the internal function
iupGetFontInfo() can do all the trick. But I still wrote to you because
it's not consistent to the manual. Just for your information.

On 18 May 2017 at 03:07, Antonio Scuri <antonio.sc...@gmail.com> wrote:

>   Hi,
>
>   Yes, we directly return a string provided by GTK. That comma in Pango is
> optional.
>
>   The font parser in IUP take that into account when processing fonts for
> elements. CD also considers that.
>
>   Are you manually parsing the string? Why that is a problem for you?
>
> Best,
> Scuri
>
>
> On Wed, May 17, 2017 at 1:48 AM, Andy Xiyue <xiyue...@gmail.com> wrote:
>
>> Hi Scuri
>>
>> When I was using the IupFontDlg, I found this might be an issue.
>>
>> The value of IupFontDlg, according to the "FONT" page,
>>
>> 'It is defined as having 3 parts: "<font face>*,* <font styles> <font
>> size>".'
>>
>> However the comma was missed between <font face> and <font styles>. For
>> example, my return value from IupFontDlg was
>>
>> "PT Sans Narrow Bold Italic 12"
>>
>> There's no comma between the font face and style.
>>
>> Kind regards
>> Andy
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to