Mageia Bugzilla – Attachment 1682 Details for
Bug 4779
Landscape oriented printouts are incorrectly oriented.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
This patch fixes orientation issues for printouts.
libgnomeprint-2.18.8-layout.patch (text/plain), 568 bytes, created by
Alexander Zakamaldin
on 2012-03-06 04:04:34 CET
(
hide
)
Description:
This patch fixes orientation issues for printouts.
Filename:
MIME Type:
Creator:
Alexander Zakamaldin
Created:
2012-03-06 04:04:34 CET
Size:
568 bytes
patch
obsolete
>--- ./libgnomeprint/gnome-print-job.c.orig 2012-02-23 00:15:37.000000000 +0600 >+++ ./libgnomeprint/gnome-print-job.c 2012-02-23 00:19:29.000000000 +0600 >@@ -398,7 +398,7 @@ > } > > gnome_print_job_update_layout_data (job); >- if (job->priv->LY_LIST && (g_list_length (job->priv->LY_LIST) > 1) && >+ if (job->priv->LY_LIST && (g_list_length (job->priv->LY_LIST) >= 1) && > !((g_list_length (job->priv->LY_LIST) == 1) && > (((gdouble *) g_list_nth_data (job->priv->LY_LIST, 0)) [0] == 1.) && > (((gdouble *) g_list_nth_data (job->priv->LY_LIST, 0)) [1] == 0.) &&
--- ./libgnomeprint/gnome-print-job.c.orig 2012-02-23 00:15:37.000000000 +0600 +++ ./libgnomeprint/gnome-print-job.c 2012-02-23 00:19:29.000000000 +0600 @@ -398,7 +398,7 @@ } gnome_print_job_update_layout_data (job); - if (job->priv->LY_LIST && (g_list_length (job->priv->LY_LIST) > 1) && + if (job->priv->LY_LIST && (g_list_length (job->priv->LY_LIST) >= 1) && !((g_list_length (job->priv->LY_LIST) == 1) && (((gdouble *) g_list_nth_data (job->priv->LY_LIST, 0)) [0] == 1.) && (((gdouble *) g_list_nth_data (job->priv->LY_LIST, 0)) [1] == 0.) &&
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4779
: 1682 |
1683
|
1684