Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vaev-layout: Refact builder reflecting block/inline outside-display b… #33

Closed
wants to merge 12 commits into from

Conversation

pauloamed
Copy link
Contributor

…ehaviour and better inline handling.

@pauloamed pauloamed marked this pull request as ready for review March 18, 2025 08:46
@pauloamed pauloamed force-pushed the palm-build-inline-box branch 3 times, most recently from d567ffe to 1f7b6e1 Compare March 20, 2025 10:29
@@ -45,6 +45,10 @@ struct PdfPrinter : public FilePrinter {
for (auto& [_, value] : fontManager.mapping._els) {
auto& [id, fontFace] = value;

if (not fontFace.is<Text::TtfFontface>()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fallback font or panic?


stack.add(makeRc<Scene::Text>(frag.metrics.borderBox().topStart().cast<f64>(), *prose));
if (auto ic = frag.box->content.is<InlineBox>()) {
stack.add(makeRc<Scene::Text>(frag.metrics.contentBox().topStart().cast<f64>(), ic->prose));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check with clem about borderbox->contentbox

@pauloamed pauloamed force-pushed the palm-build-inline-box branch 4 times, most recently from 2569971 to 00bf848 Compare March 20, 2025 14:42
@pauloamed pauloamed force-pushed the palm-build-inline-box branch from 00bf848 to 8e6fb50 Compare March 28, 2025 08:00
@pauloamed
Copy link
Contributor Author

ill reopen this once its actually finished

@pauloamed pauloamed closed this Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant