Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

中文1.5倍行距小四字体Word转PDF排版问题

オープン
#280 コメント 5 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@KnifeLemon がすでに取り組んでいます。

2026年10月20日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
backend, desktop

調査の方向性

Start by reading the LibreOffice document conversion settings and the DOCX-to-PDF conversion entry point; the report names LibreOffice as the selected engine and includes a minimal DOCX plus output PDFs. Compare the converted PDF’s line spacing, page count, and body text size with the WPS output to narrow down where layout diverges. Done means the sample converts with layout closer to the expected 33-page output; the issue does not identify a specific source file or test.

索引モデルが issue の本文から書いたものです。

説明

bug

What happened?
对我需要进行格式转换的文件进行Word转PDF,存在排版问题,查询已有issue后,采用了安装LibreOffice的方案试图处理,仍存在问题。
What did you expect?
我希望可以像WPS的Word转PDF一样可以完全不改变排版。
Steps to reproduce

  1. 设置 → 引擎 → 打开「用 LibreOffice 处理文档」(引擎指向本机 LibreOffice)。
  2. 把 .docx 拖到圆盘,选「PDF」预设。
  3. 与 WPS 或 Word 导出的 PDF 对比行距和页数。

Files involved (formats, sizes — attach a sample if you can share it)
源 docx:4,551,548 B(约 4.3 MB),33 页;12 pt 宋体、1.5 倍行距、3 个分节、含图片和表格。 这是学生报告,不便公开,所以只附最小复现件。
Filee(经 LibreOffice)输出:2,558,755 B,47 页,正文 41.0 pt。
WPS 输出:1,756,175 B,33 页,正文 24.5 pt。
附件:测试.docx,测试-WPS.pdf,测试-Filee.pdf
Environment

  • Filee version (Settings → About):1.11.0
  • Windows version:Windows 11 24H2(内部版本 26100)
  • Engines page status (screenshot helps):LibreOffice 处理文档 = 开;LibreOffice 26.2.6.3(安装在 D:\tools\LibreOffice);源文件由 WPS Office 12.1.0.28043 生成。

Log – %APPDATA%\Filee\logs\filee-<date>.log (last lines)
19:24:10.148 INFO App: Filee 1.11.0 started
19:24:17.806 INFO RadialController: Converting 1 file(s) with preset to-pdf
19:25:54.016 INFO RadialController: Converting 1 file(s) with preset to-pdf
19:26:54.445 INFO RadialController: Converting 1 file(s) with preset to-pdf

测试.docx
测试-Filee.pdf
测试-WPS.pdf

主要言語
C#
スター
3.6k
フォーク
192
平均マージ
4時間 6分
マージ済み PR(30日)
158

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KnifeLemon/Filee のほかの issue

KnifeLemon/Filee の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。