Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit preview issue #137

Open
eklee0126 opened this issue Feb 18, 2025 · 1 comment
Open

Edit preview issue #137

eklee0126 opened this issue Feb 18, 2025 · 1 comment

Comments

@eklee0126
Copy link

Hi,

I have noticed a discrepancy between the print preview and the edit preview.

Image

When I click on 'Print ## Labels' and check the labels in the print preview, they appear correct and print out without issues, as shown below:

Image

However, when I click on 'Preview/Edit Labels,' the labels appear slightly misaligned. It seems that this mode adds extra space between lines and characters, resulting in the same label displayed below, which does not fit properly when printed from this view.

Image

Do you have any suggestions for addressing this discrepancy?

Thanks,
E.K.

@janeicec
Copy link

We're still trying to configure to cloud app to work, so I'm not sure if we noticed a discrepancy between print and preview/edit. But we did have problems with excessive spacing that we solved by editing the source code. Originally the template's source code had each field formatted as it's own paragraph, once my colleague edited it to use line breaks instead our line spacing issues were (mostly) fixed.

Here's what the original code looked like:

<p style="text-align: left;"><span style="font-family: 'arial black', 'avant garde'; font-size: 12pt;">{{field:prefix}}</span></p>
<p style="text-align: left;"><span style="font-size: 12pt; font-family: 'arial black', 'avant garde';">{{field:item_data.call_no}}</span></p>
<p style="text-align: left;"><span style="font-size: 12pt; font-family: 'arial black', 'avant garde';">{{field:item_data.description}}</span></p>

And here's how we changed it:
<p style="text-align: left;"><span style="font-size: 10pt; color: #000000;"><span style="font-family: 'arial black', 'avant garde';">{{field:item_data.call_no}}</span> </span><br /><span style="font-size: 10pt; color: #000000;"><span style="font-family: 'arial black', 'avant garde';">{{field:item_data.description}}</span> </span><br /><span style="font-size: 10pt; font-family: 'arial black', 'avant garde'; color: #000000;">{{field:prefix}}</span></p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants