'top cell-property does not work for cells with picts in PDF backend
Open
Nobody has claimed this yet.
bug
- Dominant language
- Racket
- Stars
- 250
- Forks
- 102
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 1
Description
Here's an example:
#lang scribble/base
@tabular[
#:row-properties '((top-border bottom-border))
(list
(list "> " @verbatim|{a very tall
cell.}|))
]
@tabular[
#:row-properties '((top-border top bottom-border))
(list
(list "> " @verbatim|{a very tall
cell.}|))
]
@(require pict)
@tabular[
#:row-properties '((top-border top bottom-border))
(list
(list "> " (filled-ellipse 40 40)))
]
Expected output, and the output in HTML:

Actual output in PDF:

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the supplied scribble/base example through the PDF backend and compare its table-cell alignment with the HTML output. Trace the PDF handling of top cell properties when the cell contains a pict, then verify that both the tall verbatim cell and the filled ellipse align at the top without regressing the other examples.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100