Re: Low quality input country flags

2016-10-03 Thread Albert Astals Cid
El dimecres, 3 d’agost de 2016, a les 12:39:21 CEST, Viorel-Cătălin Răpițeanu 
va escriure:
> > I don't understand this bug, are you saying flags of France and Romania
> 
> are shown differently even if the png files have the same size?
> 
> Of course that the png size is the same, but the France flag doesn't fill
> the whole canvas. 

I just fixed that (the France flag part).

> As a result of this, the flag seems smaller when
> displayed in the panel.
> Also, due to the format and size limitation, more complex flags (like that
> of Nepal) can never be displayed correctly.
> 
> A solution for this would be replacing the png format with an svg one, but
> I'm not sure exactly of the complete implications of such a change.

Neither am I, if you're interested in investigating who uses those flags and 
how they are used I'm sure people will appreciate the possibility to move to 
higher resolution flags (SVG is not really the pinnacle since it's slow in 
rendering).

Cheers,
  Albert

> 
> Kind regards,
> Catalin
> 
> 2016-08-03 0:45 GMT+03:00 Albert Astals Cid :
> > El diumenge, 31 de juliol de 2016, a les 17:13:07 CEST, Viorel-Cătălin
> > 
> > Răpițeanu va escriure:
> > > Hi all,
> > > 
> > > I've got a question related to the flags used to display the input
> > > layout
> > > in plasma.
> > > To explain, the flags used for the input sources either don't have the
> > > correct aspect ratio, either they are pixelated. The flags of Romania
> > > and
> > > France should have the same aspect ratio (2:3) when they are displayed
> > > in
> > > the taskbar. For more information, you can visit:
> > > https://bugs.kde.org/show_bug.cgi?id=355261
> > 
> > I don't understand this bug, are you saying flags of France and Romania
> > are
> > shown differently even if the png files have the same size?
> > 
> > > The flags are installed by* kde-runtime*
> > 
> > No, by kdelibs4support.
> > 
> > Cheers,
> > 
> >   Albert
> >   
> > > and can be found in: *#
> > > l10n/$COUNTRY/flag.png*
> > > The reason why they are pixelated is because of their size. To quote
> > > from
> > > README file: > You will need a nice flag for your country. The size
> > 
> > should
> > 
> > > be 21x14 > pixels, and it should be called "flag.png". Potential fixes
> > 
> > for
> > 
> > > this problem would be: 1. Replacing the png format with the svg one,
> > 
> > thing
> > 
> > > that would also require some modifications to
> > 
> > kcontrol/locale/kcmlocale.cpp
> > 
> > > and khelpcenter/htmlsearch/klangcombo.cpp. 2. Improving the existing png
> > > resolution. Any other suggestions to fix this problem?
> > > Will the format replacement (Fix 1) impact other components?
> > > 
> > > Kind regards,
> > > Cătălin




Re: Low quality input country flags

2016-08-03 Thread Viorel-Cătălin Răpițeanu
> I don't understand this bug, are you saying flags of France and Romania
are shown differently even if the png files have the same size?

Of course that the png size is the same, but the France flag doesn't fill
the whole canvas. As a result of this, the flag seems smaller when
displayed in the panel.
Also, due to the format and size limitation, more complex flags (like that
of Nepal) can never be displayed correctly.

A solution for this would be replacing the png format with an svg one, but
I'm not sure exactly of the complete implications of such a change.

Kind regards,
Catalin

2016-08-03 0:45 GMT+03:00 Albert Astals Cid :

> El diumenge, 31 de juliol de 2016, a les 17:13:07 CEST, Viorel-Cătălin
> Răpițeanu va escriure:
> > Hi all,
> >
> > I've got a question related to the flags used to display the input layout
> > in plasma.
> > To explain, the flags used for the input sources either don't have the
> > correct aspect ratio, either they are pixelated. The flags of Romania and
> > France should have the same aspect ratio (2:3) when they are displayed in
> > the taskbar. For more information, you can visit:
> > https://bugs.kde.org/show_bug.cgi?id=355261
>
> I don't understand this bug, are you saying flags of France and Romania are
> shown differently even if the png files have the same size?
>
> >
> > The flags are installed by* kde-runtime*
>
> No, by kdelibs4support.
>
> Cheers,
>   Albert
>
> > and can be found in: *#
> > l10n/$COUNTRY/flag.png*
> > The reason why they are pixelated is because of their size. To quote from
> > README file: > You will need a nice flag for your country. The size
> should
> > be 21x14 > pixels, and it should be called "flag.png". Potential fixes
> for
> > this problem would be: 1. Replacing the png format with the svg one,
> thing
> > that would also require some modifications to
> kcontrol/locale/kcmlocale.cpp
> > and khelpcenter/htmlsearch/klangcombo.cpp. 2. Improving the existing png
> > resolution. Any other suggestions to fix this problem?
> > Will the format replacement (Fix 1) impact other components?
> >
> > Kind regards,
> > Cătălin
>
>
>
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Low quality input country flags

2016-08-02 Thread Albert Astals Cid
El diumenge, 31 de juliol de 2016, a les 17:13:07 CEST, Viorel-Cătălin 
Răpițeanu va escriure:
> Hi all,
> 
> I've got a question related to the flags used to display the input layout
> in plasma.
> To explain, the flags used for the input sources either don't have the
> correct aspect ratio, either they are pixelated. The flags of Romania and
> France should have the same aspect ratio (2:3) when they are displayed in
> the taskbar. For more information, you can visit:
> https://bugs.kde.org/show_bug.cgi?id=355261

I don't understand this bug, are you saying flags of France and Romania are 
shown differently even if the png files have the same size?

> 
> The flags are installed by* kde-runtime* 

No, by kdelibs4support.

Cheers,
  Albert

> and can be found in: *#
> l10n/$COUNTRY/flag.png*
> The reason why they are pixelated is because of their size. To quote from
> README file: > You will need a nice flag for your country. The size should
> be 21x14 > pixels, and it should be called "flag.png". Potential fixes for
> this problem would be: 1. Replacing the png format with the svg one, thing
> that would also require some modifications to kcontrol/locale/kcmlocale.cpp
> and khelpcenter/htmlsearch/klangcombo.cpp. 2. Improving the existing png
> resolution. Any other suggestions to fix this problem?
> Will the format replacement (Fix 1) impact other components?
> 
> Kind regards,
> Cătălin


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel