テキストブロックツールで複数行を表示する際に、改行コード(lf)で改行した場合との折り返しで改行した場合行間のピッチに差が生じてしまう

701 views
Skip to first unread message

小林智昭

unread,
Sep 4, 2015, 1:59:09 AM9/4/15
to Thinreports
有難く利用させて頂いております。
テキストブロックツールで複数行を表示する際に、改行コードで改行した場合との折り返しで改行した場合で、行送りのピッチに差が生じてしまう問題が発生しています。
添付のPDFはそれぞれ改行コードを使用した場合と折り返しにて改行した場合の私の環境での出力結果です。
 改行コードを使用した場合 pdfファイル ・・・ 改行コード使用.pdf
 折り返しで改行した場合 pdfファイル ・・・ 折り返し.pdfし

使用したレイアウトファイル(report.tlf)を添付します。
使用した主な設定は以下になります
 溢れた時 : 非表示
 折り返し : 領域に合わせる
 行間   : 1.5
改行を使用した場合と折り返しの場合のピッチを同一になるよう設定したいのですが、可能なのでしょうか。

環境は以下の通りです。

Server:
 MacOS X Yosemite 10.10.5
 Ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
 ThinReports 0.8.2
 ThinReports Generator 0.8.1

宜しくお願い致します。

改行コード使用.pdf
折り返し.pdf
report.tlf

Katsuya HIDAKA

unread,
Sep 6, 2015, 12:14:15 AM9/6/15
to Thinreports
Thinreports の開発をしている日高と申します。
丁寧に検証、ご報告いただきありがとうございます。

原因はわかりませんがバグっぽいですね。
詳しい調査と対応をしたいと思いますので、
重ねてお手数ですが、下記より GitHub にご報告いただけないでしょうか(GitHub アカウントが必要です)

Issue の内容や題名はこちらに投稿していただいたものと同じでかまいません。
ファイルも添付していただくと嬉しいです。

よろしくお願いいたします。


2015年9月4日金曜日 14時59分09秒 UTC+9 小林智昭:

小林智昭

unread,
Sep 8, 2015, 1:47:40 AM9/8/15
to Thinreports
早速のご返事有難うございます。

GitHubのissueに同様の内容を登録させていただきました。
私の方でも引き続き調査を行います。

有効な情報等ございましたら、ご連絡いただけると助かります

宜しくお願い致します



H.Katsuya

unread,
Sep 8, 2015, 2:09:05 AM9/8/15
to Thinreports, 小林智昭
Issue の作成ありがとうございます。今後この問題は作成していただいた下記 issue の方で議論させてください。
https://github.com/thinreports/thinreports-generator/issues/36


2015年9月8日(火) 14:47 小林智昭
tkoba...@tec-p.co.jp>:

--
You received this message because you are subscribed to the Google Groups "Thinreports" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thinreports...@googlegroups.com.
To post to this group, send email to thinr...@googlegroups.com.
Visit this group at http://groups.google.com/group/thinreports.
To view this discussion on the web visit https://groups.google.com/d/msgid/thinreports/5ede64a6-869c-4752-8b4f-7e52216e1c24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark Stepp

unread,
Jan 10, 2016, 9:36:00 PM1/10/16
to Thinreports
What is the new line and line feed codes?    I've tried   \n and \r but neither work?   

On Friday, September 4, 2015 at 12:59:09 AM UTC-5, Kobayashi Tomoaki wrote:
Grateful and I am allowed to use.
When you display multiple lines in a text block tool, in the case of a line break in the wrapping as if it had a new line with a new line code, a problem that the difference occurs in the pitch of the line feed has occurred.
The accompanying PDF is served in the case and the wrapping of using the new line code each output result in my environment in the case of a line break.
 If you use the new line code pdf file ... new line code used .pdf
 It is pdf file ... folded .pdf If you have a new line by return

Layout file that was used (report.tlf) Attach.
The main settings that you use will be in the following
 Overflow when: hidden
 I fit in the area: the folded
 Line spacing: 1.5
As I set to become the pitch in the case of the case and the wrapping of using the new line to the same , but I want boss, what's possible.

Environment is as follows.

Server:
 MacOS X Yosemite 10.10.5
 Ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
 ThinReports 0.8.2
 ThinReports Generator 0.8.1

Thank you.

Reply all
Reply to author
Forward
0 new messages