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

fix wrong calcuration between pt and mm for table cell width on IDGXML. #558

Merged
merged 3 commits into from
Apr 16, 2016

Conversation

kmuto
Copy link
Owner

@kmuto kmuto commented Apr 16, 2016

これまで表セル幅の計算にJISのpt/mm換算の1pt=0.3514mmを使ってしまっていましたが、InDesign上で表すにはDTPの1pt=0.3528mmを使うべきです(さもないと計算誤差が出ます)。

自身の過去遺産の負債でこれまで目をつむってきましたが、いいかげん支払うことにします。

ただ影響が大きい(既存の組んでしまった原稿を直すことは非現実的)のでフラグpt_to_mm_unitで元の単位数値(float)指定もできるようにしてあります。

@kmuto kmuto merged commit fee8564 into master Apr 16, 2016
@kmuto kmuto deleted the idgxml_pt_unit branch April 16, 2016 07:43
@kmuto
Copy link
Owner Author

kmuto commented Apr 16, 2016

現状、自分しか使わないところなのでさっくりマージします

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

Successfully merging this pull request may close these issues.

1 participant