Bug 175303
Summary: | what to do about widescreen monitors and the default background... | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeremy Katz <katzj> | ||||||||
Component: | fedora-logos | Assignee: | Ray Strode [halfline] <rstrode> | ||||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | rawhide | CC: | dfong, johnp, mlists, rodd | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2006-07-26 19:00:25 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 150223, 197822 | ||||||||||
Attachments: |
|
Description
Jeremy Katz
2005-12-08 17:53:36 UTC
I wonder if SVG supports hinting for graceful changes in aspect ratio... Otherwise, maybe we could make the default have nothing complicated at the edges (logos, gradients, etc) and just paint the vertical bars on the side the same color as the background. If we could tweak the image in the default install then that's the easiest way. Otherwise we have to come up with some sort of matching heuristics to figure out which image to load. Coming up with a non-hacky solution for this type of problem is actually sort of hard. Tweaking the image at the install is poor because it won't adapt nicely to changed monitors or things like remote X. Also, we don't know what resolution you're going to be running at post-install in the installer and can't sanely probe monitors because X is crap ;-) Hi, By "image in the default install" I meant "default background image" :-). I didn't mean doing anything at install time. Diana, can you send me the individual layers from the default background that we ship now? I'm going to try to play with svg and see if i can make an adaptive background. Diana sent me the files, i'll try to look into it soon. Ray, I investigated the necessary svg today. I'll attach my testimage. Here are the relevant points: 1) Set width and height on the svg element to establish the user coordinate system 2) Add the scalable background image with x="0" y="0" width="100%" height="100%" preserveAspectRatio="none" This means: fill the full size of the svg with the image 3) Add the decorations (ie the text, bubbles and smoke on transparent background) with x="0" y="0" width="100%" height="100%" preserveAspectRatio="xMaxYMid meet" This means: scale the image to fill the full size of the svg, but only make it as large as you can while keeping the aspect ratio, and keep all of the image within the viewport. Position the image as far to the left as possible, and center it vertically. Created attachment 124024 [details]
testimage.svg
Created attachment 124025 [details]
image1.png
Created attachment 124026 [details]
image2.png
Ok, scratch this, it doesn't actually work. SVG seems to not be the right tool for this job *** Bug 177176 has been marked as a duplicate of this bug. *** Add to FC6Destop tracker Doing this smart seems hard, I'm just adding a new wide background. Duping to other bug. *** This bug has been marked as a duplicate of 176371 *** |