Bug 171848
Summary: | gv attempts to open /usr/share/gv/ as a file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
Component: | gv | Assignee: | Orion Poplawski <orion> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | extras-qa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.6.1-4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-27 20:24:18 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: |
Description
Michal Jaegermann
2005-10-26 23:34:09 UTC
Added patch to open /usr/share/gv/GV. I'm not opposed to mucking with GV.fallbackPageMedia if you sent a script that would parse 'local -c LC_PAPER' appropriately. > I'm not opposed to mucking with GV.fallbackPageMedia if you sent a script ...
sz=($(locale -c LC_PAPER)); [ "${sz[1]}" = 279 ] && echo Letter || echo A4
or, if you want to avoid arrays,
sz=$(a="$(locale -c LC_PAPER)"; echo $a | (read b a b ; echo $a))
[ "$sz" = 279 ] && echo Letter || echo A4
I am not sure if this is worth the bother. Most documents will have
a bounding box anyway and this will be used.
|