Shugo Maeda
Shugo Maeda
> Thank you; this looks good! > I notice you have this only enabled with -DNEW_WINCON_WORKAROUND. Is there any reason not to use your new code all the time, removing...
> Thank you for the cleanup. I don't think there is a reason to have the define and the `!PDC_NEW_WINCON_WORKAROUND` code in, is there? No. Feel free to modify my...
@hidakatsuya こちらのIssueですが、どういったステータスでしょうか? thinreports/thinreports-editor#68 と Custom font thinreports/thinreports-generator#91 を参考にmasterにrebaseして一部エラーが出た箇所を修正したところ、サンプルのテンプレートをエディタで開いてカスタムフォント名が表示されることと、PDFを生成できることは確認できました。 * https://github.com/shugo/thinreports-generator/tree/custom-font-2 * https://github.com/shugo/thinreports-editor/tree/custom-font-2 * https://github.com/shugo/thinreports-examples/tree/custom-font-2
@hidakatsuya お返事ありがとうございます。 > @shugo @maeda-m > 仕様も未確定で未実装というステータスです。 エディタだけでなく、tlfファイルのフォーマットについても変更の可能性がありますでしょうか? > 検証いただきありがとうございます。それら PR はカスタムフォントの仕様策定に向けて一つの別解として提案・実装したものですが、その後の議論ができていない状況です。 > > 個人的には、改めてこの issue に近い仕様+αで考えているところではあります。[thinreports/thinreports-editor#68](https://github.com/thinreports/thinreports-editor/pull/68) も候補の一つではありますが、PostScript名を調べなければならない点が機能としては accept しづらいという気持ちです。 なるほど、そういった懸念点があるのですね。 > もしよろしければ、[thinreports/thinreports-editor#68](https://github.com/thinreports/thinreports-editor/pull/68) について感想やご意見などコメントいただけると嬉しいです。 実はサンプルのテンプレートは開けたものの、新しいフォントの登録をエディタ上でどうやるかわからなかったのですが、GUIでのフォント登録機能については未実装でしょうか。 ただ、個人的にはtlfファイルのフォーマットを含めてgenerator側の方針が定まっていれば最悪TLFファイルを手で修正するという対応も可能と考えていますので、ご検討いただけましたら幸いです。
> > エディタだけでなく、tlfファイルのフォーマットについても変更の可能性がありますでしょうか? > > 仕様が確定していない以上、「変更の可能性はある」というのが回答になってしまいます。 了解です。正式リリース前に使用する際はそのあたりのリスクを考慮して判断したいと思います。 > > GUIでのフォント登録機能については未実装でしょうか。 > > 実装済みです。[thinreports/thinreports-editor#68](https://github.com/thinreports/thinreports-editor/pull/68) の機能は、同 pull request の description に貼ってある GIF 動画で説明しています。 すみません、見落としていました。 > * PostScript 名を信頼しても問題ないのか > > * 同じフォントでも...
> Ahh, that makes sense. Maybe we can suggest Japanese developers support Ruby Association, and other developers support Ruby Central? It sounds fine.
@apexatoll The return value inch may be OR'ed with attribute flags. Does `(win.inch & Curses::A_CHARTEXT).chr` work? If it doesn't work, please show me your code.
I don't have enough time to implement it, but pull requests are welcome.
I don't know whether there is such a feature in ncurses itself. You can use Kernel#print to output raw escape sequences, but it breaks redisplay by curses.
@rubyFeedback Thanks for your proposal. How about #81?