Text search functionality, specifically for vertically laid-out text (CJK).
Raw Developer Origin & Technical Request
GitHub Issue
Oct 7, 2026
## Summary
In a PDF that contains the same string once horizontally and once vertically (one glyph per line, top to bottom), `text_find` returns only the horizontal occurrence.
## Environment
- Linux x86_64 (Ubuntu, headless), printcraft 0.2.1, `printcraft-cli mcp`
- Test PDF made with reportlab (non-embedded CID font, one character drawn per line for the vertical column); `pdftotext` extracts both occurrences.
## Steps to reproduce
1. Create vert.pdf containing a horizontal line `横書き: はただ商店 秋のセール 10月22日まで` and a vertical column spelling `はただ商店` / `秋のセール` / `10月22日まで` (reportlab script below).
2. `pdftotext vert.pdf -` prints the horizontal line and the three vertical groups `はただ商店`, `秋のセール`, `10月22日まで`.
3. MCP: `doc_open {"path":"vert.pdf"}`, then `text_find {"doc":1,"query":"商店"}`.
## Expected
`count` = 2 (horizontal and vertical).
## Actual
`count` = 1; the single rect is on the horizontal line (y ≈ 45.9). Same for `はただ商店` (1), `セール` (1), `10月22日` (1).
## Notes
- n=2 per query, 4 queries.
- Duplicate check (storytold/printcraft, --state all): "text_find", "find vertical", "tategaki", "CJK", "日本語", "text extraction" -> none.
## Script to generate vert.pdf
```python
from reportlab.pdfgen import canvas
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.cidfonts import CIDFont
f=CIDFont('HeiseiMin-W3','UniJIS-UCS2-V'); pdfmetrics.registerFont(f); VN=f.fontName
g=CIDFont('HeiseiKakuGo-W5','UniJIS-UCS2-H'); pdfmetrics.registerFont(g); HN=g.fontName
E=lambda s:...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from storytold/printcraft.
Frequently Asked Questions
Market intelligence mapped to Text search functionality, specifically for vertically laid-out text (CJK)..
What problem does Text search functionality, specifically for vertically laid-out text (CJK). solve?
How is the developer community reacting to Text search functionality, specifically for vertically laid-out text (CJK).?
What are the foundational technologies related to Text search functionality, specifically for vertically laid-out text (CJK).?
Is anyone launching products related to Text search functionality, specifically for vertically laid-out text (CJK).?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like CJK and text extraction by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics