Skip to content

Some Bugs #1

Description

@asimsinan

Hi there. I like the project. Thanks for your efforts. Here are some issues that I saw:

IDIssueFix location
F1Z-order / paint order wrong with global z-index sortgenerator.ts, inspector.ts (paintOrder)
F2Shapes spill past slide (overflow:hidden ignored)converter.tsgetBaseProperties clamp
F3Formula object-fit:contain double-paint / overflowconverter.ts letterbox; image-sizing-xml.ts
F4Circle / flex glyph badges left-alignedinspector.ts canvas bake (flex-icon-badge)
F5Complex table chrome vs native editabilityNative table + chrome shape; screenshot only if forced raster marker
F6Title/subtitle under later opaque panelsutils/occlusion-repair.ts (opt-in via repairTextOcclusions)
O1Figure doesn’t fit in padded hostforceObjectFitContain for figure hosts/ancestors + object-fit:contain
O2Text metrics tighter than HTML (near-collisions)converter.ts line-height 1.2× / multi-line 1.35× + px lineSpacing
O3Non-badge flex-centered icons driftExtended flex icon canvas bake (≤64px, FA, rounded square)
O4Native tables lose CSS chrome / stretched rowsChrome shape + native table; clamp inflated rowH; host flex:none
O4bTable chrome missed HTML rounded cardFull-host plate; true CSS radius; outer shadow; corner chips clip native table
O4cLarge tables overflow host/slideClamp to [data-pptx=table] host; scale rowH + fonts; slide-edge clamp
O4dTable cells glued / wrong fontsCapture CSS padding → tcPr mar*; slide-space font pt; stop forcing mar=0
O4ebox-shadow parse dropped card elevationMulti-layer / unitless 0 / optional spread in parseBoxShadowParts
O4fOverflow tables still don’t fit cardUniform host-fit: rowH + fonts + margins × s; renormalize to hostH
O5Flex/grid empty wrapper mis-emissionSkip transparent flex/grid wrappers with single text child
O6Formulas are PNG, not editableMathML inject + MathML→OMML
O6b\hat{} accents float too high (limUpp not acc)normalizeMoverDotAccentForOmml + rewriteLimUppAccentsToOmmlAcc
O6cFormula too small vs plateLayout host=[data-pptx=formula]; scale sz from host height (no ×0.77 dampen)
O7Charts not native editabledata-chart-payload → pptxgen addChart
O8Fidelity suppressions (font ×0.922, tracking ×1.35, effect caps, occlusion nudge)Uncapped in style.ts / converter.ts; occlusion opt-in default off
O9Outline / flex-item chips: text wider than pill border (HTML≠PPT)isInlinePillBox covers outline+compact flex chips; slide-space insets; spatial pill font; fitPillFontSizeToBox; hollow fill
O10space-between chip: text shifts left of outline (algn=r)Do not stamp/apply flexItemTextAlign on bordered/filled boxes; pills force center
O11Multi-line body clips card bottom (lineSpacing taller than box)pxToSlidePointsY for px line-height; clamp N×spcPts to content box height
O12Filled chips look too tight (padding collapsed)layoutPillBoxForText: grow box before shrink font; keep vertical padding air
O13<br> callouts spill below box (extra PPT wraps)Exclude multi-line from pill/wrap:none; fitTextBoxToIntentionalLines widens/tallens
O14Short flex chips (HNSW/LNS, w/h<2.2) missed pill pathisInlinePillBox compact ≤48×220 path
O15Chip grow overlapped flex-row neighborslayoutPillBoxForText sibling bounds + beginSlide HTML peers
O16Negative letter-spacing became positive tracking (title wrap)parseLetterSpacing preserves CSS sign for OOXML spc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions