@chrtco/sdk 0.10.53 → 0.10.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3580,8 +3580,10 @@ declare function contourValueFactor(depthNumbersFactor: number): number;
|
|
|
3580
3580
|
/**
|
|
3581
3581
|
* The font stacks a CHRT glyph host serves (`cloudflare/tile-worker/glyphs/
|
|
3582
3582
|
* GLYPHS.json`; the test pins this copy to it). Open Sans has no Bold; Old
|
|
3583
|
-
* Standard TT is CHRTpaper's engraving face (tools/chrt-paper/src/look.ts)
|
|
3584
|
-
*
|
|
3583
|
+
* Standard TT is CHRTpaper's engraving face (tools/chrt-paper/src/look.ts)
|
|
3584
|
+
* and Liberation Sans its Helvetica-like face for placed labels in the
|
|
3585
|
+
* Classic look (tools/chrt-paper/src/placements.ts). Neither has a Semibold,
|
|
3586
|
+
* so rule A leaves them as they are.
|
|
3585
3587
|
*/
|
|
3586
3588
|
declare const SERVED_FONT_STACKS: readonly string[];
|
|
3587
3589
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3580,8 +3580,10 @@ declare function contourValueFactor(depthNumbersFactor: number): number;
|
|
|
3580
3580
|
/**
|
|
3581
3581
|
* The font stacks a CHRT glyph host serves (`cloudflare/tile-worker/glyphs/
|
|
3582
3582
|
* GLYPHS.json`; the test pins this copy to it). Open Sans has no Bold; Old
|
|
3583
|
-
* Standard TT is CHRTpaper's engraving face (tools/chrt-paper/src/look.ts)
|
|
3584
|
-
*
|
|
3583
|
+
* Standard TT is CHRTpaper's engraving face (tools/chrt-paper/src/look.ts)
|
|
3584
|
+
* and Liberation Sans its Helvetica-like face for placed labels in the
|
|
3585
|
+
* Classic look (tools/chrt-paper/src/placements.ts). Neither has a Semibold,
|
|
3586
|
+
* so rule A leaves them as they are.
|
|
3585
3587
|
*/
|
|
3586
3588
|
declare const SERVED_FONT_STACKS: readonly string[];
|
|
3587
3589
|
/**
|
package/dist/index.js
CHANGED
|
@@ -31188,7 +31188,10 @@ var SERVED_FONT_STACKS = [
|
|
|
31188
31188
|
"Open Sans Semibold",
|
|
31189
31189
|
"Old Standard TT Regular",
|
|
31190
31190
|
"Old Standard TT Italic",
|
|
31191
|
-
"Old Standard TT Bold"
|
|
31191
|
+
"Old Standard TT Bold",
|
|
31192
|
+
"Liberation Sans Regular",
|
|
31193
|
+
"Liberation Sans Italic",
|
|
31194
|
+
"Liberation Sans Bold"
|
|
31192
31195
|
];
|
|
31193
31196
|
function semiboldFontStack(font) {
|
|
31194
31197
|
if (!Array.isArray(font) || !font.every((face) => typeof face === "string")) return font;
|