Page MenuHomeWildfire Games

correct watermark aspect ratio
ClosedPublic

Authored by Nescio on Jan 21 2020, 11:22 AM.

Details

Reviewers
bb
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rP23492: Correct watermarks aspect ratio
Summary

The 0 A.D. product logo is 256×128 pixels, i.e. a 2:1 ratio.
The Wildfire Games company logo is 256×32 pixels, i.e. a 8:1 ratio.
When showing the watermark, the numbers are 190×88 i.e. 2.16:1 and 207×28 i.e. 7.39:1, which doesn't really matter for text, however, the 0 A.D. circle is noticeably squeezed, which looks rather poor. This patch tweaks the number so the correct aspect ratio is preserved.

Before:


After:

On a side note, I think images look best if they're displayed at exactly half their resolution, to ensure they remain sharp at 200% zoom. In this case, 128 width.

Test Plan

Apply arc patch --diff 11133, start a match, press Alt+G and Alt+K, take a screenshot, exit, revert.
Apply arc patch --diff 11134, start a match, press Alt+G and Alt+K, take a screenshot, exit, revert.
Apply arc patch --diff 11135, start a match, press Alt+G and Alt+K, take a screenshot, exit, revert.
Apply arc patch --diff 11136, start a match, press Alt+G and Alt+K, take a screenshot, exit, revert.
Compare the four critically and decide which one looks best.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Nescio created this revision.Jan 21 2020, 11:22 AM
Owners added a subscriber: Restricted Owners Package.Jan 21 2020, 11:22 AM
Nescio updated this revision to Diff 11135.Jan 21 2020, 11:25 AM

256 width

Nescio updated this revision to Diff 11136.Jan 21 2020, 11:26 AM

192 width

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1621/display/redirect

Nescio edited the test plan for this revision. (Show Details)Jan 21 2020, 11:27 AM
Nescio edited the summary of this revision. (Show Details)
Nescio edited the test plan for this revision. (Show Details)
Nescio edited the test plan for this revision. (Show Details)

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1622/display/redirect

Nescio edited the test plan for this revision. (Show Details)Jan 21 2020, 11:32 AM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1623/display/redirect

Nescio edited the test plan for this revision. (Show Details)Jan 21 2020, 11:39 AM
bb accepted this revision.Jan 23 2020, 4:07 PM
bb added a subscriber: bb.

diff 11136 appears best for me, maybe some artist wants to have an opinion?

On a side note, I think images look best if they're displayed at exactly half their resolution, to ensure they remain sharp at 200% zoom. In this case, 128 width.

If we want the images bigger, we can just render a bigger one...

This revision is now accepted and ready to land.Jan 23 2020, 4:07 PM
Stan added a subscriber: Stan.EditedJan 23 2020, 4:15 PM

Unstretched look indeed better. One can also notice that we used two different sprites for the same thing 0ad_logo and watermarkCompany

https://github.com/0ad/0ad/blob/7402b11e6655eace07741923fb89d61689ad4046/binaries/data/mods/public/gui/common/sprites.xml

EDIT: I meant the watermark product could be used in the main menu;

diff 11136 appears best

That's why I've uploaded it last :)

If we want the images bigger, we can just render a bigger one...

That could be nice. Currently it looks like this on 3840×2160 at 300% zoom:

EDIT: I meant the watermark product could be used in the main menu;

The design is similar, but the watermark colours look brighter, presumably to have better contrast on various backgrounds?
Besides, mods might want to replace the main menu logo but keep the 0 A.D. watermark logo unchanged.

(Off-topic: I think both https://wildfiregames.com/img/logo.png and https://commons.wikimedia.org/wiki/File:WildfireGames.png look better than the current company watermark logo, but I suppose the url matters.)

This revision was automatically updated to reflect the committed changes.