Bug 990228
| Summary: | cpi broken again | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Waugh <twaugh> | ||||
| Component: | paps | Assignee: | Akira TAGOH <tagoh> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 19 | CC: | i18n-bugs, tagoh | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | paps-0.6.8-26.fc18 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-08-15 02:44:25 UTC | Type: | Bug | ||||
| 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: | 988909 | ||||||
| Attachments: |
|
||||||
|
Description
Tim Waugh
2013-07-30 15:42:09 UTC
Created attachment 780728 [details]
replacement paps-fix-tab-width.patch
Here's a replacement for paps-fix-tab-width.patch which undoes the breakage, although the output doesn't exactly look great.
Interdiff:
--- b/src/libpaps.c
+++ b/src/libpaps.c
@@ -448,9 +448,9 @@
if (paps->cpi > 0.0L)
{
- int n = geometry.width / avg_width;
+ double n = ((double)geometry.width) / avg_width;
- x_pos += ((double)n) * (1 / paps->cpi * 72.0);
+ x_pos += n * (1 / paps->cpi * 72.0);
}
else
{
paps-0.6.8-26.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/paps-0.6.8-26.fc19 paps-0.6.8-26.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/paps-0.6.8-26.fc18 Package paps-0.6.8-26.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing paps-0.6.8-26.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-13993/paps-0.6.8-26.fc19 then log in and leave karma (feedback). paps-0.6.8-26.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. paps-0.6.8-26.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |