Repository navigation
v0.40.0
Minor Changes
-
7de5a42: Chart value axes now always hold what they draw. A
barchart whose values are all the same, or all below zero, keeps zero on its axis, so a single bar no longer hangs below the x-axis. Values that differ only in their last few digits get distinct ticks that reach every value, and tick labels print the digits each tick has, so two neighbouring ticks never read the same (a step of 0.000001 used to print every tick as 1). A value past 1e300 on any chart's value axis, which used to stop the page with an error or draw points at NaN, is refused by validate with the same advice stacked and combo charts already gave: divide every series on that axis by one power of ten and name the unit.Bar values are printed together or not at all, the rule stacked totals already follow. When every value fits beside its bar, clear of the bars and inside the chart, all are printed as before. When they do not, none is printed and the export stops on that page until the numbers are shorter or the chart has fewer bars, where a crowded chart used to print its values on top of its bars and past its edges.
Long names are shown whole where there is room. A horizontal bar chart's name column grows with its longest category name, up to about a third of the chart, and the chart grows taller with its category count, so each category keeps a row. A donut's centre caption and a waterfall's category names wrap onto a second line instead of being cut. Charts whose names and numbers already fit render exactly as before.
Patch Changes
-
7266230: Chinese text no longer ends a paragraph on a single character. Where a card note, a bullet or a node label used to wrap as 植物染批次色差需沟通成 over 本, one more character now comes down with it, and a four-character label splits two and two. Line counts and line widths stay within what the box allowed before. A cycle node whose three-character label cannot be split that way widens into a capsule and keeps the label on one line.
Georgia body text is measured by the font's own letter widths instead of averages that ran about 20% wide, so a note that fits one line stays on one line (the timeline's and chevron band's last notes in the brief theme). Two chevron notes that share a baseline now keep at least 24px between them, and a decision tree steps its connector back when a condition such as 100% needs more room than half the gap gives. The
chevron_processschema now says a note may take two lines, which is what the drawing has always given it.A row of icon cards now tops every column at one line, so icons and titles align when the bodies differ in length. Numbered cards keep at least 8px between a card's edge and its words, and a staircase's lowest step keeps the same room under its number as beside it.
-
5a3fcb5: Sixteen components and one face now keep ordinary-length English and mixed-language text whole in narrow columns instead of cutting it at the end of a line. Chevron process notes, five forces items, hub and spoke descriptions, KPI card and progress donut sources, matrix cell titles, sankey node labels, swimlane lane names and step descriptions wrap onto further lines, and the drawing grows to hold them. A comparison table whose proportional column split would cut a header or a cell sizes its columns from what each one needs and wraps the widest column. A cycle node whose label will not fit its circle, such as a single long English word, stretches sideways into a capsule of the same height. Decision tree branch cards grow to the height of the outcomes they lead to, conditions may run back across the column they come from, and outcome names share one size that shrinks as far as the 16px floor when one of them needs it. Icon cards shrink their icon node, numbered cards close the gaps between pills, and a staircase unit takes the room its number leaves before any text is cut. Icon cards also size their type against the number of lines their titles really take, so a tall card row, like the one the split band face draws, no longer cuts each description a line short. Timeline end labels wrap short of their neighbour instead of running under it. The Runway spotlight face wraps a long heading onto two lines, and its fallback heading is fitted to the full line it is set on. Pages whose text already fit render exactly as before.
-
313e8da: A hub and spoke drawing, sankey diagram, five forces cross or set of numbered cards given less height than its smallest complete form now declines the box, marking the whole component as dropped, instead of setting words that stop at their minimum size below the box. A hub and spoke drawing still scales down into a short box as long as its capsules and hub stay tall enough for their words. A sankey node label left off for want of room beside its node is now declared dropped rather than left out silently. Components given the height they ask for render exactly as before.
-
f2d2cd3: A comparison table, matrix, timeline, KPI card row, chevron process, progress donut row, icon card row, set of steps or cycle that is given less height than its smallest form now declines the box, marking the whole component as dropped so the layout can find it more room or the export stops, instead of drawing its last row, card or line below the box. Before declining, each still gives back what it can: a side-by-side timeline gives back description lines and then a title's second line, and a cycle gives back description lines, each cut marked. A comparison table no longer keeps a row it has no room for, and a stacked timeline no longer keeps a milestone it has no room for. Components given the height they ask for render exactly as before.
-
ca12477: A single-number page now sizes the number together with its unit, so a long figure such as "1142.6 万元" stays inside the page margin instead of running its unit toward the edge. Figures whose unit already fit render exactly as before.
pptwise auditand the preview overlay measure a unit set in a smaller size at that size, so these pages are no longer reported as falling off the page. The photo page with the picture on top gives its title more room above and below when a theme sets the title larger, so the title no longer sits on its rule or against the picture. The covers and ending that print the organization in the top-left corner, and the cover with a colored top band, no longer draw the theme's corner mark over or under it. The single-evidence page no longer marks a complete source line as cut. On the page that tiles four to six tall images, a caption longer than its frame wraps onto a second line instead of being cut after about eleven characters. -
054343c: The bento panel page sets its footnote the same distance above the footer line as every other page, where it used to sit 8px from the rule. A line of text asked for at a size below the 16px floor now starts at the floor and is only shortened when it really does not fit there, where before it was always reported as cut even when it was drawn whole.
-
462ca4e: A single-number page no longer shortens the number to make room for its unit. When the number and its unit do not fit on one line, the unit is set smaller first, and a number too long to fit even then moves to a plain page that shows it in full as an ordinary metric card. Pages whose number and unit already fit render exactly as before.
-
d37c99a: The homeroom theme's two faint notebook rules on content pages now sit at the bottom of the page, below the footer line, instead of across the middle of the content area. Before, they ran through chart axis labels, card text, table rows and other words that landed at those heights, and read like a strikethrough. Cover and chapter pages keep their rules where they were. When a deck turns on the content-page footer or logo (
brandingset tofullorminimal), the footer area belongs to that, and content pages draw no rules. -
8a54bcd: An iceberg's tip line now sits a few pixels above the waterline instead of resting on it. A roadmap no longer marks a short period such as "Q1" as cut, sets each row value on the same baseline as its label, and gives a long row label the room its short values leave, or a second line, instead of cutting its end off. Rings in a narrow box, such as the side panel of a three-part page, now keep a label column wide enough for their labels and print every description in full, with the core growing a little when it needs to hold its own name. When the box is still too short, the page moves to a layout with more room instead of cutting text or leaving a line off the bottom. Rings that already fit render exactly as before.
-
199355b: On the page with a wide lead column and two framed panels, the lead column now goes to the first block that is not running text, and a paragraph, bullet list, callout or quote moves to the panel beside it. A page that opened with a one-sentence introduction used to give that sentence the wide column and squeeze the drawing it introduced into the narrow panel, where English rings could not fit and the page moved to a plainer layout. Pages whose blocks are all running text keep their order.
A business model canvas measures each block title in the typeface it draws it in, so a block no longer carries an empty title line, or drops its last item, where an English title wraps differently in the heading typeface than in the width estimate. A positioning map places an English name by its real width instead of half again, so a crowded map no longer leaves off a name that fits. A waterfall with a value or running total past 1e300, which used to draw every bar at NaN, is refused by validate with the same advice charts give: divide every item by one power of ten and name the unit in
unit. -
23415cf: A Chinese clause now breaks between any two characters even when the sentence has spaces elsewhere, as in 镜像构建从 Jenkins 迁到 GitHub Actions,平均构建时长…. It used to move to the next line whole, which could leave a short English word alone on a line or end a line early with room to spare. English words, numbers and their punctuation are still never split.
Text set in Microsoft YaHei, SimSun or KaiTi at regular weight is now measured by each font's own letter widths, as Georgia already is. English in these fonts was priced 9 to 16% too wide, so it wrapped early, while YaHei digits and the percent sign were priced too narrow. Sankey node labels are measured in the font they are drawn in, so a label no longer runs past its node's box. A unit beside a number (a staircase step, a decision tree outcome, a from/to row) keeps its full room when its width is known exactly, instead of giving up a third of it.
The
numbered_cardsschema notes and design story now describe the drawing as it is: one column of numbered cards beside a disc that counts them. -
6ec0ccc: A positioning map keeps a subject's name at least 8px above or below any other name or axis label, so two names stacked a line apart no longer read as one name on two lines. A crowded corner tries a few more spots before any name is left off.
A word cloud, a Venn diagram's labels and a harvey-balls legend size Chinese text, and English text in Georgia or Microsoft YaHei, at the width it really paints instead of half again. A cloud on a small panel keeps every word where it used to shrink its sizes or leave some out, and a Venn label in SimSun or KaiTi gets a pill that fits it.
A business model canvas on a narrow content area gives a long item as many lines as it needs instead of cutting it after three. Where a block title such as "Customer Relationships" has a word wider than its column, the canvas moves to a wider layout instead of printing a cut title. A Chinese block title wraps between its characters, so it keeps the canvas on the page at widths where it needs two lines.
-
03e7085: A comparison table, chevron process, KPI card row, progress donut row or row of side-by-side steps that is given less height than its wrapped text needs now takes wrapped lines back, keeping each first line and marking the cut, instead of drawing its last lines below the box without saying so. A hub and spoke drawing given less height than it measures now scales down into that height. Drawings given the height they ask for render exactly as before.
-
950778f: When a single-number page hands its page over to the plain layout, because the page has more than one metric or the number is too long to set whole, the plain page now keeps the slide's subheading under the heading and its footnote at the foot of the page. Both used to go missing there without a mark.
-
e75175c: A set of steps now counts the descenders of its last sentence line in the height it asks for, so letters like g, p and y on that line stay inside the box the steps are given. On a page where something sits under the steps, that element moves down 4px.
-
6bebcbb: Punctuation, symbols and accented letters are no longer measured narrower than their fonts draw them. In Georgia, Microsoft YaHei, SimSun and KaiTi, a mark such as the middle dot (a full em in SimSun and KaiTi), the em dash (1.08em in YaHei), ‰, …, №, arrows, currency signs, an ideographic space or an accented letter is now priced at its real width, so a line that holds one no longer runs past its box. Nothing is measured narrower than before.
When balanced lines of mixed Chinese and English have nearly even alternatives, the break now falls where English meets Chinese rather than inside an English name: Linjiang Group over 临江咨询, not Linjiang over Group 临江咨询. Line counts, line widths and the rule against a single-character last line are unchanged.
-
05c43ee: Positioning maps keep each subject's name inside its own quadrant and clear of both axis lines, so a name near the middle of the map is no longer drawn across an axis. When a crowded corner leaves a name nowhere to go, earlier names move to make room before any name is left off. An axis end name moves to the other side of its axis when a subject's dot sits on it. People cards wrap a long name or affiliation onto a second line instead of cutting it short, and a title gets a third line. A roster too wide for its panel now moves to a wider layout rather than print part of a name. Business model canvas items wrap under their bullet instead of being cut at the end of the first line.