Low quality input country flags

Viorel-Cătălin Răpițeanu rapiteanu.catalin at gmail.com
Wed Aug 3 09:39:21 UTC 2016


> 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 <aacid at kde.org>:

> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160803/0a69fc02/attachment.html>


More information about the Kde-frameworks-devel mailing list