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

Rendering Multi lingual Text

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java

調査の方向性

Start by reading the issue’s description of FontSelector and the failures with mixed English, Hindi, and Telugu text; it does not name source files, tests, or a specific change to make. First investigate OpenPDF’s font selection and text encoding behavior for multilingual input. Done would mean defining and implementing reliable rendering for languages and scripts that are not known in advance, with tests that show the text renders correctly.

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

説明

bug

In various applications such as web browsers, IDEs, and others, when we copy text from any language and paste it, the text is rendered correctly without needing to change the font family. This functionality works seamlessly regardless of the language of the text. But, it is not working as such in PDFs. Could someone explain how this mechanism works and how we can achieve similar behavior in OpenPDF? Specifically, I need to render text that contains words and letters from various languages(unknown to me as well) accurately into a PDF.

I have attempted to use FontSelector by adding the font family of each language and processing the text. Unfortunately, many fonts process characters from other languages incorrectly, rendering them as "????" or breaking the glyphs and producing incorrect output. For example, if my font processor includes English, Hindi, and Telugu languages fonts, and the given string contains Telugu text, the Hindi font might process it first, resulting in incorrect rendering or placeholder characters.

I am seeking detailed knowledge about how fonts, internationalization, and UTF, encodings work in this context. So, I would appreciate any guidance or resources that can help address these issues.

Thank you in advance for your assistance.

主要言語
Java
スター
4.4k
フォーク
714
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

LibrePDF/OpenPDF のほかの issue

LibrePDF/OpenPDF の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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