diff --git a/.gitattributes b/.gitattributes index 0958615..e70a41d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -16,3 +16,6 @@ # Stored renderer outputs are compared byte for byte: git must never rewrite them. renderer/src/test/resources/compat-v1/** -text renderer/src/test/resources/scene2/golden/** -text + +# Bundled fonts and their licence texts are shipped exactly as released and are hashed: git must never rewrite them. +renderer/src/main/resources/fonts/** -text diff --git a/bridges/renderer/src/main/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFacts.java b/bridges/renderer/src/main/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFacts.java index 43262cd..20e06e7 100644 --- a/bridges/renderer/src/main/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFacts.java +++ b/bridges/renderer/src/main/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFacts.java @@ -58,7 +58,7 @@ final class SceneFacts static final Set VOCABULARY = Set.of("schema", "design", "defaults", "samples", "elements", "overrides", "when", "dpi", "set", "children", "id", "type", "anchor", "x", "y", "width", "height", "align", "valign", "thickness", "fill", - "value", "valuePath", "font", "size", "lineHeight", "fit", "maxLength", "threshold", "reverse", "rotation", + "value", "valuePath", "font", "size", "lineHeight", "fit", "maxLines", "shrinkTo", "overflow", "maxLength", "threshold", "reverse", "rotation", "symbology", "symbologyPath", "allowedSymbologies", "minModule", "maxModule", "quiet", "gs1", "hri", "scannerSymbologyPath", "aimIdentifierPath", "asset", "mode"); diff --git a/bridges/renderer/src/test/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFactsTest.java b/bridges/renderer/src/test/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFactsTest.java index 378e90b..6051361 100644 --- a/bridges/renderer/src/test/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFactsTest.java +++ b/bridges/renderer/src/test/java/com/kingsrook/qbits/documentgeneration/renderer/SceneFactsTest.java @@ -60,7 +60,7 @@ class SceneFactsTest Set declared = new TreeSet<>(); names(RendererJson.JSON.readTree(Files.readAllBytes(Path.of("..", "..", "renderer", "schema", "zpl-scene-2.schema.json"))), declared); assertEquals(declared, new TreeSet<>(SceneFacts.VOCABULARY)); - assertEquals(43, SceneFacts.VOCABULARY.size()); + assertEquals(46, SceneFacts.VOCABULARY.size()); } diff --git a/docs/design/LABEL-LAYOUT-FONTS-PREVIEW.md b/docs/design/LABEL-LAYOUT-FONTS-PREVIEW.md index 0173744..225354e 100644 --- a/docs/design/LABEL-LAYOUT-FONTS-PREVIEW.md +++ b/docs/design/LABEL-LAYOUT-FONTS-PREVIEW.md @@ -346,6 +346,89 @@ Legibility on thermal heads: - Guidance for the authoring guide: at 203 dpi use a bold face below 10 pt, keep text at or above 6 pt, prefer the condensed bold over shrinking. +**Decided while building text (P2).** The code is `scene2/text`; the renderer README states the rules for authors. + +- **The set as shipped.** `qqq-sans` and `qqq-sans-bold` are IBM Plex Sans Regular and Bold (release + `@ibm/plex-sans@1.1.0`), `qqq-condensed-bold` is IBM Plex Sans Condensed Bold (`@ibm/plex-sans-condensed@2.0.0`), + `qqq-mono` and `qqq-mono-bold` are JetBrains Mono Regular and Bold (`v2.304`). Every licence was confirmed as SIL + OFL 1.1 from the release archive's own licence file. A scene names a face with `font`; the name carries family + and weight, and there is no separate weight or style property (the set has no italic). Only bundled faces are + drawn: a supplied `font/ttf` asset named by a version 2 text is `FONT_UNKNOWN` until the asset package (P8). +- **One glyph for each character, left to right.** No kerning, ligatures, mark placement or bidirectional + reordering, which is what version 1 raster text does too and what an identifier wants (JetBrains Mono would + otherwise join `->` and `!=`). A character that cannot be drawn that way (a control or format character, a + combining mark, a script that needs shaping, anything outside the Basic Multilingual Plane, or a character the + face lacks) is `FONT_MISSING_GLYPH` with the count; the value prints whole or not at all. +- **Measurement is integer arithmetic.** The faces have 1000 units to the em. Advances and outline boxes are + read once at a reference size and scaled as `units x millipoints x dpi / 72 000 000`, so the same value is the + same width on every machine. Each character sits at a whole-dot pen position. A line's box is its advance, + widened to the ink of its characters plus two dots on each inked side: the rasteriser fits an outline to the + dot grid within 1.4 dots of its exact scale (measured over every character of the five faces, from 1 pt to + 1000 pt at the three resolutions). A text whose ink would leave the measured box is neither clipped nor printed + outside it nor printed in part: its dots are gathered first and reach the label only when none strayed, and + otherwise the one element is refused as `TEXT_DOES_NOT_FIT` with `glyphsOutsideMeasure` and + `dotsOutsideMeasure`. A literal is held to the glyph bounds when the scene is validated. +- **The size is found without trying every size.** The answer is defined as the one a search of every + quarter-point step from the size down to the floor gives, and a property test holds the implementation to that + search exactly. The implementation first asks, by halving, for the largest step at which the text could fit at + all: a count that fills lines at any character with a width no real line can be under, so it never refuses a + size that fits and, once it allows a size, allows every smaller one. Only the few steps from there are laid + out. When one line at the floor is higher than the box nothing is searched. The case of 1024 characters from + 1000 pt to 1 pt, which took about 200 ms a fit, takes under 1 ms. +- **The work of a scene's text is bounded.** Every character visited while fitting is one step, every character + to be drawn 16, and every glyph a scene draws for the first time at a size 4096 (the runtime rasterises it + once). One scene may take 64 million steps, about a second of a worker; the element that passes it, and every + text after it, is `SCENE_INVALID` at the element with `textWorkSteps`. The count is integer arithmetic, so the + refusal is the same on every machine and the same whether the scene is validated or rendered. A text is + fitted once: what the check composed is what is painted. +- **Wrapping.** At each size a line is broken between words while the text then fits, and at any character when + it does not. So a larger size is preferred to whole words, a value with no space wraps (the example's GS1 line + has none), and a length is provable: n characters need no more lines than n of the widest. +- **Truncation.** At the floor size, as many lines as the box holds; the last ends with the ellipsis after as + many of its characters as fit with it, down to the ellipsis alone. A cut text is also reported as shrunk. +- **The proof of `maxLength`** lays out that many copies of a worst character: the face's greatest advance, + reaching as far left, right, above and below as the furthest-reaching character of the face (in IBM Plex Sans + Bold the per mille sign is 1.382 em wide, the fraction slash reaches 0.245 em past its advance on each side, and + a capital A with ring and acute rises to 1.15 em against an ascent of 1.025). It is therefore sound for any + value, and stricter than a typical value needs. The example scene of section 2.1 does not pass it: two lines at + the 7 pt floor need 59 dots at 203 dpi (53 from rounding the ascent, the line pitch and the descent up to whole + dots, 6 for the accent and the descender) and the 6.5 mm caption box has 51. A box of exactly `lines x line + height` is not proven; 7.5 mm is. The proof is for the render target of the request, so a host that prints + one revision at several resolutions validates at each (P5 or P6b). The proof never cuts: a cut value is not a + value that fits. An element with `overflow: truncate` whose `maxLength` is not proven stays valid, because + cutting is what its author chose, and carries the warning `FIT_NOT_PROVEN` at every validation with + `provenCharacters`, the longest length proven to fit whole, against the `characters` stated. +- **Validation reads no record.** A bound value is laid out only when rendering; `FIT_NOT_PROVEN` is raised for + a bound element without `maxLength` in both operations. When a bound element is validated, legibility is + judged at the size its `maxLength` is proven at, which is the smallest any value is printed at (the floor when + the proof fails and the element cuts), and at the stated size when it has no `maxLength`; when it is rendered, + at the size chosen. +- **A bound number** is printed in plain decimal digits: no exponent and no fraction that is only zeros + (`1.0E10` prints `10000000000`, `2.50` prints `2.5`, `12.0` prints `12`). A number that is not finite is + `VALUE_MISSING`. +- **Bounds.** A size from 1 pt to 1000 pt, `shrinkTo` from 1 pt up to the size, `lineHeight` from 0.5 to 5 with + three decimals, 64 lines, 1024 characters. +- **The members of `fit` are schema properties.** The published schema declares `maxLines`, `shrinkTo` and + `overflow` under `fit` with `additionalProperties: false`, so a host can check them by machine, and a member + that is wrong is reported at the member (`/elements/1/fit/maxLines`, or in the override that states `fit`). + The three names are in the host's list (`SceneFacts.VOCABULARY`, held to the schema by a test in the bridge) + and in the renderer's (`ElementFactory.VOCABULARY`). A member `fit` does not have is reported at `fit`, + because its name is not one the schema declares. +- **Rotation and reverse.** A text turned a quarter is fitted along the box's height, and `align` and `valign` + follow the direction of reading. Reverse text fills its own box black and clears the letters; it counts twice + against the painted-area cap. +- **`RESERVED_FONT_NAME`** is raised by a text element (with the count of supplied assets under `qqq-`), not for + the scene as a whole: a scene with no text has no face to shadow. +- **Determinism (section 10.2).** No tolerance was needed. The goldens are generated in the CI image (Linux, + Temurin 21.0.9) and are the same bytes on Windows (Temurin 21.0.12), at 203, 300 and 600 dpi, for the glyph + bitmaps (up to 100 dots to the em) and for the outline path above that; they are compared exactly on both. + Glyph bitmaps come from the FreeType each JDK ships; the versions are recorded beside the goldens + (`renderer/src/test/resources/scene2/README.md`). + One case depends on more than the scene: a line whose strip is over 8 million dots (type of several hundred + points) is drawn in bands of rows, and the rasteriser may shade a few edge dots at a band's border differently + than in one piece (fewer than 1 in 10 000 ink dots). Where the bands fall is a function of the line's box, so + the result is still the same on every machine. + ## 4. Barcodes ### 4.1 Symbologies diff --git a/docs/security/fuzzing.md b/docs/security/fuzzing.md index 557d18b..6603cfd 100644 --- a/docs/security/fuzzing.md +++ b/docs/security/fuzzing.md @@ -28,16 +28,25 @@ crashes: - **Version 2 scene parser.** The target is the worker's own routing, so a mutated source may also become a version 1 scene, which is then held to the version 1 property. An accepted version 2 scene, read by the second parser, has only the declared top-level properties, a physical design size, at most 1000 elements - with unique ids of the fixed pattern, only `box` and `group` elements with only their declared properties - (the other types are refused until their packages exist), groups at most four deep, every length a number - and a unit, and overrides only for the three resolutions and for declared ids. About one version 2 input in + with unique ids of the fixed pattern, only `box`, `group` and `text` elements with only their declared + properties (barcodes and images are refused until their packages exist), groups at most four deep, every + length a number and a unit, and overrides only for the three resolutions and for declared ids. A `text` + element is read as it stands at each resolution (the defaults, then the element, then the overrides for that + resolution): it names a bundled face, has a physical size from 1 to 1000 pt, exactly one of a literal value + and a pointer into the record, and only fit, length, threshold, rotation, reverse and line height settings of + the documented kinds and ranges. The corpus holds the three text cases (`text-faces`, `text-fit`, + `text-turned`) beside the layout cases, and the spliced tokens include the text properties, a combining + mark, a tab, half of a surrogate pair, a size of `1000pt` and the number `1e400`. About one version 2 input in four, chosen by its bytes so that a replay does the same, is rendered instead of validated: the label is read back into a page, must be only the header, uncompressed graphic fields and the end of a label, must put no ink outside the printable area, and validation of the same input must give the same answer (accepted with the same - findings, or refused with the same diagnostic). A refusal is the scene's own `Refusal`, the exception that + findings, or refused with the same diagnostic). The one difference allowed is `VALUE_MISSING`: a text bound to + the record has no value in the campaign's empty record, and validation reads no record. A refusal is the scene's own `Refusal`, the exception that carries a diagnostic, and nothing else: the routing turns unreadable JSON and an unknown schema into one. A plain `IllegalArgumentException` is a finding, because the package raises those for its own broken invariants - (`CANVAS_BOUNDS`, `CANVAS_LIMIT`, `LENGTH_NOT_ABSOLUTE`, `LENGTH_NOT_PHYSICAL`), which no scene may reach. The + (`CANVAS_BOUNDS`, `CANVAS_LIMIT`, `LENGTH_NOT_ABSOLUTE`, `LENGTH_NOT_PHYSICAL`), which no scene may reach; so is + the text package's `IllegalStateException` for ink outside a measured line (`TEXT_INK_OUTSIDE_MEASURE`), and + any arithmetic or number-format failure. The one exception is a source the routing sends to the frozen version 1 parser, whose own refusal is a plain `IllegalArgumentException`; such sources are validated only. The campaign also asserts that it rendered labels. - **Printer gate.** An accepted input contains only the commands the renderer may emit and no tilde command. diff --git a/renderer/NOTICE b/renderer/NOTICE index 1b7dd8e..1cdc466 100644 --- a/renderer/NOTICE +++ b/renderer/NOTICE @@ -26,3 +26,12 @@ The encoder and prime-field ECC helper retain the MIT license. See META-INF/licenses/bwipp-code93i-MIT.txt and Code93i.java. Pinned corresponding upstream source, helper, tests and provenance are retained under src/test/resources/barcodes/code93i. + +Bundled fonts (2026-11-12). This distribution contains, unmodified and as data, +IBM Plex Sans Regular and Bold and IBM Plex Sans Condensed Bold, Copyright (c) +2017 IBM Corp. with Reserved Font Name "Plex", and JetBrains Mono Regular and +Bold, Copyright 2020 The JetBrains Mono Project Authors +(https://github.com/JetBrains/JetBrainsMono). They are licensed under the SIL +Open Font License, Version 1.1, separately from the renderer's Apache license, +which does not replace it. Each font is in /fonts of the renderer JAR beside +the full license text and a provenance note; /fonts/SHA256SUMS lists the hashes. diff --git a/renderer/README.md b/renderer/README.md index 29a159e..bad950d 100644 --- a/renderer/README.md +++ b/renderer/README.md @@ -124,7 +124,12 @@ A source with schema `qqq-zpl-scene/2` is a layout in physical units that render - **Coordinates** start at the top left of the printable area, the stock less its margins. In dots the printable area is `floor((width - left - right) x dpi)` wide and `floor((height - top - bottom) x dpi)` high, which is how a box size is rounded, and it starts at `ceil(left x dpi)`, `ceil(top x dpi)`, moved back by one dot where it would otherwise pass the page edge. So a box of exactly the printable width and height fits at 203, 300 and 600 dpi alike. No ink is ever a whole dot inside a margin; the right and bottom edges may pass theirs by a fraction of a dot (less than 0.125 mm at 203 dpi). `design` states the stock the layout was drawn for; the request's stock must match it within 0.5 mm on each side (`STOCK_MISMATCH`). - **Every element** has a unique `id` (`[A-Za-z][A-Za-z0-9_-]{0,31}`), a `type`, an `anchor` (one of nine points, default `top-left`: the same point of the box is placed on that point of its container), `x` and `y` (distances inward from the anchored edge; on a centred axis a shift that may be negative), `width` and `height` (omitted: the rest of the container), and `align` and `valign` (where content sits in the box). - **`box`** has `thickness` and optional `fill`; a line is a box whose width or height is its thickness. **`group`** has `children`, placed relative to its box; groups nest four deep. A scene holds at most 1000 elements, and its elements may paint at most sixteen times its printable area in all, an overlap counted each time: a filled box counts its area, an outline its four bars, a group nothing. The element that would pass that is refused as `SCENE_INVALID` at its pointer, with its box and `measured.paintedPercent` against `limit.paintedPercent` of 1600. A real label paints less than twice its area; the limit holds the worst scene to sixteen fills of the canvas where 1000 were possible. -- **`text`, `barcode` and `image`** are parsed and placed by renderer `0.2.0` and then refused as `RENDERER_TOO_OLD`, with the box they would have had, until their packages are in the renderer. +- **`text`** draws one value in a face bundled with the renderer: `qqq-sans`, `qqq-sans-bold` (IBM Plex Sans), `qqq-condensed-bold` (IBM Plex Sans Condensed) and `qqq-mono`, `qqq-mono-bold` (JetBrains Mono). There is no printer font in version 2 and no installed font is used; any other `font` is `FONT_UNKNOWN`, and a request that supplies an asset whose name begins `qqq-` is refused as `RESERVED_FONT_NAME`. `font` and `size` may come from the scene's `defaults`. The value is `value` or, read from the record when rendering, `valuePath` (text as it is, `true` or `false`, or a number in plain decimal digits with no exponent and no fraction that is only zeros: `1.0E10` prints `10000000000`, `2.50` prints `2.5`; anything else is `VALUE_MISSING`); at most 1024 characters, each of which the face must draw as one glyph from left to right (no control or format characters, combining marks, shaping or right-to-left scripts: `FONT_MISSING_GLYPH`, with the count). + - **Size and measurement.** `size` is the em as a physical length from `1pt` to `1000pt`, not rounded to dots. A text is measured before it is drawn, by integer arithmetic on the face's own numbers, so the measurement is the same on every machine. A line's box is its pen advance widened to hold the ink of every character in it, plus two dots on each inked side for the rasteriser. A text whose ink the rasteriser puts outside that box is not printed in part and does not fail the render: the one element is refused as `TEXT_DOES_NOT_FIT` with `measured.glyphsOutsideMeasure` and `measured.dotsOutsideMeasure`, when the scene is validated if its value is a literal. No bundled face does so at any size from 1 pt to 1000 pt. The block of lines is placed in the element's box by `align` and `valign`, and each line in the block by `align`. `lineHeight` is the distance between baselines as a multiple of the size (default: the face's own). `rotation` turns the text clockwise in a box given as it appears on the label; `reverse` prints white letters on the box filled black. + - **Fit.** In this order: lay the value out at `size` within `fit.maxLines` (default 1); if it does not fit, take the largest size, in steps of 0.25 pt down to `fit.shrinkTo`, at which it does (`TEXT_SHRUNK`); if none does, apply `fit.overflow`. `shrinkTo` defaults to 70% of the size and not below 5 pt. `overflow` is `refuse` (the default: `TEXT_DOES_NOT_FIT`, with the measured width, height, lines and size against the box) or `truncate`, which cuts at a character, ends with an ellipsis and warns `TEXT_TRUNCATED`. At each size a line is broken between words while that fits and at any character when it does not, so a value with no space wraps and a larger size is preferred to whole words (`TEXT_WRAPPED`). A member of `fit` that is wrong is `SCENE_INVALID` at that member (`/elements/3/fit/maxLines`). The size chosen is exactly the one a search of every quarter-point step gives, found without making that search, and all the text of one scene is held to a stated amount of work: 64 million steps, where a character visited while fitting is one step, a character to be drawn is 16 and a glyph the scene draws for the first time at a size is 4096. A scene that passes it is refused as `SCENE_INVALID` at the element that did, with `measured.textWorkSteps` against `limit.textWorkSteps`, the same whether it is validated or rendered and on every machine. That is about a second of a worker; a label of a hundred values takes a few percent of it. + - **Proving the fit.** `maxLength` is the longest value in characters. When a scene is validated, that many of the face's widest character must fit whole, each taken to reach as far above, below and beside its advance as the furthest-reaching character of the face; otherwise the scene is refused as `TEXT_DOES_NOT_FIT`. The proof never cuts. An element with `overflow: truncate` whose stated length is not proven is still valid, since cutting is what its author chose, but every validation warns `FIT_NOT_PROVEN` with `measured.provenCharacters`, the longest length that is proven to fit whole, against `limit.characters`: longer values may be cut. A scene that passes cannot be refused at that render target because a value of up to that length does not fit, whichever of the face's characters it holds. The proof is therefore stricter than a typical value needs, and a box that is exactly `lines x lineHeight` high is not proven: leave room for an accent above a capital. When printing, a longer value is `VALUE_TOO_LONG` before any layout. A bound element without `maxLength` warns `FIT_NOT_PROVEN` with no number. Validation reads no record. The proof is for the render target of the request; validate at each resolution the document prints at. + - **Legibility.** Glyphs are drawn antialiased and a dot is ink when its grey is darker than `threshold` (1 to 254, default 128), so a higher value prints heavier. `TEXT_SMALL_FOR_DPI` warns when the capitals are under 12 dots high at the render target (about 6 pt at 203 dpi), `TEXT_LIGHT_FACE` when a regular weight is used with capitals under 20 dots (about 10 pt at 203 dpi). A literal is judged at the size it is drawn at; a bound value, when validated, at the size its `maxLength` is proven at, which is the smallest any value is printed at (the floor when the proof fails and the element cuts), and at its stated size when it has no `maxLength`. An override is how a scene answers for one resolution: a bold face or a higher `threshold` at 203 dpi. +- **`barcode` and `image`** are parsed and placed by renderer `0.2.0` and then refused as `RENDERER_TOO_OLD`, with the box they would have had, until their packages are in the renderer. - **`overrides`** replace properties of declared elements at the listed resolutions and are the only place a scene may depend on resolution. They are checked for all three resolutions whatever the request's target. **`samples`** are accepted and ignored by rendering. - **Output.** The whole label is composed on one 1-bit canvas and emitted as uncompressed `^GFA` fields: rows are cut into bands wherever eight or more blank rows separate ink, each band is trimmed to its inked columns, and a band is continued in a further field at 99,999 bytes. Only `^XA`, `^PW`, `^LL`, `^LH`, `^CI28`, `^FO`, `^GFA`, `^FS` and `^XZ` are emitted. - **Diagnostics.** A refusal is one diagnostic: `code`, `severity`, the `element` id, the element's `box` in dots from the top left of the printable area, and `measured` and `limit` as named integers. `SCENE_INVALID` also carries `pointer`, the JSON pointer of the offending place. A diagnostic names only an id the scene declares and points only through schema property names, array indexes and declared ids, so no record value, sample or unknown property name can leave the worker in one. A stock the printer language cannot address stays the opaque `RENDER_FAILED`, as for version 1. diff --git a/renderer/THIRD-PARTY.md b/renderer/THIRD-PARTY.md index 36d2467..18ffbfd 100644 --- a/renderer/THIRD-PARTY.md +++ b/renderer/THIRD-PARTY.md @@ -58,3 +58,32 @@ the Java file preserves the full license and identifies the dated port. Unmodified source, tests, hashes and maintenance policy are retained in `src/test/resources/barcodes/coop2of5`. No interpreter or additional runtime dependency is introduced. See [the capability contract](BARCODES.md#coop-2-of-5). + +## Bundled fonts for version 2 label text (2026-11-12) + +Version 2 label scenes draw text in five TrueType faces shipped inside the renderer JAR under `/fonts`. They are +data, not code: unmodified files taken from each project's official release archive, each beside its licence text +and a provenance note, with their SHA-256 in `/fonts/SHA256SUMS`. A test (`FaceTest`) fails the build when a +licence, a provenance note or a hash is missing or a file's bytes change. + +| Scene name | Family and style | File | Release | SHA-256 | Licence | +| --- | --- | --- | --- | --- | --- | +| `qqq-sans` | IBM Plex Sans Regular | `ibm-plex-sans/IBMPlexSans-Regular.ttf` | [`@ibm/plex-sans@1.1.0`](https://github.com/IBM/plex/releases/download/%40ibm/plex-sans%401.1.0/ibm-plex-sans.zip), font version 3.005 | `975dcda37d80f038dcd143c22e33ca2d97a0cc5a929aace1c749153b0fe1afa5` | SIL OFL 1.1 | +| `qqq-sans-bold` | IBM Plex Sans Bold | `ibm-plex-sans/IBMPlexSans-Bold.ttf` | the same archive, font version 3.005 | `9e6c74a889a700d707613d24548fe4ffa6bc59559a0689d2cf9e133bdcdafb2f` | SIL OFL 1.1 | +| `qqq-condensed-bold` | IBM Plex Sans Condensed Bold | `ibm-plex-sans-condensed/IBMPlexSansCondensed-Bold.ttf` | [`@ibm/plex-sans-condensed@2.0.0`](https://github.com/IBM/plex/releases/download/%40ibm/plex-sans-condensed%402.0.0/ibm-plex-sans-condensed.zip), font version 3.000 | `723e245902b45a49f8cf602d15891bae08c31309dce7c56d209d10cd471b88c7` | SIL OFL 1.1 | +| `qqq-mono` | JetBrains Mono Regular | `jetbrains-mono/JetBrainsMono-Regular.ttf` | [`v2.304`](https://github.com/JetBrains/JetBrainsMono/releases/download/v2.304/JetBrainsMono-2.304.zip), font version 2.304 | `a0bf60ef0f83c5ed4d7a75d45838548b1f6873372dfac88f71804491898d138f` | SIL OFL 1.1 | +| `qqq-mono-bold` | JetBrains Mono Bold | `jetbrains-mono/JetBrainsMono-Bold.ttf` | the same archive, font version 2.304 | `5590990c82e097397517f275f430af4546e1c45cff408bde4255dad142479dcb` | SIL OFL 1.1 | + +Each licence was confirmed from the release archive itself and not from memory: the archive's own licence file +(`LICENSE.txt` for the two IBM Plex archives, `OFL.txt` for JetBrains Mono) states the SIL Open Font License, +Version 1.1 and carries its full text, the licence field of every font's name table says the same, and every +font's embedding bits are 0 (installable embedding). The licence files are shipped byte for byte. IBM Plex +declares the Reserved Font Name "Plex"; the files are neither modified nor renamed, and the scene names +(`qqq-sans` and so on) are names of the renderer's faces, not of derived fonts. + +The SIL Open Font License 1.1 is not on the allowlist of `K22-DEP-02`. The maintainer approved one recorded +exception for unmodified OFL 1.1 fonts shipped as data on 2026-11-12. The register is kept in the standards +repository (`exceptions/register.md`), not here; the entry was proposed with the pull request that added the +fonts. The OFL permits bundling and redistribution with software provided the copyright and +licence notices accompany the fonts, the fonts are not sold by themselves and a Reserved Font Name is not used +for a modified version; it does not apply to documents made with the fonts. diff --git a/renderer/schema/zpl-scene-2.schema.json b/renderer/schema/zpl-scene-2.schema.json index 502055f..e7a74bc 100644 --- a/renderer/schema/zpl-scene-2.schema.json +++ b/renderer/schema/zpl-scene-2.schema.json @@ -15,7 +15,7 @@ "properties": {"width": {"$ref": "#/$defs/physical"}, "height": {"$ref": "#/$defs/physical"}} }, "defaults": { - "description": "Defaults for text elements.", + "description": "The face and size of a text element that states none.", "type": "object", "additionalProperties": false, "properties": {"font": {"type": "string", "pattern": "^[A-Za-z0-9_-][A-Za-z0-9_.-]{0,99}$"}, "size": {"$ref": "#/$defs/physical"}} @@ -98,9 +98,31 @@ }, { "$ref": "#/$defs/placement", - "description": "Text. Parsed and placed by renderer 0.2.0 and refused as RENDERER_TOO_OLD until the text package; the values of these properties are not yet read.", + "description": "Text in a face bundled with the renderer, measured before it is drawn and placed in its box by `align` and `valign`. `font` and `size` may come from `defaults`. The renderer is the authority: it also enforces a size from 1pt to 1000pt, a `shrinkTo` from 1pt up to the size, at most three decimals in `lineHeight`, at most 1024 characters, only characters the face draws as one glyph each from left to right (FONT_MISSING_GLYPH), no supplied asset whose name begins `qqq-` (RESERVED_FONT_NAME), and a stated amount of work for all the text of one scene (SCENE_INVALID with `textWorkSteps`).", "unevaluatedProperties": false, - "properties": {"type": {"const": "text"}, "value": {}, "valuePath": {}, "font": {}, "size": {}, "lineHeight": {}, "fit": {}, "maxLength": {}, "threshold": {}, "reverse": {}, "rotation": {"enum": [0, 90, 180, 270]}} + "oneOf": [{"required": ["value"]}, {"required": ["valuePath"]}], + "properties": { + "type": {"const": "text"}, + "value": {"type": "string", "maxLength": 1024, "description": "The text itself."}, + "valuePath": {"type": "string", "pattern": "^/", "maxLength": 256, "description": "A JSON pointer into the record. Text is printed as it is; true and false as those words; a number in plain decimal digits, with no exponent and no fraction that is only zeros (`1.0E10` prints `10000000000`, `2.50` prints `2.5`, `12.0` prints `12`). Anything else, a number that is not finite among them, is VALUE_MISSING. No record is read when a scene is validated."}, + "font": {"enum": ["qqq-sans", "qqq-sans-bold", "qqq-condensed-bold", "qqq-mono", "qqq-mono-bold"], "description": "A bundled face: IBM Plex Sans Regular and Bold, IBM Plex Sans Condensed Bold, JetBrains Mono Regular and Bold. Any other name is FONT_UNKNOWN."}, + "size": {"$ref": "#/$defs/physical", "description": "The em size. Type scales continuously: the size is not rounded to dots."}, + "lineHeight": {"type": "number", "minimum": 0.5, "maximum": 5, "description": "The distance between baselines as a multiple of the size. Default: the face's own ascent, descent and line gap."}, + "fit": { + "type": "object", + "additionalProperties": false, + "description": "What happens when the value does not fit the box. In order: lay out at `size` within `maxLines`; else the largest size, in steps of 0.25pt down to `shrinkTo`, that fits; else `overflow`. At each size a line is broken between words while that fits and at any character when it does not. A member that is wrong is SCENE_INVALID at that member (`/fit/maxLines`); a member `fit` does not have is SCENE_INVALID at `fit`.", + "properties": { + "maxLines": {"type": "integer", "minimum": 1, "maximum": 64, "default": 1, "description": "The most lines the value may take."}, + "shrinkTo": {"$ref": "#/$defs/physical", "description": "The smallest size the text may be reduced to: from 1pt up to `size`, which the renderer enforces. Default: 70% of `size` and not below 5pt, or `size` itself when that is smaller."}, + "overflow": {"enum": ["refuse", "truncate"], "default": "refuse", "description": "What is done with a value that fits at no size: `refuse` (TEXT_DOES_NOT_FIT), or `truncate` (cut at a character, end with an ellipsis, warn TEXT_TRUNCATED)."} + } + }, + "maxLength": {"type": "integer", "minimum": 1, "maximum": 1024, "description": "The longest value, in characters. Validation proves that this many of the face's widest character fit whole, never cut, so a length refusal happens when the scene is published; a longer value is VALUE_TOO_LONG when printing. When the proof fails and `fit.overflow` is `truncate` the scene stands and warns FIT_NOT_PROVEN with the longest length that is proven (`provenCharacters`): longer values may be cut. Without `maxLength` a bound element warns FIT_NOT_PROVEN."}, + "threshold": {"type": "integer", "minimum": 1, "maximum": 254, "default": 128, "description": "Glyphs are drawn antialiased; a dot is ink when its grey is darker than this. Higher prints heavier."}, + "reverse": {"type": "boolean", "default": false, "description": "White letters on the element's box filled black."}, + "rotation": {"enum": [0, 90, 180, 270], "description": "Clockwise. The box is given as it appears on the label; a text turned a quarter is fitted along the box's height."} + } }, { "$ref": "#/$defs/placement", diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementFactory.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementFactory.java index dd5ae45..bec149f 100644 --- a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementFactory.java +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementFactory.java @@ -50,10 +50,11 @@ public interface ElementFactory Map FACTORIES = Map.of("box", new BoxElement.Factory(), "text", new TextFactory(), "barcode", new BarcodeFactory(), "image", new GraphicsFactory()); /*************************************************************************** - ** Every property name the version 2 schema declares. A diagnostic's pointer - ** is made only of these, of array indexes and of declared element ids. + ** Every property name the version 2 schema declares, the members of a text + ** element's `fit` among them. A diagnostic's pointer is made only of these, + ** of array indexes and of declared element ids. ***************************************************************************/ - Set VOCABULARY = Stream.concat(Stream.of("schema", "design", "defaults", "font", "size", "samples", "elements", "overrides", "when", "dpi", "set", "children"), + Set VOCABULARY = Stream.concat(Stream.of("schema", "design", "defaults", "font", "size", "samples", "elements", "overrides", "when", "dpi", "set", "children", "maxLines", "shrinkTo", "overflow"), Stream.concat(COMMON.stream(), FACTORIES.values().stream().flatMap(factory -> factory.properties().stream()))).collect(Collectors.toUnmodifiableSet()); diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementSource.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementSource.java index 04cc702..21cec4a 100644 --- a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementSource.java +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/ElementSource.java @@ -205,11 +205,23 @@ public final class ElementSource /*************************************************************************** - ** The refusal for a property the element states wrongly, or lacks. + ** The refusal for a property the element states wrongly, or lacks. A member + ** of a property that is an object is named with a slash: `fit/maxLines`. ***************************************************************************/ public Refusal invalid(String name) { - return (diagnostics.refuse("SCENE_INVALID", id, pointer(name), null, null, null)); + return (refuse("SCENE_INVALID", name)); + } + + + + /*************************************************************************** + ** The refusal, by its own code, for a property that is well formed but names + ** something this renderer does not have, such as a font. + ***************************************************************************/ + public Refusal refuse(String code, String name) + { + return (diagnostics.refuse(code, id, pointer(name), null, null, null)); } @@ -230,12 +242,33 @@ public final class ElementSource /*************************************************************************** - ** Where a property is stated: in the override that set it, else in the - ** element. + ** Give the element the scene's `defaults` for the properties its type reads + ** and it does not state. A default is reported where the scene states it. + ***************************************************************************/ + void inherit(JsonNode defaults, Set properties) + { + for(Map.Entry property : defaults.properties()) + { + if(properties.contains(property.getKey()) && !values.containsKey(property.getKey())) + { + values.put(property.getKey(), property.getValue()); + pointers.put(property.getKey(), "/defaults/" + property.getKey()); + } + } + } + + + + /*************************************************************************** + ** Where a property is stated: in the override that set it, in the scene's + ** defaults, else in the element. A member of a property that is an object + ** (`fit/maxLines`) is in that property, wherever the property is stated. ***************************************************************************/ private String pointer(String name) { - return (pointers.getOrDefault(name, pointer + "/" + name)); + int member = name.indexOf('/'); + String property = member < 0 ? name : name.substring(0, member); + return (pointers.getOrDefault(property, pointer + "/" + property) + (member < 0 ? "" : name.substring(member))); } diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/SceneParser.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/SceneParser.java index 1429f52..94ee6c6 100644 --- a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/SceneParser.java +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/SceneParser.java @@ -278,6 +278,7 @@ final class SceneParser { ElementFactory factory = ElementFactory.FACTORIES.get(source.type()); source.only(factory.properties()); + source.inherit(root.path("defaults"), factory.properties()); built.add(factory.create(source)); } } diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/Face.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/Face.java new file mode 100644 index 0000000..ca0c9de --- /dev/null +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/Face.java @@ -0,0 +1,345 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.awt.Font; +import java.awt.FontFormatException; +import java.awt.font.FontRenderContext; +import java.awt.font.GlyphVector; +import java.awt.font.LineMetrics; +import java.awt.geom.Rectangle2D; +import java.io.IOException; +import java.io.InputStream; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.concurrent.ConcurrentHashMap; + + +/******************************************************************************* + ** The faces bundled with the renderer, by the name a scene writes. Each is an + ** unmodified TrueType file under the SIL Open Font License 1.1, shipped in the + ** jar beside its licence, provenance and hash (`/fonts`). No installed font is + ** ever used and there is no fallback between faces. + ** + ** Every number here is in thousandths of the em, read once from the face at a + ** reference size of 1000, where the bundled faces (1000 units to the em) give + ** whole numbers. Layout multiplies those integers by the size and never asks + ** the font for a measurement at the size it draws, so a measurement is the + ** same on every machine. + ** + ** The four numbers after the widest character are the most any character of + ** the face reaches past its own advance on the left and on the right, above + ** the baseline and below it. They bound every character, so a value that was + ** never seen can be proven to fit; a test recomputes them from the font file. + *******************************************************************************/ +public final class Face +{ + public static final Face SANS = new Face("qqq-sans", "ibm-plex-sans/IBMPlexSans-Regular.ttf", false, 0x2030, 203, 203, 1119, 245); + public static final Face SANS_BOLD = new Face("qqq-sans-bold", "ibm-plex-sans/IBMPlexSans-Bold.ttf", true, 0x2030, 245, 245, 1150, 275); + public static final Face CONDENSED_BOLD = new Face("qqq-condensed-bold", "ibm-plex-sans-condensed/IBMPlexSansCondensed-Bold.ttf", true, 0x2030, 241, 241, 1150, 275); + public static final Face MONO = new Face("qqq-mono", "jetbrains-mono/JetBrainsMono-Regular.ttf", false, 0x21, 165, 165, 1120, 400); + public static final Face MONO_BOLD = new Face("qqq-mono-bold", "jetbrains-mono/JetBrainsMono-Bold.ttf", true, 0x21, 165, 165, 1120, 400); + + static final FontRenderContext CONTEXT = new FontRenderContext(null, true, true); + static final int REFERENCE = 1000; + + private static final List ALL = List.of(SANS, SANS_BOLD, CONDENSED_BOLD, MONO, MONO_BOLD); + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // characters that cannot be drawn one glyph each from left to right: controls and formats // + // (which would print nothing), marks (which need placing on the letter before) and the like // + ///////////////////////////////////////////////////////////////////////////////////////////////// + private static final Set UNDRAWN = Set.of((int) Character.CONTROL, (int) Character.FORMAT, (int) Character.SURROGATE, (int) Character.PRIVATE_USE, (int) Character.UNASSIGNED, + (int) Character.LINE_SEPARATOR, (int) Character.PARAGRAPH_SEPARATOR, (int) Character.NON_SPACING_MARK, (int) Character.ENCLOSING_MARK, (int) Character.COMBINING_SPACING_MARK); + + private final String scene; + private final String file; + private final boolean bold; + private final int widest; + private final int left; + private final int right; + private final int top; + private final int bottom; + private final Map glyphs = new ConcurrentHashMap<>(); + private Font font; + + + + /*************************************************************************** + ** One character of a face: how far the pen moves, and the box its outline + ** fills, from the pen (`left`, `right`) and from the baseline (`top` above, + ** `bottom` below), rounded outward. A space has no ink; only U+0020 is a + ** `space`, the one place a line may be broken between words. + ***************************************************************************/ + public record Glyph(int advance, int left, int right, int top, int bottom, boolean ink, boolean space) + { + } + + + + /*************************************************************************** + ** A face, where its file is, and the bounds a test holds it to. + ***************************************************************************/ + private Face(String scene, String file, boolean bold, int widest, int left, int right, int top, int bottom) + { + this.scene = scene; + this.file = file; + this.bold = bold; + this.widest = widest; + this.left = left; + this.right = right; + this.top = top; + this.bottom = bottom; + } + + + + /*************************************************************************** + ** The bundled set: a proportional sans in regular and bold, a condensed bold + ** for long values on narrow labels, and a monospace in regular and bold. + ***************************************************************************/ + public static List all() + { + return (ALL); + } + + + + /*************************************************************************** + ** The face a scene names, or null. + ***************************************************************************/ + public static Face of(String scene) + { + for(Face face : ALL) + { + if(face.scene.equals(scene)) + { + return (face); + } + } + return (null); + } + + + + /*************************************************************************** + ** The name a scene writes. + ***************************************************************************/ + public String scene() + { + return (scene); + } + + + + /*************************************************************************** + ** The font file, under `/fonts` in the jar. + ***************************************************************************/ + public String file() + { + return (file); + } + + + + /*************************************************************************** + ** Whether the strokes are bold. A regular face prints light when small. + ***************************************************************************/ + public boolean bold() + { + return (bold); + } + + + + /*************************************************************************** + ** The character with the greatest advance, the lowest when several share it. + ***************************************************************************/ + public int widest() + { + return (widest); + } + + + + /*************************************************************************** + ** A character no real one exceeds in any direction: the greatest advance and + ** the greatest reach on each side. A line of these is at least as wide and + ** as tall as a line of the same number of any characters of the face. + ***************************************************************************/ + public Glyph worst() + { + int advance = glyph(widest).advance(); + return (new Glyph(advance, -left, advance + right, top, bottom, true, false)); + } + + + + /*************************************************************************** + ** The face at a size in dots, for drawing only. + ***************************************************************************/ + Font font(float size) + { + return (reference().deriveFont(size)); + } + + + + /*************************************************************************** + ** Height above the baseline that a line reserves. + ***************************************************************************/ + public int ascent() + { + return (Math.round(metrics().getAscent())); + } + + + + /*************************************************************************** + ** Depth below the baseline that a line reserves. + ***************************************************************************/ + public int descent() + { + return (Math.round(metrics().getDescent())); + } + + + + /*************************************************************************** + ** Extra space the face asks for between lines. + ***************************************************************************/ + public int leading() + { + return (Math.round(metrics().getLeading())); + } + + + + /*************************************************************************** + ** The height of a capital letter, which is what legibility is judged by. + ***************************************************************************/ + public int capHeight() + { + return (glyph('H').top()); + } + + + + /*************************************************************************** + ** Whether the face can draw a character as one glyph, left to right. + ***************************************************************************/ + public boolean draws(int codePoint) + { + return (codePoint <= Character.MAX_VALUE && !UNDRAWN.contains(Character.getType(codePoint)) && reference().canDisplay(codePoint) + && !Font.textRequiresLayout(new char[] {(char) codePoint}, 0, 1)); + } + + + + /*************************************************************************** + ** How many characters of a text the face cannot draw. + ***************************************************************************/ + public int missing(String text) + { + return (Math.toIntExact(text.codePoints().filter(codePoint -> !draws(codePoint)).count())); + } + + + + /*************************************************************************** + ** The measurements of one character the face draws. + ***************************************************************************/ + public Glyph glyph(int codePoint) + { + return (glyphs.computeIfAbsent(codePoint, this::measure)); + } + + + + /*************************************************************************** + ** The measurements of a text the face draws, one for each character. + ***************************************************************************/ + public Glyph[] glyphs(String text) + { + return (text.codePoints().mapToObj(this::glyph).toArray(Glyph[]::new)); + } + + + + /*************************************************************************** + ** Read one character from the face at the reference size. + ***************************************************************************/ + private Glyph measure(int codePoint) + { + GlyphVector vector = reference().createGlyphVector(CONTEXT, new char[] {(char) codePoint}); + int advance = Math.round(vector.getGlyphMetrics(0).getAdvanceX()); + Rectangle2D bounds = vector.getGlyphOutline(0).getBounds2D(); + if(bounds.isEmpty()) + { + return (new Glyph(advance, 0, 0, 0, 0, false, codePoint == ' ')); + } + return (new Glyph(advance, (int) Math.floor(bounds.getMinX()), (int) Math.ceil(bounds.getMaxX()), (int) Math.ceil(-bounds.getMinY()), (int) Math.ceil(bounds.getMaxY()), true, false)); + } + + + + /*************************************************************************** + ** The line metrics of the face at the reference size. + ***************************************************************************/ + private LineMetrics metrics() + { + return (reference().getLineMetrics("H", CONTEXT)); + } + + + + /*************************************************************************** + ** The face at the reference size, read from the jar the first time. + ***************************************************************************/ + private synchronized Font reference() + { + if(font == null) + { + font = load("/fonts/" + file); + } + return (font); + } + + + + /*************************************************************************** + ** Read a TrueType file from the jar. A file that is not a font is a broken + ** build, not a mistake in a scene, so it is an illegal state. + ***************************************************************************/ + static Font load(String resource) + { + try(InputStream stream = Face.class.getResourceAsStream(resource)) + { + return (Font.createFont(Font.TRUETYPE_FONT, stream).deriveFont((float) REFERENCE)); + } + catch(IOException | FontFormatException broken) + { + throw new IllegalStateException("BUNDLED_FONT_UNREADABLE", broken); + } + } +} diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextElement.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextElement.java new file mode 100644 index 0000000..114b612 --- /dev/null +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextElement.java @@ -0,0 +1,565 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.math.BigDecimal; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; +import java.util.WeakHashMap; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import com.kingsrook.qbits.renderer.RenderInput; +import com.kingsrook.qbits.renderer.scene2.Canvas; +import com.kingsrook.qbits.renderer.scene2.Diagnostics; +import com.kingsrook.qbits.renderer.scene2.ElementSource; +import com.kingsrook.qbits.renderer.scene2.Frame; +import com.kingsrook.qbits.renderer.scene2.Layout; +import com.kingsrook.qbits.renderer.scene2.Length; +import com.kingsrook.qbits.renderer.scene2.Placement; +import com.kingsrook.qbits.renderer.scene2.SceneElement; + + +/******************************************************************************* + ** A `text` element: one value in one bundled face, measured before it is + ** drawn, placed in its box by `align` and `valign`, and fitted by the rule the + ** element states (`TextFit`). The value is a literal (`value`) or is read from + ** the record by a JSON pointer (`valuePath`). + ** + ** Every refusal names the element and carries numbers only: a width, a line + ** count, a size, a count of characters. The value itself never enters a + ** diagnostic or an exception. + ** + ** A bound value is not known when a scene is validated, so validation reads no + ** record. With `maxLength` it proves instead that the longest value fits whole: + ** that many of the face's widest character, each taken to reach as far in + ** every direction as the furthest-reaching character of the face. The proof + ** never cuts. When it fails the scene is refused, unless the element asked for + ** cutting: then the scene stands, with the warning `FIT_NOT_PROVEN` and the + ** longest length that is proven. Without `maxLength` it warns `FIT_NOT_PROVEN` + ** with no number. When rendering, a value longer than `maxLength` is refused + ** before any layout. + ** + ** The text of one scene is held to a stated amount of work (`SCENE_WORK_STEPS`): + ** every character visited while fitting counts one step, every character of + ** a text that is to be drawn counts `TextRaster.PEN_STEPS`, and every glyph + ** the scene draws for the first time at a size, which the runtime must + ** rasterise, counts `TextRaster.GLYPH_STEPS`. A scene that passes it is + ** refused by name at the element that did, and so is every text after it. + ** The count is integer arithmetic, the same on every machine, and the same + ** whether the scene is validated or rendered. + *******************************************************************************/ +final class TextElement implements SceneElement +{ + static final int MAXIMUM_CHARACTERS = 1024; + static final int MAXIMUM_LINES = 64; + static final int MINIMUM_MILLIPOINTS = 1000; + static final int MAXIMUM_MILLIPOINTS = 1_000_000; + static final int DEFAULT_FLOOR_PERCENT = 70; + static final int DEFAULT_FLOOR_MILLIPOINTS = 5000; + static final int DEFAULT_THRESHOLD = 128; + ///////////////////////////////////////////////////////////////////////////////////////////////// + // capital heights in dots below which thermal print is hard to read: any face under 12 (about // + // 6 pt at 203 dpi), a regular weight under 20 (about 10 pt at 203 dpi). Starting values, to // + // be confirmed on the printed specimen // + ///////////////////////////////////////////////////////////////////////////////////////////////// + static final int SMALL_CAPITAL_DOTS = 12; + static final int LIGHT_CAPITAL_DOTS = 20; + ///////////////////////////////////////////////////////////////////////////////////////////////// + // the work the text of one scene may take, in steps. A value of forty characters costs // + // about a hundred thousand at a size its scene has not drawn, nearly all of it for the // + // glyphs the runtime must rasterise, and under two thousand at a size it has. The // + // allowance is fifteen thousand glyphs rasterised, or three thousand fits of the longest // + // value over the widest range of sizes: about a second of the worker, where one hostile // + // scene took minutes // + ///////////////////////////////////////////////////////////////////////////////////////////////// + static final int SCENE_WORK_STEPS = 64_000_000; + + private static final Set FIT = Set.of("maxLines", "shrinkTo", "overflow"); + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // the work of each scene, by the collector of its one render or validation, which is all a // + // text element is given that belongs to the scene; it is forgotten with the collector // + ///////////////////////////////////////////////////////////////////////////////////////////////// + private static final Map SCENES = Collections.synchronizedMap(new WeakHashMap<>()); + + private final String id; + private final Placement placement; + private final int rotation; + private final boolean reverse; + private final Face face; + private final int size; + private final int floor; + private final Integer lineHeight; + private final int maxLines; + private final boolean truncate; + private final Integer maxLength; + private final int threshold; + private final String value; + private final String path; + private Composed composed; + + + + /*************************************************************************** + ** What the text of one scene has cost so far: the steps counted, and the + ** glyphs it has drawn, each a face, a size and a character in one number. + ** There are never more of those than the steps allow. + ***************************************************************************/ + private record Scene(TextFit.Work work, Set glyphs) + { + } + + + + /*************************************************************************** + ** What `check` composed, kept for the `paint` of the same pass, so a text + ** is fitted once. + ***************************************************************************/ + private record Composed(Frame frame, RenderInput input, Diagnostics diagnostics, TextRaster.Drawing drawing) + { + /************************************************************************ + ** Whether this is the answer for the same box of the same pass. + ************************************************************************/ + boolean of(Frame other, RenderInput request, Diagnostics collector) + { + return (frame.equals(other) && input == request && diagnostics == collector); + } + } + + + + /*************************************************************************** + ** Read the element. A property that is not what the schema says is + ** `SCENE_INVALID` at that property, a member of `fit` at that member; a + ** member `fit` does not have is reported at `fit`, since only names the + ** schema declares leave the renderer. A face this renderer does not bundle + ** is `FONT_UNKNOWN`. + ***************************************************************************/ + TextElement(ElementSource source) + { + id = source.id(); + placement = source.placement(); + rotation = source.rotation(); + reverse = source.flag("reverse", false); + JsonNode font = source.value("font"); + if(font == null || !font.isTextual()) + { + throw source.invalid("font"); + } + face = Face.of(font.textValue()); + if(face == null) + { + throw source.refuse("FONT_UNKNOWN", "font"); + } + Length stated = source.length("size", null, ElementSource.PHYSICAL); + size = stated == null ? 0 : milliPoints(stated); + if(size < MINIMUM_MILLIPOINTS || size > MAXIMUM_MILLIPOINTS) + { + throw source.invalid("size"); + } + lineHeight = lineHeight(source); + threshold = integer(source, "threshold", source.value("threshold"), 1, 254, DEFAULT_THRESHOLD); + maxLength = source.value("maxLength") == null ? null : Integer.valueOf(integer(source, "maxLength", source.value("maxLength"), 1, MAXIMUM_CHARACTERS, 0)); + JsonNode fit = source.value("fit") == null ? JsonNodeFactory.instance.objectNode() : source.value("fit"); + if(!fit.isObject() || fit.properties().stream().anyMatch(property -> !FIT.contains(property.getKey()))) + { + throw source.invalid("fit"); + } + maxLines = integer(source, "fit/maxLines", fit.get("maxLines"), 1, MAXIMUM_LINES, 1); + floor = floor(source, fit.get("shrinkTo")); + String overflow = fit.has("overflow") ? fit.get("overflow").textValue() : "refuse"; + if(!"refuse".equals(overflow) && !"truncate".equals(overflow)) + { + throw source.invalid("fit/overflow"); + } + truncate = "truncate".equals(overflow); + JsonNode literal = source.value("value"); + JsonNode pointer = source.value("valuePath"); + if((literal == null) == (pointer == null)) + { + throw source.invalid("value"); + } + if(literal != null && (!literal.isTextual() || literal.textValue().codePointCount(0, literal.textValue().length()) > MAXIMUM_CHARACTERS)) + { + throw source.invalid("value"); + } + if(pointer != null && (!pointer.isTextual() || pointer.textValue().length() > 256 || !pointer.textValue().startsWith("/"))) + { + throw source.invalid("valuePath"); + } + value = literal == null ? null : literal.textValue(); + path = pointer == null ? null : pointer.textValue(); + } + + + + /*************************************************************************** + ** A type size in thousandths of a point. A point is a 72nd of an inch and an + ** inch is 25400 micrometres, so a micrometre is 360/127 of a millipoint. + ***************************************************************************/ + private static int milliPoints(Length length) + { + long thousandths = length.thousandths(); + return (Math.toIntExact(switch(length.unit()) + { + case IN -> thousandths * 72; + case MM -> Math.floorDiv(thousandths * 360 + 63, 127); + default -> thousandths; + })); + } + + + + /*************************************************************************** + ** A whole number in a range, or the fallback when the scene states none. + ***************************************************************************/ + private static int integer(ElementSource source, String name, JsonNode stated, int minimum, int maximum, int fallback) + { + if(stated == null) + { + return (fallback); + } + if(!stated.isIntegralNumber() || !stated.canConvertToInt() || stated.intValue() < minimum || stated.intValue() > maximum) + { + throw source.invalid(name); + } + return (stated.intValue()); + } + + + + /*************************************************************************** + ** The distance between baselines as a multiple of the size, in thousandths: + ** a number from 0.5 to 5 with at most three decimals. Null is the face's own. + ** A number too large to be a number at all (`1e400`) is refused like any + ** other, not left to fail as arithmetic. + ***************************************************************************/ + private static Integer lineHeight(ElementSource source) + { + JsonNode stated = source.value("lineHeight"); + if(stated == null) + { + return (null); + } + BigDecimal thousandths = stated.isNumber() && Double.isFinite(stated.doubleValue()) ? stated.decimalValue().movePointRight(3) : BigDecimal.ZERO; + if(thousandths.stripTrailingZeros().scale() > 0 || thousandths.compareTo(BigDecimal.valueOf(500)) < 0 || thousandths.compareTo(BigDecimal.valueOf(5000)) > 0) + { + throw source.invalid("lineHeight"); + } + return (thousandths.intValueExact()); + } + + + + /*************************************************************************** + ** The smallest size the text may be reduced to. Stated, it is a physical + ** length from one point up to the size. Otherwise it is 70% of the size and + ** not below 5 pt, or the size itself when that is smaller still. + ***************************************************************************/ + private int floor(ElementSource source, JsonNode stated) + { + if(stated == null) + { + return (Math.min(size, Math.max(size * DEFAULT_FLOOR_PERCENT / 100, DEFAULT_FLOOR_MILLIPOINTS))); + } + try + { + Length length = Length.parse(stated.textValue()); + if(length.physical() && milliPoints(length) >= MINIMUM_MILLIPOINTS && milliPoints(length) <= size) + { + return (milliPoints(length)); + } + } + catch(IllegalArgumentException expected) + { + // Refused below, at the property; the cause holds nothing more. + } + throw source.invalid("fit/shrinkTo"); + } + + + + /*************************************************************************** + ** The id the scene declares for the text. + ***************************************************************************/ + @Override + public String id() + { + return (id); + } + + + + /*************************************************************************** + ** The element's box, by the standing rules. + ***************************************************************************/ + @Override + public Frame place(Layout layout) + { + return (layout.place(placement)); + } + + + + /*************************************************************************** + ** Everything that can refuse the text, with no ink: run when a scene is + ** validated and before it is painted. What it composed is kept for the + ** paint that follows. + ***************************************************************************/ + @Override + public void check(Frame frame, RenderInput input, Diagnostics diagnostics) + { + composed = null; + composed = new Composed(frame, input, diagnostics, compose(frame, input, diagnostics)); + } + + + + /*************************************************************************** + ** Reverse text paints its box and then clears its letters, so it is counted + ** twice against what one scene may paint. + ***************************************************************************/ + @Override + public long paintedDots(Frame frame, int dpi) + { + return ((reverse ? 2L : 1L) * frame.width() * frame.height()); + } + + + + /*************************************************************************** + ** Draw the text as `check` fitted it, or not at all: a text whose ink the + ** rasteriser put outside what was measured is refused and leaves the label + ** as it was. Reverse text is white letters on its own box filled black. + ***************************************************************************/ + @Override + public void paint(Canvas canvas, Frame frame, RenderInput input, Diagnostics diagnostics) + { + Composed checked = composed; + composed = null; + TextRaster.Drawing drawing = checked != null && checked.of(frame, input, diagnostics) ? checked.drawing() : compose(frame, input, diagnostics); + measured(diagnostics, id, frame, TextRaster.paint(canvas, frame, drawing, TextRaster.BAND_DOTS), drawing.block().milliPoints()); + } + + + + /*************************************************************************** + ** Refuse a text whose ink is not where it was measured: the element, by + ** name, with how many glyphs and dots strayed and at what size. The label + ** holds none of it. + ***************************************************************************/ + static void measured(Diagnostics diagnostics, String id, Frame frame, TextRaster.Stray stray, int milliPoints) + { + if(stray.any()) + { + throw diagnostics.refuse("TEXT_DOES_NOT_FIT", id, null, frame, Map.of("glyphsOutsideMeasure", stray.glyphs(), "dotsOutsideMeasure", stray.dots(), "sizeCentipoints", milliPoints / 10), + Map.of("glyphsOutsideMeasure", 0, "dotsOutsideMeasure", 0)); + } + } + + + + /*************************************************************************** + ** Compose the text within the work its scene may take, or refuse the + ** element by name with the steps counted against the steps allowed. + ***************************************************************************/ + private TextRaster.Drawing compose(Frame frame, RenderInput input, Diagnostics diagnostics) + { + Scene scene = SCENES.computeIfAbsent(diagnostics, collector -> new Scene(new TextFit.Work(SCENE_WORK_STEPS), new HashSet<>())); + try + { + return (compose(frame, input, diagnostics, scene)); + } + catch(TextFit.Exhausted exhausted) + { + throw diagnostics.refuse("SCENE_INVALID", id, diagnostics.pointer(id), frame, Map.of("textWorkSteps", Math.toIntExact(Math.min(scene.work().spent(), Integer.MAX_VALUE))), Map.of("textWorkSteps", SCENE_WORK_STEPS)); + } + } + + + + /*************************************************************************** + ** Resolve the value, hold it to its length and to the face, and fit it. The + ** answer is what to draw, or null when a bound value is only being + ** validated. A text that is only validated is also held to what the + ** rasteriser would do with it, glyph by glyph, with no ink. + ***************************************************************************/ + private TextRaster.Drawing compose(Frame frame, RenderInput input, Diagnostics diagnostics, Scene scene) + { + TextFit.Work work = scene.work(); + int reserved = input.reservedAssetNames().size(); + if(reserved > 0) + { + throw diagnostics.refuse("RESERVED_FONT_NAME", id, null, frame, Map.of("reservedAssets", reserved), Map.of("reservedAssets", 0)); + } + int dpi = input.targetDpi == null ? input.stock.dpi() : input.targetDpi; + boolean upright = rotation % 180 == 0; + boolean validate = "VALIDATE".equals(input.operation); + TextFit.Request request = new TextFit.Request(face, upright ? frame.width() : frame.height(), upright ? frame.height() : frame.width(), dpi, size, floor, lineHeight, maxLines, truncate); + if(path != null && maxLength == null) + { + diagnostics.warn("FIT_NOT_PROVEN", id, null, frame, null, null); + } + if(path != null && validate) + { + legibility(maxLength == null ? size : proven(request, frame, diagnostics, work), dpi, frame, diagnostics); + return (null); + } + String text = path == null ? value : bound(input.context.at(path), frame, diagnostics); + int characters = text.codePointCount(0, text.length()); + int longest = maxLength == null ? MAXIMUM_CHARACTERS : maxLength; + if(characters > longest) + { + throw diagnostics.refuse("VALUE_TOO_LONG", id, null, frame, Map.of("characters", characters), Map.of("characters", longest)); + } + int missing = face.missing(text); + if(missing > 0) + { + throw diagnostics.refuse("FONT_MISSING_GLYPH", id, null, frame, Map.of("missingGlyphs", missing, "characters", characters), Map.of("missingGlyphs", 0)); + } + TextFit.Block block = fitted(request, face.glyphs(text), frame, diagnostics, work); + long drawn = (long) Face.all().indexOf(face) << 48 | (long) block.milliPoints() << 16; + long fresh = text.codePoints().filter(codePoint -> scene.glyphs().add(drawn | codePoint)).count(); + work.spend(fresh * TextRaster.GLYPH_STEPS + (long) characters * TextRaster.PEN_STEPS); + if(block.milliPoints() < size) + { + diagnostics.inform("TEXT_SHRUNK", id, null, frame, Map.of("sizeCentipoints", block.milliPoints() / 10), Map.of("sizeCentipoints", size / 10, "floorCentipoints", floor / 10)); + } + if(block.lines().size() > 1) + { + diagnostics.inform("TEXT_WRAPPED", id, null, frame, Map.of("lines", block.lines().size()), Map.of("lines", maxLines)); + } + if(block.truncated()) + { + diagnostics.warn("TEXT_TRUNCATED", id, null, frame, Map.of("characters", block.characters(), "shownCharacters", block.shown(), "lines", block.lines().size()), Map.of("lines", maxLines)); + } + legibility(block.milliPoints(), dpi, frame, diagnostics); + TextRaster.Drawing drawing = new TextRaster.Drawing(face, text, block, placement.align(), placement.valign(), rotation, threshold, !reverse); + measured(diagnostics, id, frame, new TextRaster.Stray(validate ? TextRaster.outside(drawing, dpi) : 0, 0), block.milliPoints()); + return (drawing); + } + + + + /*************************************************************************** + ** The value the record holds at the element's pointer, as it is printed. + ** Text is printed as it is and a truth value as `true` or `false`. A number + ** is printed in plain decimal digits, as the schema says: no exponent, and + ** no fraction that is only zeros, so `1.0E10` prints `10000000000`, `2.50` + ** prints `2.5` and `12.0` prints `12`. Anything else, a number that is not + ** finite among them, is `VALUE_MISSING`. + ***************************************************************************/ + private String bound(JsonNode bound, Frame frame, Diagnostics diagnostics) + { + if(bound.isTextual() || bound.isBoolean()) + { + return (bound.asText()); + } + if(bound.isIntegralNumber()) + { + return (bound.bigIntegerValue().toString()); + } + if(bound.isNumber() && Double.isFinite(bound.doubleValue())) + { + return (BigDecimal.valueOf(bound.doubleValue()).stripTrailingZeros().toPlainString()); + } + throw diagnostics.refuse("VALUE_MISSING", id, null, frame, null, null); + } + + + + /*************************************************************************** + ** Prove that the longest value fits whole, and answer the size it is + ** proven at, which is the smallest any value is printed at. The proof never + ** cuts: a cut value is not a value that fits. When it fails, an element + ** that did not ask for cutting is refused; one that did stands, since + ** cutting is what its author chose, with a warning that says how many + ** characters are proven to fit whole. Fewer characters never fit worse, so + ** that number is found by halving. The size is then the floor, where a cut + ** value is printed. + ***************************************************************************/ + private int proven(TextFit.Request request, Frame frame, Diagnostics diagnostics, TextFit.Work work) + { + TextFit.Request whole = new TextFit.Request(face, request.width(), request.height(), request.dpi(), size, floor, lineHeight, maxLines, false); + Face.Glyph[] worst = new Face.Glyph[maxLength]; + Arrays.fill(worst, face.worst()); + TextFit.Block proof = truncate ? TextFit.fit(whole, worst, null, work) : fitted(whole, worst, frame, diagnostics, work); + if(!proof.fits()) + { + int low = 0; + int high = maxLength - 1; + while(low < high) + { + int middle = (low + high + 1) >>> 1; + if(TextFit.fit(whole, Arrays.copyOf(worst, middle), null, work).fits()) + { + low = middle; + } + else + { + high = middle - 1; + } + } + diagnostics.warn("FIT_NOT_PROVEN", id, null, frame, Map.of("provenCharacters", low), Map.of("characters", maxLength)); + } + return (proof.milliPoints()); + } + + + + /*************************************************************************** + ** Fit, or refuse with what was measured at the floor size against the box. + ***************************************************************************/ + private TextFit.Block fitted(TextFit.Request request, Face.Glyph[] glyphs, Frame frame, Diagnostics diagnostics, TextFit.Work work) + { + TextFit.Block block = TextFit.fit(request, glyphs, face.glyph(TextFit.MARK), work); + if(!block.fits()) + { + throw diagnostics.refuse("TEXT_DOES_NOT_FIT", id, null, frame, + Map.of("widthDots", block.width(), "heightDots", block.height(), "lines", block.lines().size(), "sizeCentipoints", block.milliPoints() / 10, "characters", block.characters()), + Map.of("widthDots", request.width(), "heightDots", request.height(), "lines", maxLines)); + } + return (block); + } + + + + /*************************************************************************** + ** Warn when the type is small for the printer: any face whose capitals are + ** under 12 dots, and a regular weight whose capitals are under 20. + ***************************************************************************/ + private void legibility(int milliPoints, int dpi, Frame frame, Diagnostics diagnostics) + { + int capitals = new TextFit.Scale(milliPoints, dpi).floor(face.capHeight()); + if(capitals < SMALL_CAPITAL_DOTS) + { + diagnostics.warn("TEXT_SMALL_FOR_DPI", id, null, frame, Map.of("capHeightDots", capitals, "sizeCentipoints", milliPoints / 10), Map.of("capHeightDots", SMALL_CAPITAL_DOTS)); + } + if(!face.bold() && capitals < LIGHT_CAPITAL_DOTS) + { + diagnostics.warn("TEXT_LIGHT_FACE", id, null, frame, Map.of("capHeightDots", capitals, "sizeCentipoints", milliPoints / 10), Map.of("capHeightDots", LIGHT_CAPITAL_DOTS)); + } + } +} diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextFactory.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextFactory.java index 0a4b65f..e5a97ed 100644 --- a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextFactory.java +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextFactory.java @@ -25,22 +25,18 @@ import java.util.Set; import com.kingsrook.qbits.renderer.scene2.ElementFactory; import com.kingsrook.qbits.renderer.scene2.ElementSource; import com.kingsrook.qbits.renderer.scene2.SceneElement; -import com.kingsrook.qbits.renderer.scene2.UnavailableElement; /******************************************************************************* - ** Text: a TrueType face rasterised by the renderer, with size, fit and legibility - ** rules. - ** - ** This is the placeholder of the scene 2 core: a `text` element is parsed and - ** placed, then refused as `RENDERER_TOO_OLD`. The package that draws it - ** replaces this class and nothing else. + ** Text: a TrueType face bundled with the renderer, rasterised by it, with + ** size, fit and legibility rules. Version 2 has no printer font: a face the + ** renderer cannot measure can be neither fitted nor previewed truthfully. *******************************************************************************/ public final class TextFactory implements ElementFactory { /*************************************************************************** - ** The property names the design gives a `text` element. Their values are - ** not read yet. + ** The properties of a `text` element beyond the common ones. `font` and + ** `size` may come from the scene's `defaults`. ***************************************************************************/ @Override public Set properties() @@ -51,11 +47,11 @@ public final class TextFactory implements ElementFactory /*************************************************************************** - ** The element, placed and then refused by name. + ** Build one text element. ***************************************************************************/ @Override public SceneElement create(ElementSource source) { - return (new UnavailableElement(source)); + return (new TextElement(source)); } } diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextFit.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextFit.java new file mode 100644 index 0000000..d5c8dbc --- /dev/null +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextFit.java @@ -0,0 +1,661 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.util.ArrayList; +import java.util.List; +import com.kingsrook.qbits.renderer.scene2.text.Face.Glyph; + + +/******************************************************************************* + ** Measurement and fit of one text in one box, in whole dots, by integer + ** arithmetic on the face's own numbers. Nothing is drawn here, and what is + ** drawn later is drawn from this answer: the pen position of every character + ** and the box of every line are decided once. + ** + ** The order is fixed. Lay the text out at the nominal size within the allowed + ** lines. If it does not fit, take the largest size, in steps of a quarter of + ** a point down to the floor, at which it does. If none does, the text is + ** refused, or, only when the element asked for it, cut at a character and + ** ended with an ellipsis at the floor size. + ** + ** The answer is the one a search of every step from the nominal size down + ** gives, and is found without making it. A count that errs only toward yes + ** (`possible`) says whether a size could hold the text; it never says no to a + ** size that fits and never says yes to a larger size after no to a smaller, + ** so the largest size it allows is found by halving, and no size above that + ** one fits. From there the steps are laid out one by one as before; the count + ** is within a few dots of the layout, so they are few. When one line at the + ** floor is higher than the box, no size fits and none is searched. + ** + ** Every character visited is counted against the `Work` the caller gives, so + ** a caller can hold all the fitting of one scene to a stated amount. + ** + ** At each size a line is first broken between words only. If that does not + ** fit, it is broken at any character. So a value with no spaces wraps, a + ** sentence keeps its words while it can, and a larger size is preferred to + ** whole words. Breaking at any character is also what makes a length provable: + ** a text of n characters needs no more lines than n of the face's widest. + ** + ** A line's box is its pen advance, widened to hold the ink of every character + ** in it (a `j` that starts left of the pen, an accent above the ascent) plus + ** `SLOP` dots on each inked side. The drawn glyph is the font's outline fitted + ** to the dot grid by the rasteriser, which moves an edge by less than two dots + ** from the outline scaled exactly; the slop is that allowance, and a test + ** holds every character of every bundled face to it. + *******************************************************************************/ +public final class TextFit +{ + public static final int SLOP = 2; + public static final int STEP_MILLIPOINTS = 250; + public static final int MARK = 0x2026; + + + + /*************************************************************************** + ** Utility class. + ***************************************************************************/ + private TextFit() + { + } + + + + /*************************************************************************** + ** What is asked: a face, a box in dots as the text reads (before any + ** rotation), the resolution, the nominal size and the floor in thousandths + ** of a point, the line pitch in thousandths of the size (null for the + ** face's own), the most lines, and whether a text that fits at no size is + ** cut short rather than refused. + ***************************************************************************/ + public record Request(Face face, int width, int height, int dpi, int nominal, int floor, Integer lineHeight, int maxLines, boolean truncate) + { + } + + + + /*************************************************************************** + ** One line: the characters `from` to `to` of the text, followed by the + ** ellipsis when `marked`. `left` (never positive) and `right` are the sides + ** of its box measured from the pen at the start of the line; `above` and + ** `below` are how far its ink reaches from the baseline. + ***************************************************************************/ + public record Line(int from, int to, boolean marked, int left, int right, int above, int below) + { + /************************************************************************ + ** The width of the line's box. + ************************************************************************/ + public int width() + { + return (right - left); + } + } + + + + /*************************************************************************** + ** The answer: the size chosen, the lines, the size of the block they make, + ** the baseline of the first line from the top of the block, the distance + ** between baselines, how many characters there were (trailing spaces never + ** print and are not counted), how many are shown, and whether it fits. When + ** it does not, the numbers are those of the text broken at any character at + ** the floor size, which is what a refusal reports. + ***************************************************************************/ + public record Block(int milliPoints, List lines, int width, int height, int baseline, int pitch, int characters, int shown, boolean fits) + { + /************************************************************************ + ** Whether the text was cut short. + ************************************************************************/ + public boolean truncated() + { + return (shown < characters); + } + } + + + + /*************************************************************************** + ** Dots from thousandths of the em at one size and resolution. A size of + ** `milliPoints` is `milliPoints * dpi / 72000` dots to the em, so a length + ** of `units` is `units * milliPoints * dpi / 72000000` dots, rounded as the + ** use says. The products stay far inside a long. + ***************************************************************************/ + public record Scale(int milliPoints, int dpi) + { + private static final long DIVISOR = 72_000_000L; + + + + /************************************************************************ + ** Rounded down. + ************************************************************************/ + public int floor(long units) + { + return (Math.toIntExact(Math.floorDiv(units * milliPoints * dpi, DIVISOR))); + } + + + + /************************************************************************ + ** Rounded up. + ************************************************************************/ + public int ceil(long units) + { + return (-floor(-units)); + } + + + + /************************************************************************ + ** To the nearest dot, a half upward. + ************************************************************************/ + public int round(long units) + { + return (Math.toIntExact(Math.floorDiv(units * milliPoints * dpi + DIVISOR / 2, DIVISOR))); + } + + + + /************************************************************************ + ** The size of the em in dots, for the font that draws. + ************************************************************************/ + public float size() + { + return ((float) ((double) milliPoints * dpi / 72_000)); + } + } + + + + /*************************************************************************** + ** The work fitting may do, in characters visited, shared by as many fits + ** as the caller wants held to one amount. It is counted by integer + ** arithmetic alone, so it is the same on every machine. + ***************************************************************************/ + public static final class Work + { + private final long limit; + private long spent; + + + + /************************************************************************ + ** An allowance of this many steps. + ************************************************************************/ + public Work(long limit) + { + this.limit = limit; + } + + + + /************************************************************************ + ** Count steps, and end the work when the allowance is passed. It stays + ** passed: whatever is asked next ends at once. + ************************************************************************/ + public void spend(long steps) + { + spent += steps; + if(spent > limit) + { + throw new Exhausted(); + } + } + + + + /************************************************************************ + ** The steps counted so far. + ************************************************************************/ + public long spent() + { + return (spent); + } + } + + + + /*************************************************************************** + ** The allowance of a `Work` was passed. It says nothing else: what was + ** being fitted is not in it. + ***************************************************************************/ + public static final class Exhausted extends RuntimeException + { + private static final long serialVersionUID = 1L; + + + + /************************************************************************ + ** No message beyond the name, no cause and no stack. + ************************************************************************/ + Exhausted() + { + super("TEXT_WORK_EXHAUSTED", null, false, false); + } + } + + + + /*************************************************************************** + ** What a line reserves, in thousandths of the em, read from the face once + ** for a fit: the ascent above the baseline, the descent below it, and the + ** distance between baselines. + ***************************************************************************/ + record Leading(int ascent, int descent, int pitch) + { + /************************************************************************ + ** The face's own, with the line height the request states if it does. + ************************************************************************/ + static Leading of(Request request) + { + Face face = request.face(); + return (new Leading(face.ascent(), face.descent(), request.lineHeight() == null ? face.ascent() + face.descent() + face.leading() : request.lineHeight())); + } + + + + /************************************************************************ + ** The distance between baselines in dots, never less than one. + ************************************************************************/ + int pitch(Scale scale) + { + return (Math.max(1, scale.ceil(pitch))); + } + + + + /************************************************************************ + ** The least a block of this many lines is high: one ascent, the pitches + ** between and one descent. Ink that reaches further makes it higher. + ************************************************************************/ + int height(Scale scale, int lines) + { + return (scale.ceil(ascent) + (lines - 1) * pitch(scale) + scale.ceil(descent)); + } + } + + + + /*************************************************************************** + ** The box of a line as characters are added to it from the left. + ***************************************************************************/ + private static final class Extent + { + private final Scale scale; + private long units; + private int left; + private int right; + private int above; + private int below; + + + + /************************************************************************ + ** An empty line at one size. + ************************************************************************/ + Extent(Scale scale) + { + this.scale = scale; + } + + + + /************************************************************************ + ** Add the next character at the pen. A space moves the pen and widens + ** nothing, so spaces at the end of a line take no room. + ************************************************************************/ + void add(Glyph glyph) + { + int pen = scale.round(units); + units += glyph.advance(); + if(!glyph.space()) + { + right = Math.max(right, scale.ceil(units)); + } + if(glyph.ink()) + { + left = Math.min(left, pen + scale.floor(glyph.left()) - SLOP); + right = Math.max(right, pen + scale.ceil(glyph.right()) + SLOP); + above = Math.max(above, scale.ceil(glyph.top()) + SLOP); + below = Math.max(below, scale.ceil(glyph.bottom()) + SLOP); + } + } + + + + /************************************************************************ + ** The width of the box so far. + ************************************************************************/ + int width() + { + return (right - left); + } + } + + + + /*************************************************************************** + ** Fit a text, given as the measurements of its characters, by the fixed + ** order, with no limit on the work. `mark` is the face's ellipsis, used + ** only when the request allows cutting. + ***************************************************************************/ + public static Block fit(Request request, Glyph[] glyphs, Glyph mark) + { + return (fit(request, glyphs, mark, new Work(Long.MAX_VALUE))); + } + + + + /*************************************************************************** + ** Fit a text by the fixed order, counting the work against an allowance + ** and ending as `Exhausted` when it is passed. The floor is never above + ** the nominal size and no character has a negative advance. + ***************************************************************************/ + public static Block fit(Request request, Glyph[] glyphs, Glyph mark, Work work) + { + int count = glyphs.length; + while(count > 0 && glyphs[count - 1].space()) + { + count--; + } + Leading leading = Leading.of(request); + int last = (request.nominal() - request.floor() + STEP_MILLIPOINTS - 1) / STEP_MILLIPOINTS; + Block block = at(request, leading, request.nominal(), glyphs, count, mark, work); + int step = block.fits() || last == 0 ? last + 1 : first(request, leading, glyphs, count, last, work); + while(step <= last) + { + block = at(request, leading, size(request, step), glyphs, count, mark, work); + step = block.fits() ? last + 1 : step + 1; + } + return (block); + } + + + + /*************************************************************************** + ** The size a number of quarter-point steps below the nominal, which is the + ** floor once the steps reach it. + ***************************************************************************/ + private static int size(Request request, int step) + { + return (Math.max(request.floor(), request.nominal() - step * STEP_MILLIPOINTS)); + } + + + + /*************************************************************************** + ** The answer at one size: the text broken between words if that fits, else + ** broken at any character; and at the floor, when that does not fit either + ** and the request allows it, cut. This is one step of the search of every + ** size, which a test makes in full to hold `fit` to it. + ***************************************************************************/ + static Block at(Request request, Leading leading, int size, Glyph[] glyphs, int count, Glyph mark, Work work) + { + Scale scale = new Scale(size, request.dpi()); + Block words = block(request, leading, scale, lines(request, scale, glyphs, count, true, work), count, count); + if(words.fits()) + { + return (words); + } + Block characters = block(request, leading, scale, lines(request, scale, glyphs, count, false, work), count, count); + return (characters.fits() || size > request.floor() || !request.truncate() ? characters : cut(request, leading, scale, glyphs, mark, characters, work)); + } + + + + /*************************************************************************** + ** The fewest steps below the nominal, from one, at which the text could + ** fit; `last`, the floor, when it could at none above it. No size above the + ** answer fits, because `possible` never refuses a size that fits and, once + ** it allows a size, allows every smaller one. One line at the floor higher + ** than the box settles it for every text without a count. + ***************************************************************************/ + private static int first(Request request, Leading leading, Glyph[] glyphs, int count, int last, Work work) + { + if(leading.height(new Scale(request.floor(), request.dpi()), 1) > request.height()) + { + return (last); + } + int low = 1; + int high = last; + while(low < high) + { + int middle = (low + high) >>> 1; + if(possible(request, leading, new Scale(size(request, middle), request.dpi()), glyphs, count, work)) + { + high = middle; + } + else + { + low = middle + 1; + } + } + return (low); + } + + + + /*************************************************************************** + ** Whether a text could fit at one size, erring only toward yes. Lines are + ** filled at any character, each held to a width no layout of it can be + ** under: its advance to the end of its last character that is not a space, + ** or, when wider, the span of its ink scaled exactly and the allowance at + ** both ends less the one dot two roundings can give back. A line of a real + ** layout, by words or by characters, is never narrower than this, and a + ** line that holds more is never narrower than one that holds less, so no + ** layout has fewer lines than are counted here; and a block is never lower + ** than its lines' ascent, pitches and descent. Every one of these numbers + ** grows with the size, so a yes at one size is a yes at every smaller one. + ***************************************************************************/ + private static boolean possible(Request request, Leading leading, Scale scale, Glyph[] glyphs, int count, Work work) + { + work.spend(count); + int lines = 0; + int index = 0; + while(index < count) + { + lines++; + if(lines > request.maxLines() || leading.height(scale, lines) > request.height()) + { + return (false); + } + int from = index; + long units = 0; + long end = 0; + long reach = Long.MIN_VALUE; + long lead = Long.MAX_VALUE; + while(index < count) + { + Glyph glyph = glyphs[index]; + long after = units + glyph.advance(); + long ended = glyph.space() ? end : after; + long reached = glyph.ink() ? Math.max(reach, units + glyph.right()) : reach; + long led = glyph.ink() ? Math.min(lead, units + glyph.left()) : lead; + int width = Math.max(scale.ceil(ended), reached < led ? 0 : scale.ceil(reached - led) + 2 * SLOP - 1); + if(width > request.width() && index > from) + { + break; + } + if(width > request.width()) + { + return (false); + } + units = after; + end = ended; + reach = reached; + lead = led; + index++; + } + } + return (true); + } + + + + /*************************************************************************** + ** Break a text into lines at one size, between words or at any character. + ** Spaces where a line is broken are dropped. A line is measured twice, to + ** find its end and to box it, and is counted so. + ***************************************************************************/ + private static List lines(Request request, Scale scale, Glyph[] glyphs, int count, boolean words, Work work) + { + List lines = new ArrayList<>(); + int from = 0; + while(from < count) + { + int to = end(request, scale, glyphs, from, count, words); + work.spend(2L * (to - from) + 1); + lines.add(line(scale, glyphs, from, to, null)); + from = to; + while(from < count && glyphs[from].space()) + { + from++; + } + } + return (lines); + } + + + + /*************************************************************************** + ** Where the line that starts at `from` ends: after the last word, or the + ** last character, that still fits the width. The first one is taken even + ** when it is too wide, so the line is then wider than the box and the + ** layout does not fit. Broken at any character, a line may end after a + ** space, which takes no room; so spaces at the start of a text cannot push + ** its first letter out of the box. + ***************************************************************************/ + private static int end(Request request, Scale scale, Glyph[] glyphs, int from, int count, boolean words) + { + Extent extent = new Extent(scale); + int accepted = from; + for(int index = from; index < count; index++) + { + extent.add(glyphs[index]); + if(!words || (!glyphs[index].space() && (index + 1 == count || glyphs[index + 1].space()))) + { + boolean wide = extent.width() > request.width(); + if(wide && accepted > from) + { + return (accepted); + } + accepted = index + 1; + if(wide) + { + return (accepted); + } + } + } + return (accepted); + } + + + + /*************************************************************************** + ** Measure one line, with the ellipsis after it when one is given. + ***************************************************************************/ + private static Line line(Scale scale, Glyph[] glyphs, int from, int to, Glyph mark) + { + Extent extent = new Extent(scale); + for(int index = from; index < to; index++) + { + extent.add(glyphs[index]); + } + if(mark != null) + { + extent.add(mark); + } + return (new Line(from, to, mark != null, extent.left, extent.right, extent.above, extent.below)); + } + + + + /*************************************************************************** + ** Stack lines into a block and hold it against the box. A line reserves the + ** face's ascent above its baseline and its descent below; the block grows + ** where the ink of a line reaches further. + ***************************************************************************/ + private static Block block(Request request, Leading leading, Scale scale, List lines, int characters, int shown) + { + if(lines.isEmpty()) + { + return (new Block(scale.milliPoints(), lines, 0, 0, 0, 0, characters, shown, true)); + } + int ascent = scale.ceil(leading.ascent()); + int pitch = leading.pitch(scale); + int top = 0; + int bottom = leading.height(scale, lines.size()); + int width = 0; + for(int index = 0; index < lines.size(); index++) + { + Line line = lines.get(index); + int baseline = ascent + index * pitch; + top = Math.min(top, baseline - line.above()); + bottom = Math.max(bottom, baseline + line.below()); + width = Math.max(width, line.width()); + } + boolean fits = lines.size() <= request.maxLines() && width <= request.width() && bottom - top <= request.height(); + return (new Block(scale.milliPoints(), lines, width, bottom - top, ascent - top, pitch, characters, shown, fits)); + } + + + + /*************************************************************************** + ** Cut a text that fits at no size: keep as many lines as the box holds, and + ** end the last of them with the ellipsis after as many of its characters as + ** still fit with it, down to the ellipsis alone. Something is always left + ** out, so the ellipsis always stands for text, and spaces before it are + ** dropped. When not even the ellipsis fits, the answer is the refusal that + ** was passed in. A box lower than a number of lines holds no cut of that + ** many, which is known without trying; so one lower than a single line + ** holds no ellipsis at all. + ***************************************************************************/ + private static Block cut(Request request, Leading leading, Scale scale, Glyph[] glyphs, Glyph mark, Block refused, Work work) + { + int all = refused.lines().size(); + int most = Math.min(request.maxLines(), all); + while(most > 0 && leading.height(scale, most) > request.height()) + { + most--; + } + for(int kept = most; kept > 0; kept--) + { + List lines = new ArrayList<>(refused.lines().subList(0, kept)); + int from = lines.get(kept - 1).from(); + for(int to = lines.get(kept - 1).to() - (kept == all ? 1 : 0); to >= from; to--) + { + if(to > from && glyphs[to - 1].space()) + { + continue; + } + work.spend(to - from + 1L + kept); + lines.set(kept - 1, line(scale, glyphs, from, to, mark)); + Block block = block(request, leading, scale, lines, refused.characters(), to); + if(block.fits()) + { + return (block); + } + } + } + return (refused); + } +} diff --git a/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextRaster.java b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextRaster.java new file mode 100644 index 0000000..d3664ff --- /dev/null +++ b/renderer/src/main/java/com/kingsrook/qbits/renderer/scene2/text/TextRaster.java @@ -0,0 +1,291 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.awt.Color; +import java.awt.Font; +import java.awt.Graphics2D; +import java.awt.Rectangle; +import java.awt.RenderingHints; +import java.awt.font.GlyphVector; +import java.awt.image.BufferedImage; +import java.awt.image.DataBufferByte; +import java.util.BitSet; +import com.kingsrook.qbits.renderer.scene2.Canvas; +import com.kingsrook.qbits.renderer.scene2.Frame; +import com.kingsrook.qbits.renderer.scene2.Layout; +import com.kingsrook.qbits.renderer.scene2.Placement; + + +/******************************************************************************* + ** Draws a fitted text onto the label. Each glyph is drawn antialiased at the + ** whole-dot pen position the fit decided, by the same Java rasteriser version 1 + ** raster text uses, and a dot is ink when its grey is darker than the + ** element's threshold, so a higher threshold prints heavier. + ** + ** A line is drawn on a strip: its measured box and a guard of `GUARD` dots all + ** round. Ink found in the guard, or a glyph whose bitmap the runtime places + ** anywhere outside the measured box, means the measurement was wrong. Such + ** ink is never clipped away and never printed outside the box, and a text is + ** never printed in part: the dots of a text are gathered first and reach the + ** label only when none strayed. What strayed is counted (`Stray`), for the + ** element to be refused by name. + ** + ** A strip of more than `BAND_DOTS` dots (very large type) is drawn in bands of + ** whole rows, so one line never needs more grey than that. Where the bands + ** fall depends only on the box of the line, so the picture is the same on + ** every machine; the rasteriser may shade an edge dot at the border of a band + ** differently than it would in one piece. + *******************************************************************************/ +final class TextRaster +{ + static final int GUARD = 2; + static final int BAND_DOTS = 1 << 23; + ///////////////////////////////////////////////////////////////////////////////////////////////// + // what drawing counts against the work of a scene, in characters visited while fitting, // + // which take about 15 ns each. A glyph the runtime has not drawn at a size is rasterised // + // once, in 20 to 50 microseconds; after that, asking for it and for where its bitmap // + // falls takes about a quarter of a microsecond // + ///////////////////////////////////////////////////////////////////////////////////////////////// + static final int GLYPH_STEPS = 4096; + static final int PEN_STEPS = 16; + + + + /*************************************************************************** + ** Utility class. + ***************************************************************************/ + private TextRaster() + { + } + + + + /*************************************************************************** + ** What to draw and how: the face, the text, its fitted block, where lines + ** sit across the block, the clockwise rotation, the grey below which a dot + ** is ink, and whether the dots are ink or (for reverse text) cleared from + ** the element's box filled black. + ***************************************************************************/ + record Drawing(Face face, String text, TextFit.Block block, Placement.Align align, Placement.Valign valign, int rotation, int threshold, boolean ink) + { + } + + + + /*************************************************************************** + ** What the rasteriser put outside the measure: glyphs whose bitmap is not + ** wholly inside the box of their line, and dots of ink found in the guard + ** round a line or outside the element's box. + ***************************************************************************/ + record Stray(int glyphs, int dots) + { + /************************************************************************ + ** Whether anything strayed. + ************************************************************************/ + boolean any() + { + return (glyphs > 0 || dots > 0); + } + } + + + + /*************************************************************************** + ** How many glyphs of a fitted text the runtime would place outside the box + ** measured for their line at this resolution, without drawing any: what + ** can be known of a text when a scene is only validated. + ***************************************************************************/ + static int outside(Drawing drawing, int dpi) + { + TextFit.Scale scale = new TextFit.Scale(drawing.block().milliPoints(), dpi); + Font font = drawing.face().font(scale.size()); + int outside = 0; + for(TextFit.Line line : drawing.block().lines()) + { + outside += glyphs(drawing, scale, font, line, null, 0); + } + return (outside); + } + + + + /*************************************************************************** + ** Draw into the element's box, which is given as it appears on the label: + ** a text turned a quarter reads along the box's height. The answer is what + ** strayed; when anything did, the label is left as it was. + ***************************************************************************/ + static Stray paint(Canvas canvas, Frame frame, Drawing drawing, int bandDots) + { + TextFit.Block block = drawing.block(); + boolean upright = drawing.rotation() % 180 == 0; + Frame reading = new Frame(0, 0, upright ? frame.width() : frame.height(), upright ? frame.height() : frame.width()); + Frame content = Layout.align(reading, block.width(), block.height(), drawing.align(), drawing.valign()); + TextFit.Scale scale = new TextFit.Scale(block.milliPoints(), canvas.dpi()); + Font font = drawing.face().font(scale.size()); + BitSet ink = new BitSet(); + int glyphs = 0; + int dots = 0; + for(int index = 0; index < block.lines().size(); index++) + { + TextFit.Line line = block.lines().get(index); + int left = content.x() + drawing.align().position().place(block.width(), line.width(), 0); + int top = content.y() + block.baseline() + index * block.pitch() - line.above(); + Stray stray = strip(ink, reading, drawing, scale, font, line, left, top, bandDots); + glyphs += stray.glyphs(); + dots += stray.dots(); + } + Stray stray = new Stray(glyphs, dots); + if(!stray.any()) + { + if(!drawing.ink()) + { + canvas.fill(frame, true); + } + for(int dot = ink.nextSetBit(0); dot >= 0; dot = ink.nextSetBit(dot + 1)) + { + dot(canvas, frame, reading, drawing, dot % reading.width(), dot / reading.width()); + } + } + return (stray); + } + + + + /*************************************************************************** + ** Gather the ink of one line whose box has its top left at `left`, `top` of + ** the reading frame, a band of rows at a time, and count what strayed. + ***************************************************************************/ + private static Stray strip(BitSet ink, Frame reading, Drawing drawing, TextFit.Scale scale, Font font, TextFit.Line line, int left, int top, int bandDots) + { + int width = line.width() + 2 * GUARD; + int height = line.above() + line.below() + 2 * GUARD; + int rows = Math.max(1, bandDots / width); + int glyphs = 0; + int dots = 0; + for(int first = 0; first < height; first += rows) + { + BufferedImage band = new BufferedImage(width, Math.min(rows, height - first), BufferedImage.TYPE_BYTE_GRAY); + Graphics2D graphics = band.createGraphics(); + try + { + graphics.setColor(Color.WHITE); + graphics.fillRect(0, 0, band.getWidth(), band.getHeight()); + graphics.setColor(Color.BLACK); + graphics.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON); + graphics.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON); + graphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); + + ////////////////////////////////////////////////////////////////////////////////// + // ink that fell wholly beyond the guard is clipped by the strip and leaves no // + // dot to find; the bounds of its glyph say so, and they are the same for every // + // band, so those of the first are the count // + ////////////////////////////////////////////////////////////////////////////////// + int beyond = glyphs(drawing, scale, font, line, graphics, first); + glyphs = first == 0 ? beyond : glyphs; + } + finally + { + graphics.dispose(); + } + byte[] grey = ((DataBufferByte) band.getRaster().getDataBuffer()).getData(); + for(int y = 0; y < band.getHeight(); y++) + { + for(int x = 0; x < width; x++) + { + if((grey[y * width + x] & 255) < drawing.threshold()) + { + int row = first + y; + int dotX = left + x - GUARD; + int dotY = top + row - GUARD; + if(x < GUARD || x >= width - GUARD || row < GUARD || row >= height - GUARD || dotX < 0 || dotY < 0 || dotX >= reading.width() || dotY >= reading.height()) + { + dots++; + } + else + { + ink.set(dotY * reading.width() + dotX); + } + } + } + } + } + return (new Stray(glyphs, dots)); + } + + + + /*************************************************************************** + ** The glyphs of one line at their pens on its strip: how many the runtime + ** places outside the line's measured box, drawing each on a band of the + ** strip whose first row is `first` when one is given. + ***************************************************************************/ + private static int glyphs(Drawing drawing, TextFit.Scale scale, Font font, TextFit.Line line, Graphics2D band, int first) + { + int width = line.width() + 2 * GUARD; + int height = line.above() + line.below() + 2 * GUARD; + int outside = 0; + long units = 0; + for(int index = line.from(); index < line.to() + (line.marked() ? 1 : 0); index++) + { + char character = index < line.to() ? drawing.text().charAt(index) : (char) TextFit.MARK; + Face.Glyph glyph = drawing.face().glyph(character); + if(glyph.ink()) + { + GlyphVector vector = font.createGlyphVector(Face.CONTEXT, new char[] {character}); + int pen = GUARD - line.left() + scale.round(units); + Rectangle pixels = vector.getGlyphPixelBounds(0, Face.CONTEXT, pen, GUARD + line.above()); + outside += !pixels.isEmpty() && (pixels.x < GUARD || pixels.y < GUARD || pixels.x + pixels.width > width - GUARD || pixels.y + pixels.height > height - GUARD) ? 1 : 0; + if(band != null) + { + band.drawGlyphVector(vector, pen, GUARD + line.above() - first); + } + } + units += glyph.advance(); + } + return (outside); + } + + + + /*************************************************************************** + ** Put one dot of the reading frame on the label, turned clockwise. + ***************************************************************************/ + private static void dot(Canvas canvas, Frame frame, Frame reading, Drawing drawing, int x, int y) + { + int turnedX = switch(drawing.rotation()) + { + case 90 -> reading.height() - 1 - y; + case 180 -> reading.width() - 1 - x; + case 270 -> y; + default -> x; + }; + int turnedY = switch(drawing.rotation()) + { + case 90 -> x; + case 180 -> reading.height() - 1 - y; + case 270 -> reading.width() - 1 - x; + default -> y; + }; + canvas.set(frame.x() + turnedX, frame.y() + turnedY, drawing.ink()); + } +} diff --git a/renderer/src/main/resources/fonts/SHA256SUMS b/renderer/src/main/resources/fonts/SHA256SUMS new file mode 100644 index 0000000..2aaeee6 --- /dev/null +++ b/renderer/src/main/resources/fonts/SHA256SUMS @@ -0,0 +1,8 @@ +9e6c74a889a700d707613d24548fe4ffa6bc59559a0689d2cf9e133bdcdafb2f ibm-plex-sans/IBMPlexSans-Bold.ttf +975dcda37d80f038dcd143c22e33ca2d97a0cc5a929aace1c749153b0fe1afa5 ibm-plex-sans/IBMPlexSans-Regular.ttf +7e6b2818edbd8f6a01ae80641cc8f16a51080d08fb4e532be3a0b6f74adb07da ibm-plex-sans/LICENSE.txt +723e245902b45a49f8cf602d15891bae08c31309dce7c56d209d10cd471b88c7 ibm-plex-sans-condensed/IBMPlexSansCondensed-Bold.ttf +7e6b2818edbd8f6a01ae80641cc8f16a51080d08fb4e532be3a0b6f74adb07da ibm-plex-sans-condensed/LICENSE.txt +5590990c82e097397517f275f430af4546e1c45cff408bde4255dad142479dcb jetbrains-mono/JetBrainsMono-Bold.ttf +a0bf60ef0f83c5ed4d7a75d45838548b1f6873372dfac88f71804491898d138f jetbrains-mono/JetBrainsMono-Regular.ttf +30f0c136e3c88e422d0791acd97238870f9054a9729bc34cf2ff0d4ed8cac4ad jetbrains-mono/OFL.txt diff --git a/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/IBMPlexSansCondensed-Bold.ttf b/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/IBMPlexSansCondensed-Bold.ttf new file mode 100644 index 0000000..7cd6f34 Binary files /dev/null and b/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/IBMPlexSansCondensed-Bold.ttf differ diff --git a/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/LICENSE.txt b/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/LICENSE.txt new file mode 100644 index 0000000..c35c4c6 --- /dev/null +++ b/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/LICENSE.txt @@ -0,0 +1,93 @@ +Copyright © 2017 IBM Corp. with Reserved Font Name "Plex" + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/SOURCE.md b/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/SOURCE.md new file mode 100644 index 0000000..0a82a4c --- /dev/null +++ b/renderer/src/main/resources/fonts/ibm-plex-sans-condensed/SOURCE.md @@ -0,0 +1,23 @@ +# IBM Plex Sans Condensed (Bold) + +An unmodified file from the official release of the IBM Plex project, retrieved 2026-11-12. + +| | | +| --- | --- | +| Project | https://github.com/IBM/plex | +| Release | `@ibm/plex-sans-condensed@2.0.0` | +| Archive | https://github.com/IBM/plex/releases/download/%40ibm/plex-sans-condensed%402.0.0/ibm-plex-sans-condensed.zip | +| Archive SHA-256 | `f86ba73abbeed7cf7690ead863192a87211dfc2b0cef0ac6bf4700533ec5ab9e` | +| Licence | SIL Open Font License 1.1, `LICENSE.txt` in this directory (the archive's `ibm-plex-sans-condensed/LICENSE.txt`, byte for byte) | +| Reserved Font Name | "Plex" (the file is not modified and not renamed) | + +| File here | Path in the archive | Font version (name table) | SHA-256 | +| --- | --- | --- | --- | +| `IBMPlexSansCondensed-Bold.ttf` | `ibm-plex-sans-condensed/fonts/complete/ttf/IBMPlexSansCondensed-Bold.ttf` | Version 3.000 | `723e245902b45a49f8cf602d15891bae08c31309dce7c56d209d10cd471b88c7` | +| `LICENSE.txt` | `ibm-plex-sans-condensed/LICENSE.txt` | | `7e6b2818edbd8f6a01ae80641cc8f16a51080d08fb4e532be3a0b6f74adb07da` | + +The licence was confirmed from the release archive itself: its `LICENSE.txt` states "This Font Software is +licensed under the SIL Open Font License, Version 1.1" and carries the full text; the licence field of the +font's name table says the same, and the font's embedding bits (`OS/2.fsType`) are 0, installable embedding. + +Scene name: `qqq-condensed-bold`. diff --git a/renderer/src/main/resources/fonts/ibm-plex-sans/IBMPlexSans-Bold.ttf b/renderer/src/main/resources/fonts/ibm-plex-sans/IBMPlexSans-Bold.ttf new file mode 100644 index 0000000..1d66b1a Binary files /dev/null and b/renderer/src/main/resources/fonts/ibm-plex-sans/IBMPlexSans-Bold.ttf differ diff --git a/renderer/src/main/resources/fonts/ibm-plex-sans/IBMPlexSans-Regular.ttf b/renderer/src/main/resources/fonts/ibm-plex-sans/IBMPlexSans-Regular.ttf new file mode 100644 index 0000000..bd6817d Binary files /dev/null and b/renderer/src/main/resources/fonts/ibm-plex-sans/IBMPlexSans-Regular.ttf differ diff --git a/renderer/src/main/resources/fonts/ibm-plex-sans/LICENSE.txt b/renderer/src/main/resources/fonts/ibm-plex-sans/LICENSE.txt new file mode 100644 index 0000000..c35c4c6 --- /dev/null +++ b/renderer/src/main/resources/fonts/ibm-plex-sans/LICENSE.txt @@ -0,0 +1,93 @@ +Copyright © 2017 IBM Corp. with Reserved Font Name "Plex" + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/renderer/src/main/resources/fonts/ibm-plex-sans/SOURCE.md b/renderer/src/main/resources/fonts/ibm-plex-sans/SOURCE.md new file mode 100644 index 0000000..dcb880a --- /dev/null +++ b/renderer/src/main/resources/fonts/ibm-plex-sans/SOURCE.md @@ -0,0 +1,24 @@ +# IBM Plex Sans (Regular, Bold) + +Unmodified files from the official release of the IBM Plex project, retrieved 2026-11-12. + +| | | +| --- | --- | +| Project | https://github.com/IBM/plex | +| Release | `@ibm/plex-sans@1.1.0` | +| Archive | https://github.com/IBM/plex/releases/download/%40ibm/plex-sans%401.1.0/ibm-plex-sans.zip | +| Archive SHA-256 | `fb365d910566e6d199cc2c15579a7dd9a267128e18431a394ed81f1970c69200` | +| Licence | SIL Open Font License 1.1, `LICENSE.txt` in this directory (the archive's `ibm-plex-sans/LICENSE.txt`, byte for byte) | +| Reserved Font Name | "Plex" (the files are not modified and not renamed) | + +| File here | Path in the archive | Font version (name table) | SHA-256 | +| --- | --- | --- | --- | +| `IBMPlexSans-Regular.ttf` | `ibm-plex-sans/fonts/complete/ttf/IBMPlexSans-Regular.ttf` | Version 3.005 | `975dcda37d80f038dcd143c22e33ca2d97a0cc5a929aace1c749153b0fe1afa5` | +| `IBMPlexSans-Bold.ttf` | `ibm-plex-sans/fonts/complete/ttf/IBMPlexSans-Bold.ttf` | Version 3.005 | `9e6c74a889a700d707613d24548fe4ffa6bc59559a0689d2cf9e133bdcdafb2f` | +| `LICENSE.txt` | `ibm-plex-sans/LICENSE.txt` | | `7e6b2818edbd8f6a01ae80641cc8f16a51080d08fb4e532be3a0b6f74adb07da` | + +The licence was confirmed from the release archive itself: its `LICENSE.txt` states "This Font Software is +licensed under the SIL Open Font License, Version 1.1" and carries the full text; the licence field of each +font's name table says the same, and each font's embedding bits (`OS/2.fsType`) are 0, installable embedding. + +Scene names: `qqq-sans` (Regular), `qqq-sans-bold` (Bold). diff --git a/renderer/src/main/resources/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf b/renderer/src/main/resources/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf new file mode 100644 index 0000000..8c93043 Binary files /dev/null and b/renderer/src/main/resources/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf differ diff --git a/renderer/src/main/resources/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf b/renderer/src/main/resources/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf new file mode 100644 index 0000000..dff66cc Binary files /dev/null and b/renderer/src/main/resources/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf differ diff --git a/renderer/src/main/resources/fonts/jetbrains-mono/OFL.txt b/renderer/src/main/resources/fonts/jetbrains-mono/OFL.txt new file mode 100644 index 0000000..8bee414 --- /dev/null +++ b/renderer/src/main/resources/fonts/jetbrains-mono/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/renderer/src/main/resources/fonts/jetbrains-mono/SOURCE.md b/renderer/src/main/resources/fonts/jetbrains-mono/SOURCE.md new file mode 100644 index 0000000..4b2aaee --- /dev/null +++ b/renderer/src/main/resources/fonts/jetbrains-mono/SOURCE.md @@ -0,0 +1,24 @@ +# JetBrains Mono (Regular, Bold) + +Unmodified files from the official release of the JetBrains Mono project, retrieved 2026-11-12. + +| | | +| --- | --- | +| Project | https://github.com/JetBrains/JetBrainsMono | +| Release | `v2.304` | +| Archive | https://github.com/JetBrains/JetBrainsMono/releases/download/v2.304/JetBrainsMono-2.304.zip | +| Archive SHA-256 | `6f6376c6ed2960ea8a963cd7387ec9d76e3f629125bc33d1fdcd7eb7012f7bbf` | +| Licence | SIL Open Font License 1.1, `OFL.txt` in this directory (the archive's `OFL.txt`, byte for byte) | +| Reserved Font Name | none declared | + +| File here | Path in the archive | Font version (name table) | SHA-256 | +| --- | --- | --- | --- | +| `JetBrainsMono-Regular.ttf` | `fonts/ttf/JetBrainsMono-Regular.ttf` | Version 2.304; ttfautohint (v1.8.4.7-5d5b) | `a0bf60ef0f83c5ed4d7a75d45838548b1f6873372dfac88f71804491898d138f` | +| `JetBrainsMono-Bold.ttf` | `fonts/ttf/JetBrainsMono-Bold.ttf` | Version 2.304; ttfautohint (v1.8.4.7-5d5b) | `5590990c82e097397517f275f430af4546e1c45cff408bde4255dad142479dcb` | +| `OFL.txt` | `OFL.txt` | | `30f0c136e3c88e422d0791acd97238870f9054a9729bc34cf2ff0d4ed8cac4ad` | + +The licence was confirmed from the release archive itself: its `OFL.txt` states "This Font Software is +licensed under the SIL Open Font License, Version 1.1" and carries the full text; the licence field of each +font's name table says the same, and each font's embedding bits (`OS/2.fsType`) are 0, installable embedding. + +Scene names: `qqq-mono` (Regular), `qqq-mono-bold` (Bold). diff --git a/renderer/src/test/java/com/kingsrook/qbits/renderer/MutationCampaignTest.java b/renderer/src/test/java/com/kingsrook/qbits/renderer/MutationCampaignTest.java index 96136b8..81107b0 100644 --- a/renderer/src/test/java/com/kingsrook/qbits/renderer/MutationCampaignTest.java +++ b/renderer/src/test/java/com/kingsrook/qbits/renderer/MutationCampaignTest.java @@ -22,6 +22,8 @@ package com.kingsrook.qbits.renderer; import java.io.InputStream; +import java.math.BigDecimal; +import java.math.RoundingMode; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; @@ -31,6 +33,7 @@ import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; +import java.util.regex.Matcher; import java.util.regex.Pattern; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.exc.StreamConstraintsException; @@ -83,6 +86,8 @@ class MutationCampaignTest private static final Pattern LENGTH = Pattern.compile("-?[0-9]{1,5}(\\.[0-9]{1,3})?(mm|in|pt|%|dot)"); private static final Pattern ELEMENT_ID = Pattern.compile("[A-Za-z][A-Za-z0-9_-]{0,31}"); + private static final Pattern TYPE_SIZE = Pattern.compile("([0-9]{1,5}(?:\\.[0-9]{1,3})?)(mm|in|pt)"); + private static final Set FACES = Set.of("qqq-sans", "qqq-sans-bold", "qqq-condensed-bold", "qqq-mono", "qqq-mono-bold"); @@ -305,13 +310,15 @@ class MutationCampaignTest ** second parser, either a version 1 scene (as above) or a version 2 scene ** that keeps every rule this checks on its own: only the declared top-level ** properties, a physical design size, at most 1000 elements with unique ids - ** of the fixed pattern, only boxes and groups (the types this renderer - ** draws), groups at most four deep, every length a number and a unit, and + ** of the fixed pattern, only boxes, groups and text (the types this renderer + ** draws), groups at most four deep, every length a number and a unit, every + ** text in a bundled face at a physical size with one value and only + ** documented fit, length and legibility settings at each resolution, and ** overrides only for the three resolutions and for declared ids. About one ** version 2 input in four is rendered instead of validated: its label must ** then be the commands and graphic fields a version 2 label is made of, with ** no ink outside the printable area, and validation must give the same - ** answer. Every other input is refused with a `Refusal`, which carries a + ** answer (but for a text bound to the record, which has no value here). Every other input is refused with a `Refusal`, which carries a ** diagnostic (or, for a version 1 source, with that parser's own refusal). ** Any other exception, an `IllegalArgumentException` of the package's own ** invariants among them, is a finding. @@ -320,7 +327,7 @@ class MutationCampaignTest void theVersionTwoSceneParserAcceptsOnlyVersionTwoScenes() throws Exception { List corpus = new ArrayList<>(); - for(String name : List.of("anchors", "rules", "groups")) + for(String name : List.of("anchors", "rules", "groups", "text-faces", "text-fit", "text-turned")) { try(InputStream stream = MutationCampaignTest.class.getResourceAsStream("/scene2/cases/" + name + ".json")) { @@ -329,6 +336,8 @@ class MutationCampaignTest } MutationCampaign campaign = new MutationCampaign(corpus, List.of("\"schema\"", "\"qqq-zpl-scene/2\"", "\"qqq-zpl-scene/1\"", "\"design\"", "\"elements\"", "\"overrides\"", "\"when\"", "\"dpi\"", "\"set\"", "\"children\"", "\"group\"", "\"box\"", "\"text\"", "\"barcode\"", "\"image\"", "\"id\"", "\"type\"", "\"anchor\"", "\"thickness\"", "\"fill\"", "\"rotation\"", "\"center\"", "true", "false", "null", + "\"defaults\"", "\"font\"", "\"size\"", "\"value\"", "\"valuePath\"", "\"lineHeight\"", "\"fit\"", "\"maxLines\"", "\"shrinkTo\"", "\"overflow\"", "\"truncate\"", "\"refuse\"", "\"maxLength\"", "\"threshold\"", + "\"reverse\"", "\"qqq-sans\"", "\"qqq-mono-bold\"", "\"qqq-\"", "\"/record/name\"", "90", "180", "270", "1000pt", "0.5", "1e400", "\\u0301", "\\t", "\\uD83D", "mm", "in", "pt", "%", "dot", "-", ".", "203", "300", "600", "99999999999", "4294967499", "{", "}", "[", "]", ":", ",", "\\u0000")); int iterations = MutationCampaign.iterations(ITERATIONS); for(long seed : MutationCampaign.seeds(SEEDS)) @@ -406,7 +415,12 @@ class MutationCampaignTest } catch(Refusal refusal) { - if(render) + /////////////////////////////////////////////////////////////////////////////////////// + // a text bound to the record has no value here, since the campaign's record is // + // empty: that is the one refusal a render gives that validation, which reads no // + // record, cannot // + /////////////////////////////////////////////////////////////////////////////////////// + if(render && !"VALUE_MISSING".equals(refusal.diagnostic().code())) { Refusal validated = assertThrows(Refusal.class, () -> RendererMain.process(SceneFixture.request("VALIDATE", stock, source)), "refused to render what validation accepts"); assertEquals(refusal.diagnostic().wire(), validated.diagnostic().wire()); @@ -436,7 +450,7 @@ class MutationCampaignTest assertTrue(length != null && LENGTH.matcher(length).matches() && !length.startsWith("-") && !length.endsWith("%") && !length.endsWith("dot"), () -> "accepted design " + side + " " + length); } Set ids = new HashSet<>(); - assertVersionTwoElements(accepted.path("elements"), 1, ids); + assertVersionTwoElements(accepted.path("elements"), 1, ids, accepted); assertTrue(ids.size() <= 1000, () -> "accepted " + ids.size() + " elements"); for(JsonNode override : accepted.path("overrides")) { @@ -451,7 +465,7 @@ class MutationCampaignTest /*************************************************************************** ** The independent reading of a version 2 element list. ***************************************************************************/ - private static void assertVersionTwoElements(JsonNode elements, int depth, Set ids) + private static void assertVersionTwoElements(JsonNode elements, int depth, Set ids, JsonNode scene) { assertTrue(elements.isArray(), "accepted elements that are not a list"); for(JsonNode element : elements) @@ -459,23 +473,109 @@ class MutationCampaignTest String id = element.path("id").textValue(); assertTrue(id != null && ELEMENT_ID.matcher(id).matches() && ids.add(id), () -> "accepted element id " + element.path("id")); String type = element.path("type").textValue(); - assertTrue("box".equals(type) || "group".equals(type), () -> "accepted element type " + element.path("type")); + assertTrue("box".equals(type) || "group".equals(type) || "text".equals(type), () -> "accepted element type " + element.path("type")); for(String name : List.of("x", "y", "width", "height", "thickness")) { assertTrue(!element.has(name) || (element.get(name).isTextual() && LENGTH.matcher(element.get(name).textValue()).matches()), () -> "accepted " + name + " " + element.get(name)); } Set allowed = "box".equals(type) ? Set.of("id", "type", "anchor", "x", "y", "width", "height", "align", "valign", "thickness", "fill") + : "text".equals(type) ? Set.of("id", "type", "anchor", "x", "y", "width", "height", "align", "valign", "value", "valuePath", "font", "size", "lineHeight", "fit", "maxLength", "threshold", "reverse", "rotation") : Set.of("id", "type", "anchor", "x", "y", "width", "height", "align", "valign", "children"); element.fieldNames().forEachRemaining(name -> assertTrue(allowed.contains(name), () -> "accepted " + type + " property " + name)); if("group".equals(type)) { assertTrue(depth <= 4, "accepted groups more than four deep"); - assertVersionTwoElements(element.path("children"), depth + 1, ids); + assertVersionTwoElements(element.path("children"), depth + 1, ids, scene); + } + if("text".equals(type)) + { + assertVersionTwoText(element, scene); } } } + + /*************************************************************************** + ** The independent reading of an accepted text element, as it stands at each + ** resolution: the scene's defaults, then the element, then the overrides + ** for that resolution in order. It names a bundled face, has a physical + ** size from 1 to 1000 pt, exactly one of a literal and a pointer into the + ** record, and only fit, length, threshold, rotation, reverse and line + ** height values of the documented kinds and ranges. + ***************************************************************************/ + private static void assertVersionTwoText(JsonNode element, JsonNode scene) + { + for(int dpi : List.of(203, 300, 600)) + { + ObjectNode stated = INDEPENDENT.createObjectNode(); + scene.path("defaults").properties().forEach(property -> stated.set(property.getKey(), property.getValue())); + element.properties().forEach(property -> stated.set(property.getKey(), property.getValue())); + for(JsonNode override : scene.path("overrides")) + { + boolean applies = false; + for(JsonNode resolution : override.path("when").path("dpi")) + { + applies |= resolution.intValue() == dpi; + } + if(applies) + { + override.path("set").path(element.path("id").textValue()).properties().forEach(property -> stated.set(property.getKey(), property.getValue())); + } + } + String about = "accepted text " + element.path("id") + " at " + dpi + " dpi with "; + assertTrue(stated.path("font").isTextual() && FACES.contains(stated.path("font").textValue()), () -> about + "font " + stated.path("font")); + assertTrue(typeSize(stated.path("size"), 1, 1000), () -> about + "size " + stated.path("size")); + assertTrue(stated.has("value") != stated.has("valuePath"), () -> about + "both or neither of value and valuePath"); + assertTrue(!stated.has("value") || (stated.get("value").isTextual() && stated.get("value").textValue().codePointCount(0, stated.get("value").textValue().length()) <= 1024), () -> about + "a value that is not text"); + assertTrue(!stated.has("valuePath") || (stated.get("valuePath").isTextual() && stated.get("valuePath").textValue().startsWith("/")), () -> about + "valuePath " + stated.path("valuePath")); + JsonNode fit = stated.path("fit"); + assertTrue(fit.isMissingNode() || fit.isObject(), () -> about + "fit " + fit); + fit.fieldNames().forEachRemaining(name -> assertTrue(Set.of("maxLines", "shrinkTo", "overflow").contains(name), () -> about + "fit property " + name)); + assertTrue(whole(fit.path("maxLines"), 1, 64) && whole(stated.path("threshold"), 1, 254) && whole(stated.path("maxLength"), 1, 1024), () -> about + "a count out of range"); + assertTrue(fit.path("shrinkTo").isMissingNode() || typeSize(fit.path("shrinkTo"), 1, 1000), () -> about + "shrinkTo " + fit.path("shrinkTo")); + assertTrue(fit.path("overflow").isMissingNode() || Set.of("refuse", "truncate").contains(String.valueOf(fit.path("overflow").textValue())), () -> about + "overflow " + fit.path("overflow")); + assertTrue(stated.path("rotation").isMissingNode() || (stated.path("rotation").isInt() && Set.of(0, 90, 180, 270).contains(stated.path("rotation").intValue())), () -> about + "rotation " + stated.path("rotation")); + assertTrue(stated.path("reverse").isMissingNode() || stated.path("reverse").isBoolean(), () -> about + "reverse " + stated.path("reverse")); + JsonNode lineHeight = stated.path("lineHeight"); + assertTrue(lineHeight.isMissingNode() || (lineHeight.isNumber() && lineHeight.doubleValue() >= 0.5 && lineHeight.doubleValue() <= 5), () -> about + "lineHeight " + lineHeight); + } + } + + + + /*************************************************************************** + ** Whether a value is absent or a whole number in a range. + ***************************************************************************/ + private static boolean whole(JsonNode value, int minimum, int maximum) + { + return (value.isMissingNode() || (value.isInt() && value.intValue() >= minimum && value.intValue() <= maximum)); + } + + + + /*************************************************************************** + ** Whether a value is a type size: an unsigned physical length between two + ** numbers of points, by decimal arithmetic with a hair of tolerance for the + ** renderer's rounding to thousandths of a point. + ***************************************************************************/ + private static boolean typeSize(JsonNode value, int minimum, int maximum) + { + Matcher matcher = TYPE_SIZE.matcher(value.isTextual() ? value.textValue() : ""); + if(!matcher.matches()) + { + return (false); + } + BigDecimal points = new BigDecimal(matcher.group(1)).multiply(switch(matcher.group(2)) + { + case "in" -> BigDecimal.valueOf(72); + case "mm" -> BigDecimal.valueOf(72).divide(new BigDecimal("25.4"), 12, RoundingMode.HALF_EVEN); + default -> BigDecimal.ONE; + }); + return (points.compareTo(new BigDecimal(minimum).subtract(new BigDecimal("0.001"))) >= 0 && points.compareTo(new BigDecimal(maximum).add(new BigDecimal("0.001"))) <= 0); + } + + /*************************************************************************** ** The target: static validation of one scene on a stock all corpus scenes fit. ***************************************************************************/ diff --git a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/Scene2Test.java b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/Scene2Test.java index 96363dc..4af86c4 100644 --- a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/Scene2Test.java +++ b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/Scene2Test.java @@ -508,9 +508,10 @@ class Scene2Test /*************************************************************************** - ** Text, barcodes and images are parsed and placed by this renderer and then + ** Barcodes and images are parsed and placed by this renderer and then ** refused by name, with the box they would have had. The design's own - ** example scene is the case. + ** example scene is the case: its barcode is refused, and its caption, a text + ** bound to the record, is refused for the value the empty record lacks. ***************************************************************************/ @Test void anElementThisRendererCannotDrawIsRefusedByName() throws Exception @@ -523,7 +524,7 @@ class Scene2Test + "\"align\":\"center\",\"valign\":\"middle\",\"size\":\"11pt\",\"maxLength\":48,\"fit\":{\"maxLines\":2,\"shrinkTo\":\"7pt\",\"overflow\":\"refuse\"}}]," + "\"overrides\":[{\"when\":{\"dpi\":[203]},\"set\":{\"caption\":{\"threshold\":144}}}]}"; Map code = Map.of("code", "RENDERER_TOO_OLD", "severity", "ERROR", "element", "code", "box", List.of(6, 4, 751, 87)); - Map caption = Map.of("code", "RENDERER_TOO_OLD", "severity", "ERROR", "element", "caption", "box", List.of(6, 100, 751, 51)); + Map caption = Map.of("code", "VALUE_MISSING", "severity", "ERROR", "element", "caption", "box", List.of(6, 100, 751, 51)); assertEquals(code, refused(example)); assertEquals(code, SceneFixture.refusal(() -> RendererMain.process(SceneFixture.request("RENDER", example)))); @@ -539,10 +540,10 @@ class Scene2Test assertEquals(invalid("logo", "/elements/0/rotation"), refusedElements("{\"id\":\"logo\",\"type\":\"image\",\"asset\":\"logo\",\"rotation\":" + rotation + "}"), rotation); } assertEquals(Map.of("code", "SCENE_INVALID", "severity", "ERROR", "element", "t", "pointer", "/elements/0", "measured", Map.of("unknownProperties", 1), "limit", Map.of("unknownProperties", 0)), - refusedElements("{\"id\":\"t\",\"type\":\"text\",\"value\":\"TEST-0001\",\"symbology\":\"qr\"}")); + refusedElements("{\"id\":\"t\",\"type\":\"text\",\"value\":\"TEST-0001\",\"font\":\"qqq-sans\",\"size\":\"9pt\",\"symbology\":\"qr\"}")); assertEquals(Map.of("code", "SCENE_INVALID", "severity", "ERROR", "element", "t", "pointer", "/elements/0", "measured", Map.of("widthDots", 0, "heightDots", 155), "limit", Map.of("widthDots", 1, "heightDots", 1)), - refusedElements("{\"id\":\"t\",\"type\":\"text\",\"value\":\"TEST-0001\",\"width\":\"0.1mm\"}")); + refusedElements("{\"id\":\"t\",\"type\":\"text\",\"value\":\"TEST-0001\",\"font\":\"qqq-sans\",\"size\":\"9pt\",\"width\":\"0.1mm\"}")); Diagnostics diagnostics = new Diagnostics(false); diagnostics.declare("t", "/elements/0"); @@ -554,7 +555,7 @@ class Scene2Test assertEquals(144, source.value("threshold").intValue()); assertNull(source.value("size")); assertEquals(new Placement(Placement.Anchor.TOP_LEFT, Length.ZERO, Length.ZERO, null, null, Placement.Align.LEFT, Placement.Valign.TOP), source.placement()); - SceneElement placeholder = ElementFactory.FACTORIES.get("text").create(source); + SceneElement placeholder = ElementFactory.FACTORIES.get("image").create(source); assertEquals("t", placeholder.id()); assertEquals(List.of(), placeholder.children()); assertEquals(Map.of("code", "RENDERER_TOO_OLD", "severity", "ERROR", "element", "t", "box", List.of(1, 2, 3, 4)), @@ -574,8 +575,8 @@ class Scene2Test { String source = SceneFixture.scene("{\"id\":\"good\",\"type\":\"box\",\"x\":\"5dot\",\"width\":\"16dot\",\"height\":\"4dot\",\"fill\":true}," + "{\"id\":\"wide\",\"type\":\"box\",\"x\":\"90mm\",\"width\":\"10mm\",\"height\":\"5mm\",\"thickness\":\"1pt\"}," - + "{\"id\":\"g\",\"type\":\"group\",\"width\":\"0.1mm\",\"children\":[{\"id\":\"unseen\",\"type\":\"text\",\"value\":\"TEST-0001\"}]}," - + "{\"id\":\"words\",\"type\":\"text\",\"value\":\"TEST-0001\",\"y\":\"10mm\",\"height\":\"5mm\"}," + + "{\"id\":\"g\",\"type\":\"group\",\"width\":\"0.1mm\",\"children\":[{\"id\":\"unseen\",\"type\":\"barcode\",\"value\":\"TEST-0001\"}]}," + + "{\"id\":\"words\",\"type\":\"barcode\",\"value\":\"TEST-0001\",\"y\":\"10mm\",\"height\":\"5mm\"}," + "{\"id\":\"also\",\"type\":\"box\",\"anchor\":\"bottom-left\",\"width\":\"8dot\",\"height\":\"2dot\",\"fill\":true}"); List> expected = List.of( Map.of("code", "DEVICE_UNIT_USED", "severity", "WARNING", "element", "good", "pointer", "/elements/0/x"), diff --git a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/SceneGoldenTest.java b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/SceneGoldenTest.java index ff6a480..203aab1 100644 --- a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/SceneGoldenTest.java +++ b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/SceneGoldenTest.java @@ -48,8 +48,14 @@ import static org.junit.jupiter.api.Assertions.fail; ** Golden labels for the layout cases in `scene2/cases`, at 203, 300 and 600 ** dpi. Each case has a picture (the page a printer would draw, compared dot ** for dot) and the exact ZPL. A box is whole dots of pure ink, so both are - ** exact on every machine. A golden changes only with a reviewed change to the - ** layout rules: what this build drew is left in `target/scene2-actual`. + ** exact on every machine. Text is measured by integer arithmetic and drawn + ** by the Java runtime's rasteriser from the bundled faces only; the text + ** goldens were generated on Linux (Temurin 21.0.9, the CI image) and are the + ** same bytes on Windows (Temurin 21.0.12), and they are compared exactly on + ** both. A golden changes only with a reviewed change to the layout rules or + ** the runtime: what this build drew is left in `target/scene2-actual`. The + ** runtimes, and the FreeType each ships, are recorded beside the goldens + ** (`scene2/README.md`). *******************************************************************************/ class SceneGoldenTest { diff --git a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/FaceTest.java b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/FaceTest.java new file mode 100644 index 0000000..4936a97 --- /dev/null +++ b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/FaceTest.java @@ -0,0 +1,311 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.awt.Font; +import java.awt.Rectangle; +import java.io.InputStream; +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HexFormat; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; +import com.kingsrook.qbits.renderer.scene2.Scene2; +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + + +/******************************************************************************* + ** The bundled faces: what ships, under which licence, with which hash, and + ** that the numbers layout relies on are the font files' own. + *******************************************************************************/ +class FaceTest +{ + /*************************************************************************** + ** A resource of the renderer jar, or null. + ***************************************************************************/ + private static byte[] resource(String path) throws Exception + { + try(InputStream stream = Face.class.getResourceAsStream(path)) + { + return (stream == null ? null : stream.readAllBytes()); + } + } + + + + /*************************************************************************** + ** The lowercase hexadecimal SHA-256 of some bytes. + ***************************************************************************/ + private static String sha256(byte[] bytes) throws Exception + { + return (HexFormat.of().formatHex(MessageDigest.getInstance("SHA-256").digest(bytes))); + } + + + + /*************************************************************************** + ** Every character of the Basic Multilingual Plane a face draws. + ***************************************************************************/ + static List drawn(Face face) + { + List drawn = new ArrayList<>(); + for(int codePoint = 0; codePoint <= Character.MAX_VALUE; codePoint++) + { + if(face.draws(codePoint)) + { + drawn.add(codePoint); + } + } + return (drawn); + } + + + + /*************************************************************************** + ** The set is the five faces the design names, by the names it gives them, + ** and no other name is a face. + ***************************************************************************/ + @Test + void theBundledSetIsFiveNamedFaces() + { + assertEquals(List.of("qqq-sans", "qqq-sans-bold", "qqq-condensed-bold", "qqq-mono", "qqq-mono-bold"), Face.all().stream().map(Face::scene).toList()); + assertEquals(List.of(false, true, true, false, true), Face.all().stream().map(Face::bold).toList()); + for(Face face : Face.all()) + { + assertEquals(face, Face.of(face.scene())); + assertTrue(face.scene().startsWith("qqq-"), "a bundled face has the reserved prefix"); + } + for(String other : List.of("", "qqq-", "qqq-serif", "QQQ-SANS", "qqq-sans ", "Abel", "IBM Plex Sans")) + { + assertNull(Face.of(other), other); + } + assertNull(Face.of(null)); + } + + + + /*************************************************************************** + ** Every bundled face ships with its licence text, a provenance note and a + ** hash, and the bytes in the jar are the bytes that were hashed. The build + ** fails when any of the three is missing or a file changes. + ***************************************************************************/ + @Test + void everyBundledFaceHasItsLicenceProvenanceAndAMatchingHash() throws Exception + { + Map sums = new HashMap<>(); + for(String line : new String(resource("/fonts/SHA256SUMS"), StandardCharsets.US_ASCII).lines().toList()) + { + assertTrue(line.matches("[0-9a-f]{64} [A-Za-z0-9./-]+"), line); + assertNull(sums.put(line.substring(66), line.substring(0, 64)), "listed twice: " + line); + } + Set licences = Set.of("ibm-plex-sans/LICENSE.txt", "ibm-plex-sans-condensed/LICENSE.txt", "jetbrains-mono/OFL.txt"); + assertEquals(Face.all().size() + licences.size(), sums.size(), "the list is exactly the faces and their licences"); + for(Face face : Face.all()) + { + String directory = face.file().substring(0, face.file().indexOf('/') + 1); + byte[] font = resource("/fonts/" + face.file()); + assertNotNull(font, face.file()); + assertTrue(font[0] == 0 && font[1] == 1 && font[2] == 0 && font[3] == 0, "static TrueType outlines: " + face.file()); + assertEquals(sums.get(face.file()), sha256(font), face.file()); + + String licence = licences.stream().filter(name -> name.startsWith(directory)).findFirst().orElseThrow(); + byte[] text = resource("/fonts/" + licence); + assertNotNull(text, licence); + assertEquals(sums.get(licence), sha256(text), licence); + String words = new String(text, StandardCharsets.UTF_8); + assertTrue(words.contains("This Font Software is licensed under the SIL Open Font License, Version 1.1."), licence); + assertTrue(words.contains("SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007") && words.contains("PERMISSION & CONDITIONS") && words.contains("TERMINATION"), "the whole licence text: " + licence); + + byte[] provenance = resource("/fonts/" + directory + "SOURCE.md"); + assertNotNull(provenance, "provenance of " + face.file()); + String note = new String(provenance, StandardCharsets.UTF_8); + String name = face.file().substring(directory.length()); + assertTrue(note.contains("`" + name + "`") && note.contains(sums.get(face.file())) && note.contains(sums.get(licence)), "the provenance names the file and both hashes: " + name); + assertTrue(note.contains("https://github.com/") && note.contains("/releases/download/") && note.contains("Archive SHA-256") && (note.contains("Unmodified") || note.contains("unmodified")), name); + assertTrue(note.contains("`" + face.scene() + "`"), "the provenance gives the scene name " + face.scene()); + } + } + + + + /*************************************************************************** + ** A file that is not a font is a broken build and says so; it is never a + ** silent fallback to another face. + ***************************************************************************/ + @Test + void aFileThatIsNotAFontIsABrokenBuild() + { + assertEquals("BUNDLED_FONT_UNREADABLE", assertThrows(IllegalStateException.class, () -> Face.load("/fonts/SHA256SUMS")).getMessage()); + } + + + + /*************************************************************************** + ** The bounds each face states are the font file's: the widest character + ** (the lowest of those that share the greatest advance, among characters + ** with ink), and the furthest any character reaches past its advance on the + ** left and right, above the baseline and below it. They are what a length + ** is proven against, so they are recomputed here from every character. + ** + ** A character with no ink still moves the pen (a no-break space, an em + ** quad), so the greatest advance is taken over every character the face + ** draws, inked or not, and the widest inked character must have it: were a + ** font ever to carry a blank wider than its widest letter, a line of that + ** blank would be wider than the proof allows, and this fails. + ***************************************************************************/ + @Test + void theBoundsOfAFaceAreThoseOfItsFontFile() + { + for(Face face : Face.all()) + { + int widest = -1; + int advance = 0; + int inked = 0; + int blanks = 0; + int left = 0; + int right = 0; + int top = 0; + int bottom = 0; + List drawn = drawn(face); + for(int codePoint : drawn) + { + Face.Glyph glyph = face.glyph(codePoint); + assertTrue(glyph.advance() >= 0 && glyph.advance() <= 2 * Face.REFERENCE, "advance of " + codePoint); + assertEquals(glyph.space(), codePoint == ' '); + advance = Math.max(advance, glyph.advance()); + if(!glyph.ink()) + { + assertEquals(new Face.Glyph(glyph.advance(), 0, 0, 0, 0, false, codePoint == ' '), glyph); + blanks++; + continue; + } + if(glyph.advance() > inked) + { + inked = glyph.advance(); + widest = codePoint; + } + left = Math.max(left, -glyph.left()); + right = Math.max(right, glyph.right() - glyph.advance()); + top = Math.max(top, glyph.top()); + bottom = Math.max(bottom, glyph.bottom()); + } + assertTrue(drawn.size() > 800, face.scene() + " draws " + drawn.size() + " characters"); + assertTrue(blanks >= 2 && face.draws(0xA0) && !face.glyph(0xA0).ink() && face.glyph(0xA0).advance() > 0, face.scene() + " draws " + blanks + " characters with no ink, the no-break space among them"); + assertEquals(advance, inked, face.scene() + ": no character without ink advances further than the widest with ink"); + assertEquals(new Face.Glyph(advance, -left, advance + right, top, bottom, true, false), face.worst(), face.scene()); + assertEquals(widest, face.widest(), face.scene()); + assertEquals(face.glyph(face.widest()).advance(), face.worst().advance()); + + ///////////////////////////////////////////////////////////////////////////////////// + // the faces have 1000 units to the em, so the reference size reads whole numbers // + ///////////////////////////////////////////////////////////////////////////////////// + assertTrue(face.ascent() > 900 && face.ascent() < 1100 && face.descent() > 200 && face.descent() < 350 && face.leading() == 0, face.scene()); + assertTrue(face.capHeight() > 650 && face.capHeight() < 760, face.scene()); + } + assertEquals(List.of(1025, 275, 698), List.of(Face.SANS.ascent(), Face.SANS.descent(), Face.SANS.capHeight())); + assertEquals(List.of(1020, 300, 730), List.of(Face.MONO_BOLD.ascent(), Face.MONO_BOLD.descent(), Face.MONO_BOLD.capHeight())); + assertEquals(new Face.Glyph(600, 0, 0, 0, 0, false, true), Face.MONO.glyph(' ')); + assertEquals(Set.of(600), drawn(Face.MONO).stream().map(codePoint -> Face.MONO.glyph(codePoint).advance()).collect(Collectors.toSet()), "the monospace has one advance"); + } + + + + /*************************************************************************** + ** A face draws a character only as one glyph of its own, left to right. + ** Controls, formats (which would print nothing), marks that must be placed + ** on another letter, scripts that need shaping, and characters outside the + ** Basic Multilingual Plane are not drawn; nor is a character the face lacks. + ***************************************************************************/ + @Test + void aFaceDrawsOnlyWhatItCanDrawFaithfully() + { + for(Face face : Face.all()) + { + for(int codePoint = 0x20; codePoint < 0x7F; codePoint++) + { + assertTrue(face.draws(codePoint), face.scene() + " draws " + codePoint); + } + assertTrue(face.draws(TextFit.MARK), "the ellipsis that marks a cut"); + assertTrue(face.draws(0xE9) && face.draws(0xC5) && face.draws(0xA0) && face.draws(0x20AC)); + for(int codePoint : List.of(0x00, 0x09, 0x0A, 0x0D, 0x7F, 0x85, 0xAD, 0x200B, 0x200D, 0x202E, 0x2028, 0x2029, 0xFEFF, 0x0301, 0x0627, 0x05D0, 0x0915, 0x4E2D, 0xD83D, 0xE0A0, 0xFFFF, 0x1F600, 0x10FFFF)) + { + assertFalse(face.draws(codePoint), face.scene() + " must not draw " + Integer.toHexString(codePoint)); + } + assertEquals(0, face.missing("TEST-0001 (01)00012345678905 café")); // e acute + assertEquals(0, face.missing("")); + assertEquals(4, face.missing("A\tB́😀C中")); // a tab, a combining acute, one emoji (two units, one character), a CJK ideograph + assertEquals(3, face.glyphs("A B").length); + assertTrue(face.glyphs("A B")[1].space() && !face.glyphs("A B")[0].space()); + } + } + + + + /*************************************************************************** + ** The rasteriser keeps every glyph inside the box layout measures for it: + ** the outline at the reference size, scaled exactly, and `TextFit.SLOP` + ** dots. Held for every character of every face over the sizes and + ** resolutions labels use, and at the ends of what the renderer accepts: + ** 1 pt and 2 pt, where a glyph is a few dots, and 300 pt and 1000 pt, + ** where it is drawn from its outline. (That the ink itself stays inside is + ** held where text is drawn: `TextRasterTest`.) + ***************************************************************************/ + @Test + void everyGlyphIsRasterisedInsideItsMeasuredBox() + { + for(Face face : Face.all()) + { + List drawn = drawn(face); + for(int dpi : Scene2.RESOLUTIONS) + { + for(int milliPoints : List.of(1000, 2000, 5000, 6250, 7000, 8000, 9000, 10_500, 12_000, 18_000, 36_000, 72_000, 300_000, 1_000_000)) + { + TextFit.Scale scale = new TextFit.Scale(milliPoints, dpi); + Font font = face.font(scale.size()); + for(int codePoint : drawn) + { + Face.Glyph glyph = face.glyph(codePoint); + Rectangle pixels = font.createGlyphVector(Face.CONTEXT, new char[] {(char) codePoint}).getGlyphPixelBounds(0, Face.CONTEXT, 0, 0); + if(!glyph.ink()) + { + assertTrue(pixels.isEmpty(), "ink where none is measured"); + continue; + } + boolean inside = pixels.x >= scale.floor(glyph.left()) - TextFit.SLOP && pixels.x + pixels.width <= scale.ceil(glyph.right()) + TextFit.SLOP + && -pixels.y <= scale.ceil(glyph.top()) + TextFit.SLOP && pixels.y + pixels.height <= scale.ceil(glyph.bottom()) + TextFit.SLOP; + assertTrue(inside, () -> face.scene() + " U+" + Integer.toHexString(codePoint) + " at " + milliPoints + " millipoints, " + dpi + " dpi: " + pixels + " outside " + glyph); + } + } + } + } + } +} diff --git a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextElementTest.java b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextElementTest.java new file mode 100644 index 0000000..2ec54e7 --- /dev/null +++ b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextElementTest.java @@ -0,0 +1,1045 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.io.InputStream; +import java.math.BigDecimal; +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Base64; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.function.IntFunction; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import com.kingsrook.qbits.renderer.RendererMain; +import com.kingsrook.qbits.renderer.Wire; +import com.kingsrook.qbits.renderer.scene2.Diagnostics; +import com.kingsrook.qbits.renderer.scene2.Frame; +import com.kingsrook.qbits.renderer.scene2.Refusal; +import com.kingsrook.qbits.renderer.scene2.SceneFixture; +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertArrayEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + + +/******************************************************************************* + ** The `text` element through the worker's entry point: what a scene may say, + ** what each refusal reports, and what reaches the label. The stock is the + ** design document's example: 4 x 1 in with 3 mm margins, a printable area of + ** 764 x 155 dots at 24, 24 on a page of 812 x 203 dots at 203 dpi. + *******************************************************************************/ +class TextElementTest +{ + private static final String HEAD = "{'schema':'qqq-zpl-scene/2','design':{'width':'4in','height':'1in'},'defaults':{'font':'qqq-sans-bold','size':'9pt'},'elements':["; + + + + /*************************************************************************** + ** JSON written with single quotes, for reading. + ***************************************************************************/ + private static String json(String text) + { + return (text.replace('\'', '"')); + } + + + + /*************************************************************************** + ** A scene with the default face and size and these elements. + ***************************************************************************/ + private static String scene(String elements) + { + return (json(HEAD + elements + "]}")); + } + + + + /*************************************************************************** + ** A scene of one text element `t` with these properties. + ***************************************************************************/ + private static String text(String properties) + { + return (scene("{'id':'t','type':'text'," + properties + "}")); + } + + + + /*************************************************************************** + ** A request whose record holds one value at `/record/name`. + ***************************************************************************/ + private static ObjectNode bound(String operation, String source, String value) + { + ObjectNode request = SceneFixture.request(operation, source); + ((ObjectNode) request.get("context")).putObject("record").put("name", value); + return (request); + } + + + + /*************************************************************************** + ** The refusal a request ends in. + ***************************************************************************/ + private static Map refused(ObjectNode request) + { + return (SceneFixture.refusal(() -> RendererMain.process(request))); + } + + + + /*************************************************************************** + ** The findings of a request that is answered. + ***************************************************************************/ + @SuppressWarnings("unchecked") + private static List> findings(ObjectNode request) throws Exception + { + Map answer = RendererMain.process(request); + assertEquals("OK", answer.get("outcome")); + return ((List>) answer.get("diagnostics")); + } + + + + /*************************************************************************** + ** The findings with one code. + ***************************************************************************/ + private static List> findings(ObjectNode request, String code) throws Exception + { + return (findings(request).stream().filter(finding -> code.equals(finding.get("code"))).toList()); + } + + + + /*************************************************************************** + ** The errors of a request that is refused while its findings are + ** collected, so that every element is tried. + ***************************************************************************/ + @SuppressWarnings("unchecked") + private static List> errors(ObjectNode request) throws Exception + { + Map answer = RendererMain.process(request.put("diagnostics", "COLLECT")); + assertEquals("REFUSED", answer.get("outcome")); + return (((List>) answer.get("diagnostics")).stream().filter(finding -> "ERROR".equals(finding.get("severity"))).toList()); + } + + + + /*************************************************************************** + ** The page a request prints. + ***************************************************************************/ + private static boolean[][] page(ObjectNode request) throws Exception + { + return (SceneFixture.raster(SceneFixture.render(request))); + } + + + + /*************************************************************************** + ** The ink of a page: left, top, right and bottom (the last two exclusive), + ** and how many dots. + ***************************************************************************/ + private static List ink(boolean[][] page) + { + int left = Integer.MAX_VALUE; + int top = Integer.MAX_VALUE; + int right = 0; + int bottom = 0; + int dots = 0; + for(int y = 0; y < page.length; y++) + { + for(int x = 0; x < page[y].length; x++) + { + if(page[y][x]) + { + left = Math.min(left, x); + top = Math.min(top, y); + right = Math.max(right, x + 1); + bottom = Math.max(bottom, y + 1); + dots++; + } + } + } + return (List.of(left, top, right, bottom, dots)); + } + + + + /*************************************************************************** + ** `SCENE_INVALID` for element `t` at a pointer. + ***************************************************************************/ + private static Map invalid(String pointer) + { + return (Map.of("code", "SCENE_INVALID", "severity", "ERROR", "element", "t", "pointer", pointer)); + } + + + + /*************************************************************************** + ** A literal value in the default face is drawn in its box, at the top left + ** unless the scene says otherwise, and a render is the same bytes twice, + ** whatever the locale of the machine. + ***************************************************************************/ + @Test + void aLiteralValueIsDrawnInItsBoxTheSameEveryTime() throws Exception + { + String source = text("'value':'LOT L240611A','x':'10mm','y':'5mm','width':'40mm','height':'6mm'"); + byte[] label = SceneFixture.render(SceneFixture.request("RENDER", source)); + List ink = ink(SceneFixture.raster(label)); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the box is 319 x 47 dots at 24 + 80, 24 + 40. Bold capitals of 9 pt are 17 dots high // + // and sit under the ascent of 27 dots // + //////////////////////////////////////////////////////////////////////////////////////////// + assertTrue(ink.get(0) >= 104 && ink.get(0) <= 108 && ink.get(2) < 104 + 319 && ink.get(2) > 104 + 150, "ink " + ink); + assertEquals(List.of(64 + 27 - 18, 64 + 27), List.of(ink.get(1), ink.get(3)), "capital height above the baseline: " + ink); + assertEquals(List.of(), findings(SceneFixture.request("RENDER", source))); + assertEquals(List.of(), findings(SceneFixture.request("VALIDATE", source))); + + assertArrayEquals(label, SceneFixture.render(SceneFixture.request("RENDER", source))); + Locale standing = Locale.getDefault(); + try + { + Locale.setDefault(Locale.forLanguageTag("tr-TR")); + assertArrayEquals(label, SceneFixture.render(SceneFixture.request("RENDER", source))); + } + finally + { + Locale.setDefault(standing); + } + + //////////////////////////////////////////////////////////////////////////////////////////// + // an empty value and one of spaces print nothing and are not refused // + //////////////////////////////////////////////////////////////////////////////////////////// + for(String blank : List.of("", " ")) + { + assertEquals(0, ink(page(SceneFixture.request("RENDER", text("'value':'" + blank + "'")))).get(4)); + } + } + + + + /*************************************************************************** + ** The size is a physical length: 9 pt, an eighth of an inch and 3.175 mm + ** are one size and one picture. Each bundled face is drawn, and they + ** differ. + ***************************************************************************/ + @Test + void theSizeIsAPhysicalLengthAndEveryFaceIsDrawn() throws Exception + { + boolean[][] points = page(SceneFixture.request("RENDER", text("'value':'Sample 0123','size':'9pt'"))); + assertTrue(ink(points).get(4) > 500); + for(String size : List.of("0.125in", "3.175mm")) + { + assertTrue(Arrays.deepEquals(points, page(SceneFixture.request("RENDER", text("'value':'Sample 0123','size':'" + size + "'")))), size); + } + assertFalse(Arrays.deepEquals(points, page(SceneFixture.request("RENDER", text("'value':'Sample 0123','size':'9.25pt'"))))); + + List> pictures = new ArrayList<>(); + for(Face face : Face.all()) + { + List ink = ink(page(SceneFixture.request("RENDER", text("'value':'Sample 0123','font':'" + face.scene() + "','size':'12pt'")))); + assertTrue(ink.get(4) > 600, face.scene() + " " + ink); + assertFalse(pictures.contains(ink), face.scene() + " is not another face's picture"); + pictures.add(ink); + } + assertTrue(pictures.get(1).get(4) > pictures.get(0).get(4) && pictures.get(4).get(4) > pictures.get(3).get(4), "a bold face has more ink than its regular"); + assertTrue(pictures.get(2).get(2) < pictures.get(1).get(2), "the condensed bold is narrower than the bold"); + } + + + + /*************************************************************************** + ** A property that is not what the schema says is `SCENE_INVALID` at that + ** property, in the element, in the defaults or in the override that states + ** it. A member of `fit` that is wrong is reported at that member; a member + ** `fit` does not have is reported at `fit`, since its name is not one the + ** schema declares. + ***************************************************************************/ + @Test + void aPropertyTheSchemaDoesNotAllowIsRefusedAtThatProperty() throws Exception + { + Map> wrong = Map.ofEntries( + Map.entry("font", List.of("'font':12", "'font':null", "'font':['qqq-sans']")), + Map.entry("size", List.of("'size':'9'", "'size':9", "'size':'0.999pt'", "'size':'1000.001pt'", "'size':'50%'", "'size':'12dot'", "'size':'-9pt'", "'size':'0.3mm'", "'size':'14in'")), + Map.entry("lineHeight", List.of("'lineHeight':'1.2'", "'lineHeight':0.499", "'lineHeight':5.001", "'lineHeight':1.2345", "'lineHeight':true", "'lineHeight':1e400", "'lineHeight':-1", "'lineHeight':99999999999999999999")), + Map.entry("threshold", List.of("'threshold':0", "'threshold':255", "'threshold':127.5", "'threshold':'128'", "'threshold':4294967424")), + Map.entry("maxLength", List.of("'maxLength':0", "'maxLength':1025", "'maxLength':'48'", "'maxLength':4294967297", "'maxLength':null")), + Map.entry("fit", List.of("'fit':[]", "'fit':'shrink'", "'fit':null", "'fit':{'lines':2}", "'fit':{'maxLines':2,'Overflow':'refuse'}", "'fit':{'maxLines':0,'lines':2}")), + Map.entry("fit/maxLines", List.of("'fit':{'maxLines':0}", "'fit':{'maxLines':65}", "'fit':{'maxLines':'2'}", "'fit':{'maxLines':1.5}", "'fit':{'maxLines':null}", "'fit':{'maxLines':0,'shrinkTo':'small','overflow':'clip'}")), + Map.entry("fit/shrinkTo", List.of("'fit':{'shrinkTo':'small'}", "'fit':{'shrinkTo':'50%'}", "'fit':{'shrinkTo':'6dot'}", "'fit':{'shrinkTo':'0.999pt'}", "'fit':{'shrinkTo':'9.001pt'}", "'fit':{'shrinkTo':7}", + "'fit':{'maxLines':2,'shrinkTo':'small','overflow':'clip'}")), + Map.entry("fit/overflow", List.of("'fit':{'overflow':'clip'}", "'fit':{'overflow':true}", "'fit':{'overflow':'Truncate'}", "'fit':{'maxLines':2,'shrinkTo':'6pt','overflow':null}")), + Map.entry("valuePath", List.of("'valuePath':12", "'valuePath':'record/name'", "'valuePath':''", "'valuePath':'/" + "a".repeat(256) + "'")), + Map.entry("reverse", List.of("'reverse':'yes'", "'reverse':1")), + Map.entry("rotation", List.of("'rotation':45", "'rotation':'90'"))); + wrong.forEach((name, cases) -> + { + for(String stated : cases) + { + String rest = name.equals("valuePath") ? "" : ",'value':'TEST-0001'"; + assertEquals(invalid("/elements/0/" + name), refused(SceneFixture.request("VALIDATE", text(stated + rest))), stated); + assertEquals(invalid("/elements/0/" + name), refused(SceneFixture.request("RENDER", text(stated + rest))), stated); + } + }); + for(String value : List.of("'value':'A','valuePath':'/record/name'", "'size':'9pt'", "'value':12", "'value':null", "'value':['A']", "'value':'" + "A".repeat(1025) + "'")) + { + assertEquals(invalid("/elements/0/value"), refused(SceneFixture.request("VALIDATE", text(value))), value); + } + assertEquals("OK", RendererMain.process(SceneFixture.request("VALIDATE", text("'value':'" + "A".repeat(1024) + "','fit':{'maxLines':64,'overflow':'truncate'}"))).get("outcome"), "1024 characters is the most a value may have"); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a member of `fit` is reported where `fit` is stated: here in an override, for the // + // resolution it is for and not for another // + //////////////////////////////////////////////////////////////////////////////////////////// + for(String member : List.of("'maxLines':0", "'shrinkTo':'12pt'", "'overflow':'clip'")) + { + String override = json(HEAD + "{'id':'t','type':'text','value':'A','fit':{'maxLines':2}}],'overrides':[{'when':{'dpi':[600]},'set':{'t':{'fit':{" + member + "}}}}]}"); + String name = member.substring(1, member.indexOf('\'', 1)); + assertEquals(invalid("/overrides/0/set/t/fit/" + name), refused(SceneFixture.request("VALIDATE", override)), member); + } + String unknown = json(HEAD + "{'id':'t','type':'text','value':'A'}],'overrides':[{'when':{'dpi':[203]},'set':{'t':{'fit':{'lines':2}}}}]}"); + assertEquals(invalid("/overrides/0/set/t/fit"), refused(SceneFixture.request("VALIDATE", unknown))); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a face and a size are required, in the element or in the defaults; a wrong default is // + // reported where the scene states it, for the element that takes it, and a default the // + // element does not take is not read // + //////////////////////////////////////////////////////////////////////////////////////////// + String bare = "{'schema':'qqq-zpl-scene/2','design':{'width':'4in','height':'1in'},'elements':[{'id':'t','type':'text','value':'A'%s}]}"; + assertEquals(invalid("/elements/0/font"), refused(SceneFixture.request("VALIDATE", json(String.format(bare, ",'size':'9pt'"))))); + assertEquals(invalid("/elements/0/size"), refused(SceneFixture.request("VALIDATE", json(String.format(bare, ",'font':'qqq-mono'"))))); + String defaults = "{'schema':'qqq-zpl-scene/2','design':{'width':'4in','height':'1in'},'defaults':{%s},'elements':[{'id':'b','type':'box','fill':true,'width':'1mm','height':'1mm'},{'id':'t','type':'text','value':'A'%s}]}"; + assertEquals(invalid("/defaults/size"), refused(SceneFixture.request("VALIDATE", json(String.format(defaults, "'font':'qqq-mono','size':'1001pt'", ""))))); + assertEquals(invalid("/elements/1/size"), refused(SceneFixture.request("VALIDATE", json(String.format(defaults, "'font':'qqq-mono','size':'9pt'", ",'size':'1001pt'"))))); + assertEquals("OK", RendererMain.process(SceneFixture.request("VALIDATE", json(String.format(defaults, "'font':'qqq-mono','size':'1001pt'", ",'size':'9pt'")))).get("outcome")); + assertEquals("OK", RendererMain.process(SceneFixture.request("VALIDATE", json(String.format(defaults, "'size':'9pt'", ",'font':'qqq-mono'")))).get("outcome")); + } + + + + /*************************************************************************** + ** A face the renderer does not bundle is `FONT_UNKNOWN` where the scene + ** names it. Every resolution is read, so a face named only in an override + ** for another printer is refused now and not when that printer is used. + ***************************************************************************/ + @Test + void aFaceThatIsNotBundledIsRefusedByNameAtEveryResolution() + { + for(String font : List.of("qqq-serif", "qqq-sans-italic", "Abel", "QQQ-SANS", "IBM Plex Sans")) + { + assertEquals(Map.of("code", "FONT_UNKNOWN", "severity", "ERROR", "element", "t", "pointer", "/elements/0/font"), refused(SceneFixture.request("VALIDATE", text("'value':'A','font':'" + font + "'"))), font); + } + String defaults = "{'schema':'qqq-zpl-scene/2','design':{'width':'4in','height':'1in'},'defaults':{'font':'Abel','size':'9pt'},'elements':[{'id':'t','type':'text','value':'A'}]}"; + assertEquals(Map.of("code", "FONT_UNKNOWN", "severity", "ERROR", "element", "t", "pointer", "/defaults/font"), refused(SceneFixture.request("RENDER", json(defaults)))); + String override = json(HEAD + "{'id':'t','type':'text','value':'A'}],'overrides':[{'when':{'dpi':[600]},'set':{'t':{'font':'qqq-heavy'}}}]}"); + assertEquals(Map.of("code", "FONT_UNKNOWN", "severity", "ERROR", "element", "t", "pointer", "/overrides/0/set/t/font"), refused(SceneFixture.request("RENDER", override))); + } + + + + /*************************************************************************** + ** A bound value is read from the record when rendering: text as it is, a + ** truth value as its word, and a number in plain decimal digits: no + ** exponent, and no fraction that is only zeros. Anything else, or nothing, + ** is `VALUE_MISSING`. Validation reads no record. + ***************************************************************************/ + @Test + void aBoundValueIsReadFromTheRecordOnlyWhenRendering() throws Exception + { + String source = text("'valuePath':'/record/name','maxLength':12,'width':'60mm','height':'6mm'"); + boolean[][] literal = page(SceneFixture.request("RENDER", text("'value':'TEST-0001','width':'60mm','height':'6mm'"))); + assertTrue(Arrays.deepEquals(literal, page(bound("RENDER", source, "TEST-0001")))); + for(String scalar : List.of("12345", "12.5", "true")) + { + ObjectNode request = SceneFixture.request("RENDER", source); + ((ObjectNode) request.get("context")).putObject("record").set("name", Wire.JSON.readTree(scalar)); + assertTrue(Arrays.deepEquals(page(SceneFixture.request("RENDER", text("'value':'" + scalar + "','width':'60mm','height':'6mm'"))), page(request)), scalar); + } + Map missing = Map.of("code", "VALUE_MISSING", "severity", "ERROR", "element", "t", "box", List.of(0, 0, 479, 47)); + assertEquals(missing, refused(SceneFixture.request("RENDER", source))); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a number is printed as its digits, however the record wrote it: the left of each pair // + // is the JSON of the record and the right is what is printed // + //////////////////////////////////////////////////////////////////////////////////////////// + String roomy = text("'valuePath':'/record/name','font':'qqq-mono','size':'6pt','fit':{'maxLines':4},'width':'90mm','height':'12mm'"); + Map numbers = new LinkedHashMap<>(); + numbers.put("1.0E10", "10000000000"); + numbers.put("1e10", "10000000000"); + numbers.put("2.50", "2.5"); + numbers.put("12.0", "12"); + numbers.put("-0.0", "0"); + numbers.put("0", "0"); + numbers.put("-17", "-17"); + numbers.put("1E-7", "0.0000001"); + numbers.put("0.1", "0.1"); + numbers.put("123456.789", "123456.789"); + numbers.put("-2.5e3", "-2500"); + numbers.put("1.7976931348623157E308", "17976931348623157" + "0".repeat(292)); + numbers.put("123456789012345678901234567890", "123456789012345678901234567890"); + numbers.forEach((written, printed) -> + { + try + { + ObjectNode request = SceneFixture.request("RENDER", roomy); + ((ObjectNode) request.get("context")).putObject("record").set("name", Wire.JSON.readTree(written)); + assertTrue(Arrays.deepEquals(page(SceneFixture.request("RENDER", text("'value':'" + printed + "','font':'qqq-mono','size':'6pt','fit':{'maxLines':4},'width':'90mm','height':'12mm'"))), page(request)), written + " prints " + printed); + } + catch(Exception failed) + { + throw new IllegalStateException(written, failed); + } + }); + List records = new ArrayList<>(); + for(int index = 0; index < 5; index++) + { + records.add(SceneFixture.request("RENDER", roomy)); + } + ((ObjectNode) records.get(0).get("context")).putObject("record").put("name", new BigDecimal("2.500")); + ((ObjectNode) records.get(1).get("context")).putObject("record").put("name", 2.5f); + ((ObjectNode) records.get(2).get("context")).putObject("record").put("name", new BigInteger("25").multiply(BigInteger.TEN.pow(40))); + ((ObjectNode) records.get(3).get("context")).putObject("record").put("name", 25L); + ((ObjectNode) records.get(4).get("context")).putObject("record").put("name", (short) 25); + List shown = List.of("2.5", "2.5", "25" + "0".repeat(40), "25", "25"); + for(int index = 0; index < records.size(); index++) + { + assertTrue(Arrays.deepEquals(page(SceneFixture.request("RENDER", text("'value':'" + shown.get(index) + "','font':'qqq-mono','size':'6pt','fit':{'maxLines':4},'width':'90mm','height':'12mm'"))), page(records.get(index))), "record " + index); + } + + //////////////////////////////////////////////////////////////////////////////////////////// + // a number that is not finite has no digits: it is missing, as an object or a list is // + //////////////////////////////////////////////////////////////////////////////////////////// + for(double infinite : List.of(Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY)) + { + ObjectNode request = SceneFixture.request("RENDER", source); + ((ObjectNode) request.get("context")).putObject("record").put("name", infinite); + assertEquals(missing, refused(request), String.valueOf(infinite)); + } + ObjectNode huge = SceneFixture.request("RENDER", source); + ((ObjectNode) huge.get("context")).putObject("record").set("name", Wire.JSON.readTree("1e400")); + assertEquals(missing, refused(huge), "a number too large to be a number"); + for(String other : List.of("null", "{\"first\":\"A\"}", "[\"A\"]")) + { + ObjectNode request = SceneFixture.request("RENDER", source); + ((ObjectNode) request.get("context")).putObject("record").set("name", Wire.JSON.readTree(other)); + assertEquals(missing, refused(request), other); + } + + //////////////////////////////////////////////////////////////////////////////////////////// + // validation accepts the scene with no record, and with a record it would refuse to // + // print: the record is not its business // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(List.of(), findings(SceneFixture.request("VALIDATE", source))); + assertEquals(List.of(), findings(bound("VALIDATE", source, "A value far longer than twelve characters"))); + } + + + + /*************************************************************************** + ** `maxLength` makes a length refusal a design-time event. When the scene is + ** validated, that many of the face's widest character must fit, or the + ** scene is refused; when printing, a longer value is refused before layout. + ** A bound element without `maxLength` is warned about; a literal needs none. + ***************************************************************************/ + @Test + void maxLengthProvesTheFitWhenValidatingAndBoundsTheValueWhenPrinting() throws Exception + { + String proven = text("'valuePath':'/record/name','font':'qqq-mono-bold','maxLength':20,'width':'60mm','height':'6mm'"); + assertEquals(List.of(), findings(SceneFixture.request("VALIDATE", proven))); + assertEquals(List.of(), findings(bound("RENDER", proven, "L240611A-RETURNED-01"))); + assertEquals(Map.of("code", "VALUE_TOO_LONG", "severity", "ERROR", "element", "t", "box", List.of(0, 0, 479, 47), "measured", Map.of("characters", 21), "limit", Map.of("characters", 20)), + refused(bound("RENDER", proven, "L240611A-RETURNED-012"))); + + //////////////////////////////////////////////////////////////////////////////////////////// + // 40 of the monospace's characters at 9 pt need 609 dots and more; shrunk to the floor // + // of 6.3 pt they still need 427 of the 319 the box has // + //////////////////////////////////////////////////////////////////////////////////////////// + String unproven = text("'valuePath':'/record/name','font':'qqq-mono-bold','maxLength':40,'width':'40mm','height':'6mm'"); + Map refusal = refused(SceneFixture.request("VALIDATE", unproven)); + assertEquals("TEXT_DOES_NOT_FIT", refusal.get("code")); + assertEquals("t", refusal.get("element")); + assertEquals(List.of(0, 0, 319, 47), refusal.get("box")); + assertEquals(Map.of("widthDots", 319, "heightDots", 47, "lines", 1), refusal.get("limit")); + Map measured = (Map) refusal.get("measured"); + assertEquals(40, measured.get("characters")); + assertEquals(630, measured.get("sizeCentipoints")); + assertTrue((int) measured.get("lines") > 1 && (int) measured.get("widthDots") <= 319, "measured broken at any character at the floor: " + measured); + assertTrue(findings(bound("RENDER", unproven, "SHORT")).isEmpty(), "the record decides when printing"); + + //////////////////////////////////////////////////////////////////////////////////////////// + // with no stated length nothing is proven, which the author is told at validation and // + // at render; the hard limit of 1024 characters still holds // + //////////////////////////////////////////////////////////////////////////////////////////// + String open = text("'valuePath':'/record/name','width':'60mm','height':'6mm'"); + Map warning = Map.of("code", "FIT_NOT_PROVEN", "severity", "WARNING", "element", "t", "box", List.of(0, 0, 479, 47)); + assertEquals(List.of(warning), findings(SceneFixture.request("VALIDATE", open))); + assertEquals(List.of(warning), findings(bound("RENDER", open, "TEST-0001"))); + assertEquals(Map.of("characters", 1025), refused(bound("RENDER", open, "A".repeat(1025))).get("measured")); + assertEquals(Map.of("characters", 1024), refused(bound("RENDER", open, "A".repeat(1025))).get("limit")); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a literal is laid out as it is; its stated length is still its limit // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(List.of(), findings(SceneFixture.request("VALIDATE", text("'value':'TEST-0001'")))); + assertEquals("VALUE_TOO_LONG", refused(SceneFixture.request("VALIDATE", text("'value':'TEST-0001','maxLength':8"))).get("code")); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the proof holds for the worst value: 20 per mille signs, the widest character of the // + // sans, print in the box that proved 20 // + //////////////////////////////////////////////////////////////////////////////////////////// + String sans = text("'valuePath':'/record/name','font':'qqq-sans','size':'8pt','maxLength':20,'width':'90mm','height':'6mm'"); + assertTrue(findings(SceneFixture.request("VALIDATE", sans), "TEXT_DOES_NOT_FIT").isEmpty()); + assertTrue(ink(page(bound("RENDER", sans, "\u2030".repeat(20)))).get(4) > 1000); // per mille + } + + + + /*************************************************************************** + ** The proof never cuts: a value that is cut does not fit. An element that + ** asks for cutting and states a length its box cannot hold whole is still a + ** valid scene, since cutting is what its author chose, but it carries a + ** warning at every validation that says how many characters are proven to + ** fit whole of the length stated. A length the box does hold whole is + ** proven as for any other element and carries no warning. + ***************************************************************************/ + @Test + void theProofOfALengthNeverCutsAndACuttingElementIsWarnedHowMuchIsProven() throws Exception + { + //////////////////////////////////////////////////////////////////////////////////////////// + // the bold monospace at 9 pt, shrinking to 6.3 pt, in a box 12 mm wide: 95 dots, which // + // hold seven of the face's worst character at the floor // + //////////////////////////////////////////////////////////////////////////////////////////// + String bound = "'valuePath':'/record/name','font':'qqq-mono-bold'"; + String element = bound + ",'width':'12mm','height':'6mm'"; + Map refusal = refused(SceneFixture.request("VALIDATE", text(element + ",'maxLength':40"))); + assertEquals("TEXT_DOES_NOT_FIT", refusal.get("code")); + + List> standing = findings(SceneFixture.request("VALIDATE", text(element + ",'maxLength':40,'fit':{'overflow':'truncate'}"))); + assertEquals(1, standing.size(), "one warning and nothing else: " + standing); + Map warning = standing.get(0); + assertEquals(List.of("FIT_NOT_PROVEN", "WARNING", "t", List.of(0, 0, 95, 47)), List.of(warning.get("code"), warning.get("severity"), warning.get("element"), warning.get("box"))); + assertEquals(Map.of("characters", 40), warning.get("limit")); + int proven = (int) ((Map) warning.get("measured")).get("provenCharacters"); + assertEquals(Map.of("provenCharacters", proven), warning.get("measured")); + assertEquals(7, proven, "the longest length proven to fit whole"); + assertEquals(standing, findings(SceneFixture.request("VALIDATE", text(element + ",'maxLength':40,'fit':{'overflow':'truncate'}"))), "it stands: the same at every validation"); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the number is the truth: that length is proven with or without cutting, and one more // + // is not. The author's remedy is to state the length that is proven // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(List.of(), findings(SceneFixture.request("VALIDATE", text(element + ",'maxLength':" + proven + ",'fit':{'overflow':'truncate'}")))); + assertEquals(List.of(), findings(SceneFixture.request("VALIDATE", text(element + ",'maxLength':" + proven)))); + assertEquals(Map.of("provenCharacters", proven), findings(SceneFixture.request("VALIDATE", text(element + ",'maxLength':" + (proven + 1) + ",'fit':{'overflow':'truncate'}"))).get(0).get("measured")); + assertEquals("TEXT_DOES_NOT_FIT", refused(SceneFixture.request("VALIDATE", text(element + ",'maxLength':" + (proven + 1)))).get("code")); + + //////////////////////////////////////////////////////////////////////////////////////////// + // and what it says happens: a value of the proven length prints whole, a longer one is // + // cut, and the warning is the validation's, not the print's // + //////////////////////////////////////////////////////////////////////////////////////////// + String cutting = text(element + ",'maxLength':40,'fit':{'overflow':'truncate'}"); + assertEquals(List.of("TEXT_SHRUNK"), findings(bound("RENDER", cutting, "W".repeat(proven))).stream().map(finding -> finding.get("code")).toList()); + List> cut = findings(bound("RENDER", cutting, "W".repeat(40))); + assertEquals(List.of("TEXT_SHRUNK", "TEXT_TRUNCATED"), cut.stream().map(finding -> finding.get("code")).toList()); + assertEquals(40, ((Map) cut.get(1).get("measured")).get("characters")); + assertTrue((int) ((Map) cut.get(1).get("measured")).get("shownCharacters") < 40, "cut: " + cut.get(1)); + + //////////////////////////////////////////////////////////////////////////////////////////// + // more lines prove more; a box that holds no character at all proves none; and the type // + // is judged at the floor, where a cut value is printed: 6.3 pt bold is 12 dots high and // + // passes, 5 pt is 9 and is warned about // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(Map.of("provenCharacters", 2 * proven), findings(SceneFixture.request("VALIDATE", text(bound + ",'width':'12mm','height':'12mm','maxLength':40,'fit':{'overflow':'truncate','maxLines':2}"))).get(0).get("measured")); + assertEquals(Map.of("provenCharacters", 0), findings(SceneFixture.request("VALIDATE", text(bound + ",'width':'1mm','height':'6mm','maxLength':2,'fit':{'overflow':'truncate'}"))).get(0).get("measured")); + assertEquals(Map.of("provenCharacters", 0), findings(SceneFixture.request("VALIDATE", text(bound + ",'width':'1mm','height':'6mm','maxLength':1,'fit':{'overflow':'truncate'}"))).get(0).get("measured")); + List> small = findings(SceneFixture.request("VALIDATE", text(element + ",'maxLength':40,'fit':{'overflow':'truncate','shrinkTo':'5pt'}"))); + assertEquals(List.of("FIT_NOT_PROVEN", "TEXT_SMALL_FOR_DPI"), small.stream().map(finding -> finding.get("code")).toList()); + assertEquals(Map.of("capHeightDots", 10, "sizeCentipoints", 500), small.get(1).get("measured")); + } + + + + /*************************************************************************** + ** A character the face cannot draw as one glyph is refused with a count; the + ** value is drawn whole or not at all. + ***************************************************************************/ + @Test + void aValueTheFaceCannotDrawIsRefusedWithACount() + { + String source = text("'valuePath':'/record/name','maxLength':40"); + assertEquals(Map.of("code", "FONT_MISSING_GLYPH", "severity", "ERROR", "element", "t", "box", List.of(0, 0, 764, 155), "measured", Map.of("missingGlyphs", 3, "characters", 9), "limit", Map.of("missingGlyphs", 0)), + refused(bound("RENDER", source, "A\tB\u4E2DC\uD83D\uDE00DEF"))); // a tab, a CJK ideograph and one emoji + assertEquals("FONT_MISSING_GLYPH", refused(bound("RENDER", source, "line\nbreak")).get("code")); + assertEquals("FONT_MISSING_GLYPH", refused(SceneFixture.request("VALIDATE", text("'value':'e\u0301'"))).get("code")); // e and a combining acute + } + + + + /*************************************************************************** + ** The default fit: one line, shrink to 70% of the size and not below 5 pt, + ** then refuse. The refusal names the element and gives the measured width, + ** height, lines and size against the box. + ***************************************************************************/ + @Test + void theDefaultIsOneLineShrunkToSeventyPercentThenRefused() throws Exception + { + String value = "'value':'(01)00012345678905(10)L240611A','font':'qqq-mono-bold','height':'8mm'"; + assertEquals(List.of(), findings(SceneFixture.request("RENDER", text(value + ",'size':'10pt','width':'90mm'")))); + + Map shrunk = findings(SceneFixture.request("RENDER", text(value + ",'size':'10pt','width':'60mm'")), "TEXT_SHRUNK").get(0); + assertEquals("INFO", shrunk.get("severity")); + assertEquals(List.of(0, 0, 479, 63), shrunk.get("box")); + assertEquals(Map.of("sizeCentipoints", 1000, "floorCentipoints", 700), shrunk.get("limit")); + int chosen = (int) ((Map) shrunk.get("measured")).get("sizeCentipoints"); + assertTrue(chosen < 1000 && chosen >= 700 && chosen % 25 == 0, "a quarter-point step: " + chosen); + assertEquals(findings(SceneFixture.request("RENDER", text(value + ",'size':'10pt','width':'60mm'"))), findings(SceneFixture.request("VALIDATE", text(value + ",'size':'10pt','width':'60mm'")))); + + Map refusal = refused(SceneFixture.request("RENDER", text(value + ",'size':'10pt','width':'40mm'"))); + assertEquals("TEXT_DOES_NOT_FIT", refusal.get("code")); + assertEquals(List.of(0, 0, 319, 63), refusal.get("box")); + assertEquals(Map.of("widthDots", 319, "heightDots", 63, "lines", 1), refusal.get("limit")); + Map measured = (Map) refusal.get("measured"); + assertEquals(List.of(700, 30, 2), List.of(measured.get("sizeCentipoints"), measured.get("characters"), measured.get("lines"))); + assertEquals(refusal, refused(SceneFixture.request("VALIDATE", text(value + ",'size':'10pt','width':'40mm'")))); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the floor is 70% of the size, 5 pt when that is less, and the size itself when the // + // size is under 5 pt; a stated floor is used as it is // + //////////////////////////////////////////////////////////////////////////////////////////// + for(int[] sizes : new int[][] { {10, 700}, {8, 560}, {7, 500}, {6, 500}, {4, 400}}) + { + Map small = refused(SceneFixture.request("RENDER", text(value + ",'size':'" + sizes[0] + "pt','width':'10mm'"))); + assertEquals(sizes[1], ((Map) small.get("measured")).get("sizeCentipoints"), sizes[0] + " pt"); + } + Map stated = refused(SceneFixture.request("RENDER", text(value + ",'size':'10pt','width':'10mm','fit':{'shrinkTo':'1mm'}"))); + assertEquals(283, ((Map) stated.get("measured")).get("sizeCentipoints"), "1 mm is 2.835 pt"); + assertEquals("TEXT_DOES_NOT_FIT", refused(SceneFixture.request("RENDER", text(value + ",'size':'10pt','width':'60mm','fit':{'shrinkTo':'10pt'}"))).get("code"), "a floor at the size allows no shrinking"); + } + + + + /*************************************************************************** + ** The fit an element may choose instead: more lines, and cutting with an + ** ellipsis. Each is reported: lines as information, a cut as a warning with + ** how many characters are shown. + ***************************************************************************/ + @Test + void wrappingAndTruncationAreChosenByTheElementAndReported() throws Exception + { + String value = "'value':'(01)00012345678905(10)L240611A-RETURNED-000123','font':'qqq-mono-bold','size':'10pt','width':'45mm','height':'12mm'"; + assertEquals("TEXT_DOES_NOT_FIT", refused(SceneFixture.request("RENDER", text(value))).get("code")); + + List> wrapped = findings(SceneFixture.request("RENDER", text(value + ",'fit':{'maxLines':2}"))); + assertEquals(List.of("TEXT_SHRUNK", "TEXT_WRAPPED"), wrapped.stream().map(finding -> finding.get("code")).toList()); + assertEquals(Map.of("code", "TEXT_WRAPPED", "severity", "INFO", "element", "t", "box", List.of(0, 0, 359, 95), "measured", Map.of("lines", 2), "limit", Map.of("lines", 2)), wrapped.get(1)); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the line height is the distance between baselines as a multiple of the size. The text // + // is shrunk to 9 pt: at 1 its lines are 26 dots apart, where the face's own 1.32 is 34 // + //////////////////////////////////////////////////////////////////////////////////////////// + List natural = ink(page(SceneFixture.request("RENDER", text(value + ",'fit':{'maxLines':2}")))); + List tight = ink(page(SceneFixture.request("RENDER", text(value + ",'fit':{'maxLines':2},'lineHeight':1")))); + assertEquals(List.of(natural.get(0), natural.get(1), natural.get(2), natural.get(3) - 8), tight.subList(0, 4)); + assertEquals(tight, ink(page(SceneFixture.request("RENDER", text(value + ",'fit':{'maxLines':2},'lineHeight':1.000"))))); + assertEquals(natural.get(3) - 5, ink(page(SceneFixture.request("RENDER", text(value + ",'fit':{'maxLines':2},'lineHeight':1.125")))).get(3), "9 pt x 1.125 is 28.5 dots, drawn 29 apart"); + + List> cut = findings(SceneFixture.request("RENDER", text(value + ",'fit':{'overflow':'truncate'}"))); + assertEquals(List.of("TEXT_SHRUNK", "TEXT_TRUNCATED"), cut.stream().map(finding -> finding.get("code")).toList(), "a text is cut at the floor size, so it is shrunk as well"); + assertEquals(Map.of("sizeCentipoints", 700), cut.get(0).get("measured")); + assertEquals("WARNING", cut.get(1).get("severity")); + assertEquals(Map.of("lines", 1), cut.get(1).get("limit")); + Map measured = (Map) cut.get(1).get("measured"); + assertEquals(List.of(46, 1), List.of(measured.get("characters"), measured.get("lines"))); + assertTrue((int) measured.get("shownCharacters") > 20 && (int) measured.get("shownCharacters") < 46, "shown " + measured); + + //////////////////////////////////////////////////////////////////////////////////////////// + // cut, the line ends in the three dots of the ellipsis, which the whole value does not: // + // the last ink is lower than the capitals are and near the right of the box // + //////////////////////////////////////////////////////////////////////////////////////////// + boolean[][] page = page(SceneFixture.request("RENDER", text(value + ",'fit':{'overflow':'truncate'},'align':'right'"))); + List ink = ink(page); + assertTrue(ink.get(2) <= 24 + 359 && ink.get(2) >= 24 + 359 - 6, "against the right of the box: " + ink); + int column = ink.get(2) - 1; + int first = 0; + while(!page[first][column]) + { + first++; + } + assertTrue(first > ink.get(1) + (ink.get(3) - ink.get(1)) / 2, "the last character is dots on the baseline"); + } + + + + /*************************************************************************** + ** Small type is warned about, by the height of its capitals in dots at the + ** render target: any face under 12 dots, and a regular weight under 20. A + ** resolution override is how a scene answers: a heavier face or a higher + ** threshold for the coarse printer only. + ***************************************************************************/ + @Test + void smallTypeIsWarnedAboutAndAnOverrideAnswersForOneResolution() throws Exception + { + String small = text("'value':'Lot 0O1lI','font':'qqq-sans','size':'5.5pt'"); + Map tiny = Map.of("code", "TEXT_SMALL_FOR_DPI", "severity", "WARNING", "element", "t", "box", List.of(0, 0, 764, 155), "measured", Map.of("capHeightDots", 10, "sizeCentipoints", 550), "limit", Map.of("capHeightDots", 12)); + Map light = Map.of("code", "TEXT_LIGHT_FACE", "severity", "WARNING", "element", "t", "box", List.of(0, 0, 764, 155), "measured", Map.of("capHeightDots", 10, "sizeCentipoints", 550), "limit", Map.of("capHeightDots", 20)); + assertEquals(List.of(tiny, light), findings(SceneFixture.request("RENDER", small))); + assertEquals(List.of(tiny, light), findings(SceneFixture.request("VALIDATE", small))); + assertEquals(List.of("TEXT_LIGHT_FACE"), findings(SceneFixture.request("RENDER", text("'value':'Lot 0O1lI','font':'qqq-mono','size':'9pt'"))).stream().map(finding -> finding.get("code")).toList()); + assertEquals(List.of("TEXT_SMALL_FOR_DPI"), findings(SceneFixture.request("RENDER", text("'value':'Lot 0O1lI','font':'qqq-mono-bold','size':'5.5pt'"))).stream().map(finding -> finding.get("code")).toList()); + assertEquals(List.of(), findings(SceneFixture.request("RENDER", text("'value':'Lot 0O1lI','font':'qqq-sans','size':'11pt'")))); + assertEquals(List.of(), findings(SceneFixture.request("RENDER", small).put("targetDpi", 600)), "the same type is 31 dots high at 600 dpi"); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a bound element whose length is not stated is judged at its stated size when // + // validated, since nothing says how far it will shrink, and at the size it was shrunk // + // to when rendered // + //////////////////////////////////////////////////////////////////////////////////////////// + String shrinking = text("'valuePath':'/record/name','font':'qqq-sans-bold','size':'8pt','width':'28mm','height':'5mm','fit':{'shrinkTo':'5pt'}"); + assertEquals(List.of("FIT_NOT_PROVEN"), findings(SceneFixture.request("VALIDATE", shrinking)).stream().map(finding -> finding.get("code")).toList()); + assertEquals(List.of("FIT_NOT_PROVEN", "TEXT_SHRUNK", "TEXT_SMALL_FOR_DPI"), findings(bound("RENDER", shrinking, "L240611A-RETURNED-000123")).stream().map(finding -> finding.get("code")).toList()); + + //////////////////////////////////////////////////////////////////////////////////////////// + // with its length stated it is judged, when validated, at the size the proof shrank to, // + // which is the smallest any value is printed at: 8 pt bold is 15 dots high and passes, // + // but nine of the widest character are proven only at 5.75 pt, 11 dots. A value that // + // needs no shrinking prints at 8 pt with no warning; the worst value is shrunk, and to // + // no less than was proven // + //////////////////////////////////////////////////////////////////////////////////////////// + String stated = text("'valuePath':'/record/name','font':'qqq-sans-bold','size':'8pt','width':'28mm','height':'5mm','fit':{'shrinkTo':'5pt'},'maxLength':9"); + List> judged = findings(SceneFixture.request("VALIDATE", stated)); + assertEquals(List.of("TEXT_SMALL_FOR_DPI"), judged.stream().map(finding -> finding.get("code")).toList()); + assertEquals(Map.of("capHeightDots", 11, "sizeCentipoints", 575), judged.get(0).get("measured")); + assertEquals(List.of(), findings(bound("RENDER", stated, "L240611A"))); + List> worst = findings(bound("RENDER", stated, "\u2030".repeat(9)), "TEXT_SHRUNK"); // per mille + assertTrue((int) ((Map) worst.get(0).get("measured")).get("sizeCentipoints") >= 575, "no value is printed smaller than the proof: " + worst); + assertEquals(List.of(), findings(SceneFixture.request("VALIDATE", text("'valuePath':'/record/name','font':'qqq-sans-bold','size':'8pt','width':'28mm','height':'5mm','fit':{'shrinkTo':'5pt'},'maxLength':6"))), "six fit at 8 pt"); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the override: bold and a heavier threshold at 203 dpi only // + //////////////////////////////////////////////////////////////////////////////////////////// + String plain = json(HEAD + "{'id':'t','type':'text','value':'Lot 0O1lI','font':'qqq-sans','size':'8pt'}]}"); + String heavier = json(HEAD + "{'id':'t','type':'text','value':'Lot 0O1lI','font':'qqq-sans','size':'8pt'}],'overrides':[{'when':{'dpi':[203]},'set':{'t':{'threshold':200}}}]}"); + String bolder = json(HEAD + "{'id':'t','type':'text','value':'Lot 0O1lI','font':'qqq-sans','size':'8pt'}],'overrides':[{'when':{'dpi':[203]},'set':{'t':{'font':'qqq-sans-bold'}}}]}"); + int ink = ink(page(SceneFixture.request("RENDER", plain))).get(4); + assertTrue(ink(page(SceneFixture.request("RENDER", heavier))).get(4) > ink * 23 / 20, "a threshold of 200 prints heavier than 128"); + assertTrue(ink(page(SceneFixture.request("RENDER", bolder))).get(4) > ink * 23 / 20, "the bold face prints heavier than the regular"); + assertEquals(List.of("TEXT_LIGHT_FACE"), findings(SceneFixture.request("RENDER", heavier)).stream().map(finding -> finding.get("code")).toList()); + assertEquals(List.of(), findings(SceneFixture.request("RENDER", bolder))); + for(String scene : List.of(heavier, bolder)) + { + assertTrue(Arrays.deepEquals(page(SceneFixture.request("RENDER", plain).put("targetDpi", 300)), page(SceneFixture.request("RENDER", scene).put("targetDpi", 300))), "at 300 dpi the override does not apply"); + } + } + + + + /*************************************************************************** + ** Reverse text is white letters on its own box filled black: the picture is + ** the plain one with every dot of the box reversed. It is counted twice + ** against what one scene may paint, since it paints the box and then the + ** letters. + ***************************************************************************/ + @Test + void reverseTextIsWhiteOnItsOwnBlackBox() throws Exception + { + String element = "'value':'ZONE 7','size':'14pt','x':'5mm','y':'3mm','width':'30mm','height':'8mm','align':'center','valign':'middle'"; + boolean[][] plain = page(SceneFixture.request("RENDER", text(element))); + boolean[][] reverse = page(SceneFixture.request("RENDER", text(element + ",'reverse':true"))); + assertTrue(ink(plain).get(4) > 800); + for(int y = 0; y < plain.length; y++) + { + for(int x = 0; x < plain[y].length; x++) + { + boolean inside = x >= 24 + 40 && x < 24 + 40 + 239 && y >= 24 + 24 && y < 24 + 24 + 63; + assertEquals(inside != plain[y][x], reverse[y][x], "dot " + x + ", " + y); + assertFalse(plain[y][x] && !inside, "plain ink outside the box at " + x + ", " + y); + } + } + assertEquals(List.of(), findings(SceneFixture.request("RENDER", text(element + ",'reverse':true")))); + + //////////////////////////////////////////////////////////////////////////////////////////// + // sixteen plain texts the size of the label are sixteen coats and are allowed; eight // + // reverse ones are too, and a ninth is refused as painting 1800% of the label // + //////////////////////////////////////////////////////////////////////////////////////////// + StringBuilder plainTexts = new StringBuilder(); + StringBuilder reverseTexts = new StringBuilder(); + for(int index = 0; index < 16; index++) + { + plainTexts.append(index == 0 ? "" : ",").append("{'id':'p").append(index).append("','type':'text','value':'A'}"); + } + for(int index = 0; index < 9; index++) + { + reverseTexts.append(index == 0 ? "" : ",").append("{'id':'r").append(index).append("','type':'text','value':'A','reverse':true}"); + } + assertEquals("OK", RendererMain.process(SceneFixture.request("VALIDATE", scene(plainTexts.toString()))).get("outcome")); + assertEquals(Map.of("code", "SCENE_INVALID", "severity", "ERROR", "element", "r8", "pointer", "/elements/8", "box", List.of(0, 0, 764, 155), "measured", Map.of("paintedPercent", 1800), "limit", Map.of("paintedPercent", 1600)), + refused(SceneFixture.request("VALIDATE", scene(reverseTexts.toString())))); + } + + + + /*************************************************************************** + ** Rotation turns the text clockwise in a box given as it appears on the + ** label: turned a quarter, the line runs down the box, is fitted to the + ** box's height and aligned along it. + ***************************************************************************/ + @Test + void rotationTurnsTheTextInABoxGivenAsItAppears() throws Exception + { + String element = "'value':'TEST-001','font':'qqq-mono-bold','size':'10pt','x':'10mm','width':'6mm','height':'19mm'"; + assertEquals("TEXT_DOES_NOT_FIT", refused(SceneFixture.request("RENDER", text(element + ",'fit':{'shrinkTo':'10pt'}"))).get("code"), "upright, eight letters do not fit 6 mm"); + for(int rotation : List.of(90, 270)) + { + List ink = ink(page(SceneFixture.request("RENDER", text(element + ",'fit':{'shrinkTo':'10pt'},'rotation':" + rotation)))); + assertTrue(ink.get(0) >= 24 + 80 && ink.get(2) <= 24 + 80 + 47 && ink.get(1) >= 24 && ink.get(3) <= 24 + 151, rotation + ": " + ink); + assertTrue(ink.get(3) - ink.get(1) > 3 * (ink.get(2) - ink.get(0)), "the line runs down the box: " + ink); + assertEquals(rotation == 90, ink.get(1) < 24 + 4, "its start is at the top when turned clockwise, at the bottom when turned the other way: " + ink); + } + List upright = ink(page(SceneFixture.request("RENDER", text("'value':'TEST-0001','font':'qqq-mono-bold','size':'10pt','width':'40mm','height':'6mm'")))); + List turned = ink(page(SceneFixture.request("RENDER", text("'value':'TEST-0001','font':'qqq-mono-bold','size':'10pt','width':'40mm','height':'6mm','rotation':180")))); + assertEquals(upright.get(4), turned.get(4)); + assertEquals(List.of(24 + 319 - (upright.get(2) - 24), 24 + 47 - (upright.get(3) - 24)), List.of(turned.get(0), turned.get(1)), "the same picture turned about the middle of the box"); + } + + + + /*************************************************************************** + ** The prefix `qqq-` belongs to the bundled faces. A request that supplies an + ** asset under that prefix could shadow one, so a text element refuses it + ** with the count, whatever face the element itself names. + ***************************************************************************/ + @Test + void aSuppliedAssetWithTheReservedPrefixIsRefused() throws Exception + { + byte[] font; + try(InputStream stream = Face.class.getResourceAsStream("/fonts/" + Face.MONO.file())) + { + font = stream.readAllBytes(); + } + String source = text("'value':'TEST-0001','font':'qqq-sans-bold'"); + for(String name : List.of("qqq-sans-bold", "qqq-brand")) + { + ObjectNode request = SceneFixture.request("RENDER", source); + ((ArrayNode) request.get("assets")).addObject().put("name", name).put("mediaType", "font/ttf").put("base64", Base64.getEncoder().encodeToString(font)).put("sha256", Wire.sha256(font)).put("fontFamily", "Brand"); + assertEquals(Map.of("code", "RESERVED_FONT_NAME", "severity", "ERROR", "element", "t", "box", List.of(0, 0, 764, 155), "measured", Map.of("reservedAssets", 1), "limit", Map.of("reservedAssets", 0)), refused(request), name); + request.put("operation", "VALIDATE"); + assertEquals("RESERVED_FONT_NAME", refused(request).get("code")); + } + ObjectNode other = SceneFixture.request("RENDER", source); + ((ArrayNode) other.get("assets")).addObject().put("name", "brand-sans").put("mediaType", "font/ttf").put("base64", Base64.getEncoder().encodeToString(font)).put("sha256", Wire.sha256(font)).put("fontFamily", "Brand"); + assertEquals(List.of(), findings(other)); + assertEquals("FONT_UNKNOWN", refused(SceneFixture.request("RENDER", text("'value':'TEST-0001','font':'brand-sans'"))).get("code"), "a supplied font is not a face of version 2 text yet"); + } + + + + /*************************************************************************** + ** No answer and no exception carries a value: the record holds a marker, + ** the element is refused in every way a value can cause, with and without + ** collecting, and the marker is nowhere in what comes back. + ***************************************************************************/ + @Test + void noRefusalCarriesTheValue() throws Exception + { + String marker = "Jane-Example-0012345"; + List elements = List.of("'valuePath':'/record/name','maxLength':8", "'valuePath':'/record/name','width':'10mm'", "'valuePath':'/record/name','width':'10mm','fit':{'overflow':'truncate','maxLines':2}", + "'valuePath':'/record/name','font':'qqq-mono','size':'5pt'", "'valuePath':'/record/missing'", "'valuePath':'/record/name','rotation':90,'reverse':true,'width':'4mm'"); + for(String element : elements) + { + for(String value : List.of(marker, marker + "\t" + marker, marker + "\u4E2D")) // a CJK ideograph + { + for(boolean collect : List.of(false, true)) + { + ObjectNode request = bound("RENDER", text(element), value); + if(collect) + { + request.put("diagnostics", "COLLECT"); + } + String answer; + try + { + Map answered = new LinkedHashMap<>(RendererMain.process(request)); + answered.remove("base64"); + answer = Wire.JSON.writeValueAsString(answered); + } + catch(Refusal refusal) + { + answer = refusal.getMessage() + " " + refusal + " " + Wire.JSON.writeValueAsString(refusal.diagnostic().wire()); + } + assertFalse(answer.contains("Jane") || answer.contains("0012345"), element + ": " + answer); + } + } + } + assertThrows(Refusal.class, () -> RendererMain.process(bound("RENDER", text(elements.get(0)), marker))); + } + + + /*************************************************************************** + ** A scene of `count` text elements `t0`, `t1` and so on, each with these + ** properties, and with the value its index gives when one is given. + ***************************************************************************/ + private static String many(int count, String properties, IntFunction value) throws Exception + { + ObjectNode scene = (ObjectNode) Wire.JSON.readTree(scene("")); + ArrayNode elements = (ArrayNode) scene.get("elements"); + for(int index = 0; index < count; index++) + { + ObjectNode element = ((ObjectNode) Wire.JSON.readTree(json("{'type':'text'," + properties + "}"))).put("id", "t" + index); + elements.add(value == null ? element : element.put("value", value.apply(index))); + } + return (Wire.JSON.writeValueAsString(scene)); + } + + + + /*************************************************************************** + ** The scene an independent review measured: text of 1024 characters, type + ** of 1000 pt that may shrink to 1 pt, at 600 dpi, in a box it fits at no + ** size. Each fit took 140 to 250 ms, twice an element, and a scene may hold + ** a thousand elements: minutes, ended by the worker's 15 s of processor + ** with no refusal named. A thousand of them are now each refused by name, + ** validated (the proof of 1024 characters) and rendered (a value of 1024 + ** characters), inside the work one scene may take: so in a known number of + ** steps on any machine. The time is printed, and held inside the worker's + ** limit. + ***************************************************************************/ + @Test + void aThousandOfTheWorstTextsAreRefusedByNameInsideTheWorkOfOneScene() throws Exception + { + String worst = "'valuePath':'/record/name','maxLength':1024,'font':'qqq-sans','size':'1000pt','width':'1mm','height':'1mm'"; + String refusing = many(1000, worst + ",'fit':{'shrinkTo':'1pt','maxLines':64}", null); + for(String operation : List.of("VALIDATE", "RENDER")) + { + long start = System.nanoTime(); + List> errors = errors(bound(operation, refusing, "W".repeat(1024)).put("targetDpi", 600)); + long milliseconds = (System.nanoTime() - start) / 1_000_000; + assertEquals(1000, errors.size()); + for(Map diagnostic : errors) + { + assertEquals("TEXT_DOES_NOT_FIT", diagnostic.get("code"), "each is refused for what it is, none for the work: " + diagnostic); + assertEquals(List.of(100, 1024), List.of(((Map) diagnostic.get("measured")).get("sizeCentipoints"), ((Map) diagnostic.get("measured")).get("characters"))); + } + System.out.println("1000 text elements of 1024 characters, 1000 pt to 1 pt at 600 dpi: " + operation + " refused them in " + milliseconds + " ms"); + assertTrue(milliseconds < 15_000, "inside the processor time a worker is allowed: " + milliseconds + " ms"); + } + + //////////////////////////////////////////////////////////////////////////////////////////// + // cut instead of refused, the same thousand are within the work too: validated, each is // + // proven not to fit and then how much of it does, and each is warned; rendered, each is // + // cut // + //////////////////////////////////////////////////////////////////////////////////////////// + String cutting = many(1000, worst + ",'fit':{'shrinkTo':'1pt','maxLines':64,'overflow':'truncate'}", null); + long start = System.nanoTime(); + List> warned = findings(SceneFixture.request("VALIDATE", cutting).put("targetDpi", 600), "FIT_NOT_PROVEN"); + List> cut = findings(bound("RENDER", cutting, "W".repeat(1024)).put("targetDpi", 600), "TEXT_TRUNCATED"); + long milliseconds = (System.nanoTime() - start) / 1_000_000; + assertEquals(1000, warned.size()); + assertEquals(1000, cut.size()); + assertEquals(Map.of("provenCharacters", 1), warned.get(999).get("measured")); + assertEquals(Map.of("characters", 1024), warned.get(999).get("limit")); + System.out.println("1000 text elements of 1024 characters, 1000 pt to 1 pt at 600 dpi, cut: validated and rendered in " + milliseconds + " ms"); + assertTrue(milliseconds < 15_000, "inside the processor time a worker is allowed: " + milliseconds + " ms"); + } + + + + /*************************************************************************** + ** The text of one scene may take a stated amount of work. A scene that + ** passes it is refused at the element that did, by name and with the count + ** against the allowance, and every text after it is refused the same way + ** without being fitted. The count is the same whether the scene is + ** validated or rendered. Here the work is glyphs: each element draws eight + ** hundred different characters at a size of its own, each of which the + ** runtime must rasterise once. + ***************************************************************************/ + @Test + void aSceneWhoseTextPassesItsWorkIsRefusedByName() throws Exception + { + StringBuilder characters = new StringBuilder(); + FaceTest.drawn(Face.MONO_BOLD).stream().filter(codePoint -> Face.MONO_BOLD.glyph(codePoint).ink()).limit(800).forEach(characters::appendCodePoint); + String properties = "'font':'qqq-mono-bold','height':'6mm','fit':{'maxLines':8}"; + ObjectNode scene = (ObjectNode) Wire.JSON.readTree(many(30, properties, index -> characters.toString())); + for(int index = 0; index < 30; index++) + { + ((ObjectNode) scene.get("elements").get(index)).put("size", "2." + String.format(Locale.ROOT, "%03d", index) + "pt"); + } + String source = Wire.JSON.writeValueAsString(scene); + + Map refusal = refused(SceneFixture.request("VALIDATE", source)); + int steps = (int) ((Map) refusal.get("measured")).get("textWorkSteps"); + assertEquals(Map.of("code", "SCENE_INVALID", "severity", "ERROR", "element", "t19", "pointer", "/elements/19", "box", List.of(0, 0, 764, 47), "measured", Map.of("textWorkSteps", steps), "limit", Map.of("textWorkSteps", 64_000_000)), refusal); + assertEquals(TextElement.SCENE_WORK_STEPS, 64_000_000); + assertTrue(steps > 64_000_000 && steps < 64_000_000 + 800 * TextRaster.GLYPH_STEPS + 800 * TextRaster.PEN_STEPS + 1, "passed by no more than the glyphs of one element: " + steps); + assertEquals(refusal, refused(SceneFixture.request("RENDER", source)), "rendering counts what validation counts"); + + List> collected = errors(SceneFixture.request("VALIDATE", source)); + assertEquals(11, collected.size(), "the element that passed the work and every text after it: " + collected); + for(int index = 0; index < collected.size(); index++) + { + Map diagnostic = collected.get(index); + assertEquals(List.of("SCENE_INVALID", "t" + (19 + index), "/elements/" + (19 + index)), List.of(diagnostic.get("code"), diagnostic.get("element"), diagnostic.get("pointer"))); + assertTrue((int) ((Map) diagnostic.get("measured")).get("textWorkSteps") >= steps); + } + + //////////////////////////////////////////////////////////////////////////////////////////// + // the same glyphs at one size are rasterised once, however many elements draw them: all // + // thirty are within the work // + //////////////////////////////////////////////////////////////////////////////////////////// + String same = many(30, properties + ",'size':'2pt'", index -> characters.toString()); + assertEquals("OK", RendererMain.process(SceneFixture.request("VALIDATE", same)).get("outcome")); + assertEquals("OK", RendererMain.process(SceneFixture.request("RENDER", same)).get("outcome")); + } + + + + /*************************************************************************** + ** A text whose ink the rasteriser puts outside what was measured is refused + ** as the one element, by name, with how many glyphs and dots strayed and at + ** what size; it is not an exception that ends the whole render. No bundled + ** face does this at any size from 1 pt to 1000 pt (`FaceTest`, + ** `TextRasterTest`), so the refusal is made here from the counts + ** `TextRaster` gives, which `TextRasterTest` forces. + ***************************************************************************/ + @Test + void inkOutsideTheMeasureIsARefusalOfTheOneElement() + { + Diagnostics diagnostics = new Diagnostics(true); + diagnostics.declare("t", "/elements/0"); + Frame frame = new Frame(4, 6, 200, 40); + TextElement.measured(diagnostics, "t", frame, new TextRaster.Stray(0, 0), 9000); + for(TextRaster.Stray stray : List.of(new TextRaster.Stray(2, 0), new TextRaster.Stray(0, 31), new TextRaster.Stray(1, 7))) + { + Refusal refusal = assertThrows(Refusal.class, () -> TextElement.measured(diagnostics, "t", frame, stray, 9250)); + assertEquals(Map.of("code", "TEXT_DOES_NOT_FIT", "severity", "ERROR", "element", "t", "box", List.of(4, 6, 200, 40), + "measured", Map.of("glyphsOutsideMeasure", stray.glyphs(), "dotsOutsideMeasure", stray.dots(), "sizeCentipoints", 925), "limit", Map.of("glyphsOutsideMeasure", 0, "dotsOutsideMeasure", 0)), refusal.diagnostic().wire()); + diagnostics.keep(refusal); + } + assertTrue(diagnostics.refused()); + assertEquals(3, diagnostics.findings().size()); + } +} diff --git a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextFitTest.java b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextFitTest.java new file mode 100644 index 0000000..a91f375 --- /dev/null +++ b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextFitTest.java @@ -0,0 +1,871 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.util.Arrays; +import java.util.List; +import java.util.Random; +import com.kingsrook.qbits.renderer.scene2.Scene2; +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + + +/******************************************************************************* + ** The fit rules, by example and as properties over seeded, deterministic + ** generators (fixed seeds, no clock): text, face, box, size, floor, lines and + ** resolution. + *******************************************************************************/ +class TextFitTest +{ + static final long[] SEEDS = {20261112L, 7L, 4242L}; + static final int CASES = 600; + + + + /*************************************************************************** + ** One generated case. + ***************************************************************************/ + record Case(TextFit.Request request, String text) + { + /************************************************************************ + ** The same case with another nominal size and floor, and no cutting. + ************************************************************************/ + Case at(int nominal, int floor) + { + TextFit.Request from = request; + return (new Case(new TextFit.Request(from.face(), from.width(), from.height(), from.dpi(), nominal, floor, from.lineHeight(), from.maxLines(), false), text)); + } + + + + /************************************************************************ + ** The same case for another text. + ************************************************************************/ + Case of(String other) + { + return (new Case(request, other)); + } + + + + /************************************************************************ + ** Fit it. + ************************************************************************/ + TextFit.Block fit() + { + return (TextFit.fit(request, request.face().glyphs(text), request.face().glyph(TextFit.MARK))); + } + } + + + + /*************************************************************************** + ** A request in a box, with the face's own line pitch, one line, no cutting. + ***************************************************************************/ + static TextFit.Request request(Face face, int width, int height, int nominal, int floor) + { + return (new TextFit.Request(face, width, height, 203, nominal, floor, null, 1, false)); + } + + + + /*************************************************************************** + ** The same request with more lines, and cutting or not. + ***************************************************************************/ + static TextFit.Request lines(TextFit.Request request, int maxLines, boolean truncate) + { + return (new TextFit.Request(request.face(), request.width(), request.height(), request.dpi(), request.nominal(), request.floor(), request.lineHeight(), maxLines, truncate)); + } + + + + /*************************************************************************** + ** Fit a text of a face's own characters. + ***************************************************************************/ + static TextFit.Block fit(TextFit.Request request, String text) + { + return (new Case(request, text).fit()); + } + + + + /*************************************************************************** + ** The characters of each line, with `~` where the ellipsis is. + ***************************************************************************/ + static List shown(TextFit.Block block, String text) + { + return (block.lines().stream().map(line -> text.substring(line.from(), line.to()) + (line.marked() ? "~" : "")).toList()); + } + + + + /*************************************************************************** + ** A generated case: labels are small boxes, short values and type from 5 to + ** 30 pt. A third of the texts have no space, as identifiers do. + ***************************************************************************/ + static Case generate(Random random) + { + Face face = Face.all().get(random.nextInt(Face.all().size())); + int dpi = Scene2.RESOLUTIONS.get(random.nextInt(3)); + int nominal = 5000 + random.nextInt(101) * 250 + (random.nextInt(4) == 0 ? random.nextInt(250) : 0); + int floor = switch(random.nextInt(4)) + { + case 0 -> nominal; + case 1 -> Math.max(1000, nominal * 7 / 10); + default -> 1000 + random.nextInt(nominal - 999); + }; + Integer lineHeight = random.nextInt(3) == 0 ? Integer.valueOf(700 + random.nextInt(1500)) : null; + int width = (20 + random.nextInt(700)) * dpi / 203; + int height = (8 + random.nextInt(160)) * dpi / 203; + String alphabet = switch(random.nextInt(3)) + { + case 0 -> "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-()/."; + case 1 -> "abcdefghijklmnopqrstuvwxyzWMfjgyÅé‰ "; // A ring, e acute, per mille + default -> "il1.,' WM@‰⁄ǺĢ "; // per mille, fraction slash, A ring acute, G cedilla: the widest and furthest-reaching + }; + StringBuilder text = new StringBuilder(); + int length = random.nextInt(48); + boolean spaces = random.nextInt(3) != 0; + for(int index = 0; index < length; index++) + { + text.append(spaces && random.nextInt(6) == 0 ? ' ' : alphabet.charAt(random.nextInt(alphabet.length()))); + } + return (new Case(new TextFit.Request(face, width, height, dpi, nominal, floor, lineHeight, 1 + random.nextInt(4), random.nextInt(3) == 0), text.toString())); + } + + + + /*************************************************************************** + ** The search `fit` must agree with, made in full: every quarter-point step + ** from the nominal size down to the floor, each laid out between words and + ** then at any character, the first that fits taken. This is the search the + ** fit was first written as. It shares with `fit` only the layout at one + ** size (`TextFit.at`), and none of what `fit` uses to skip sizes. + ***************************************************************************/ + static TextFit.Block linear(TextFit.Request request, Face.Glyph[] glyphs, Face.Glyph mark, TextFit.Work work) + { + int count = glyphs.length; + while(count > 0 && glyphs[count - 1].space()) + { + count--; + } + int size = request.nominal(); + while(true) + { + TextFit.Block block = TextFit.at(request, TextFit.Leading.of(request), size, glyphs, count, mark, work); + if(block.fits() || size == request.floor()) + { + return (block); + } + size = Math.max(request.floor(), size - TextFit.STEP_MILLIPOINTS); + } + } + + + + /*************************************************************************** + ** A generated case over everything a scene may state: type from 1 pt to + ** 1000 pt with a floor anywhere under it, boxes from a few dots to a large + ** label, up to 64 lines, any line height, and texts of up to 160 + ** characters, some without a space, some of the widest and + ** furthest-reaching characters, some led or followed by spaces. + ***************************************************************************/ + static Case wide(Random random) + { + Face face = Face.all().get(random.nextInt(Face.all().size())); + int dpi = Scene2.RESOLUTIONS.get(random.nextInt(3)); + int nominal = switch(random.nextInt(4)) + { + case 0 -> 1000 + random.nextInt(9001); + case 1 -> 5000 + random.nextInt(30_001); + case 2 -> 20_000 + random.nextInt(280_001); + default -> 1000 + random.nextInt(999_001); + }; + int floor = switch(random.nextInt(4)) + { + case 0 -> 1000; + case 1 -> Math.max(1000, nominal / 10); + case 2 -> Math.max(1000, nominal - random.nextInt(4000)); + default -> 1000 + random.nextInt(nominal - 999); + }; + Integer lineHeight = random.nextInt(3) == 0 ? Integer.valueOf(500 + random.nextInt(4501)) : null; + int width = switch(random.nextInt(3)) + { + case 0 -> 1 + random.nextInt(60); + case 1 -> 20 + random.nextInt(700); + default -> 200 + random.nextInt(6000); + }; + int height = switch(random.nextInt(3)) + { + case 0 -> 1 + random.nextInt(40); + case 1 -> 8 + random.nextInt(300); + default -> 100 + random.nextInt(4000); + }; + String alphabet = switch(random.nextInt(4)) + { + case 0 -> "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-()/."; + case 1 -> "abcdefghijklmnopqrstuvwxyzWMfjgyÅé‰ "; // A ring, e acute, per mille + case 2 -> "il1.,' WM@‰⁄ǺĢ "; // per mille, fraction slash, A ring acute, G cedilla: the widest and furthest-reaching + default -> new String(Character.toChars(face.widest())) + "j "; // the widest, a letter that starts left of the pen, a no-break space + }; + StringBuilder text = new StringBuilder(random.nextInt(5) == 0 ? " " : ""); + int length = random.nextInt(4) == 0 ? random.nextInt(160) : random.nextInt(40); + int spaces = random.nextInt(3); + for(int index = 0; index < length; index++) + { + text.append(spaces > 0 && random.nextInt(spaces == 1 ? 6 : 2) == 0 ? ' ' : alphabet.charAt(random.nextInt(alphabet.length()))); + } + return (new Case(new TextFit.Request(face, width, height, dpi, nominal, floor, lineHeight, 1 + random.nextInt(random.nextInt(3) == 0 ? 64 : 4), random.nextInt(3) == 0), text.toString())); + } + + + + /*************************************************************************** + ** Dots are thousandths of the em times the size times the resolution over + ** 72 000 000, rounded down, up or to the nearest: checked against exact + ** decimal arithmetic, negative lengths included. + ***************************************************************************/ + @Test + void theScaleRoundsExactly() + { + Random random = new Random(SEEDS[0]); + for(int index = 0; index < 5000; index++) + { + TextFit.Scale scale = new TextFit.Scale(1000 + random.nextInt(999_001), Scene2.RESOLUTIONS.get(random.nextInt(3))); + long units = random.nextInt(3_000_001) - 1_500_000L; + BigDecimal exact = BigDecimal.valueOf(units).multiply(BigDecimal.valueOf(scale.milliPoints())).multiply(BigDecimal.valueOf(scale.dpi())).divide(BigDecimal.valueOf(72_000_000L), 12, RoundingMode.HALF_EVEN); + assertEquals(exact.setScale(0, RoundingMode.FLOOR).intValueExact(), scale.floor(units)); + assertEquals(exact.setScale(0, RoundingMode.CEILING).intValueExact(), scale.ceil(units)); + assertEquals(exact.add(new BigDecimal("0.5")).setScale(0, RoundingMode.FLOOR).intValueExact(), scale.round(units)); + } + assertEquals(25.375f, new TextFit.Scale(9000, 203).size()); + assertEquals(100f, new TextFit.Scale(12_000, 600).size()); + assertEquals(List.of(25, 26, 25), List.of(new TextFit.Scale(9000, 203).floor(1000), new TextFit.Scale(9000, 203).ceil(1000), new TextFit.Scale(9000, 203).round(1000))); + assertEquals(List.of(-26, -25, -25), List.of(new TextFit.Scale(9000, 203).floor(-1000), new TextFit.Scale(9000, 203).ceil(-1000), new TextFit.Scale(9000, 203).round(-1000))); + } + + + + /*************************************************************************** + ** The default: one line. A text that fits at its size keeps it; one that + ** does not is reduced a quarter point at a time to the largest size that + ** fits; one that does not fit at the floor is refused with what it + ** measured there. + ***************************************************************************/ + @Test + void oneLineShrinksToTheLargestSizeThatFitsThenRefuses() + { + //////////////////////////////////////////////////////////////////////////////////////////// + // 9 pt at 203 dpi is 25.375 dots to the em and the monospace advances 0.6 em: 12 letters // + // are 183 dots, and the line is 2 dots wider on each inked side // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Block fits = fit(request(Face.MONO_BOLD, 200, 40, 9000, 6300), "ABCDEFGHIJKL"); + assertTrue(fits.fits() && !fits.truncated()); + assertEquals(9000, fits.milliPoints()); + assertEquals(List.of("ABCDEFGHIJKL"), shown(fits, "ABCDEFGHIJKL")); + assertEquals(12, fits.characters()); + assertTrue(fits.width() >= 183 && fits.width() <= 187, "width " + fits.width()); + assertEquals(fits.width(), fits.lines().get(0).width()); + assertEquals(List.of(26, 34), List.of(fits.baseline(), fits.height()), "ascent 1.02 em and descent 0.3 em, each rounded up"); + + TextFit.Block shrunk = fit(request(Face.MONO_BOLD, 160, 40, 9000, 6300), "ABCDEFGHIJKL"); + assertTrue(shrunk.fits() && shrunk.milliPoints() < 9000 && shrunk.milliPoints() >= 6300 && shrunk.milliPoints() % 250 == 0); + assertTrue(shrunk.width() <= 160); + assertFalse(fit(request(Face.MONO_BOLD, 160, 40, shrunk.milliPoints() + 250, shrunk.milliPoints() + 250), "ABCDEFGHIJKL").fits(), "a quarter point larger does not fit"); + + TextFit.Block refused = fit(request(Face.MONO_BOLD, 100, 40, 9000, 6300), "ABCDEFGHIJKL"); + assertFalse(refused.fits()); + assertEquals(6300, refused.milliPoints()); + assertTrue(refused.lines().size() > 1 && refused.width() <= 100, "measured broken at any character: " + refused); + assertEquals(12, refused.shown()); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the floor need not be on the quarter-point grid from the size: it is the last size // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Block floor = fit(request(Face.MONO_BOLD, 134, 40, 9000, 6400), "ABCDEFGHIJKL"); + assertTrue(floor.fits()); + assertEquals(6400, floor.milliPoints()); + + //////////////////////////////////////////////////////////////////////////////////////////// + // too tall is refused as too wide is: the box is 20 dots high and the floor needs 25 // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Block tall = fit(request(Face.MONO_BOLD, 400, 20, 9000, 6300), "ABC"); + assertFalse(tall.fits()); + assertTrue(tall.height() > 20 && tall.lines().size() == 1); + } + + + + /*************************************************************************** + ** Nothing to draw always fits: an empty value, or one of spaces only. + ** Spaces at the end of a text take no room; spaces at its start do. + ***************************************************************************/ + @Test + void spacesAtTheEndTakeNoRoom() + { + for(String blank : List.of("", " ", " ")) + { + TextFit.Block block = fit(request(Face.SANS, 1, 1, 9000, 9000), blank); + assertTrue(block.fits() && block.lines().isEmpty() && !block.truncated()); + assertEquals(List.of(0, 0, 0, 0), List.of(block.width(), block.height(), block.characters(), block.shown())); + } + TextFit.Request request = request(Face.SANS_BOLD, 300, 40, 9000, 9000); + TextFit.Block plain = fit(request, "AB"); + assertEquals(plain, fit(request, "AB ")); + TextFit.Block led = fit(request, " AB"); + int shift = new TextFit.Scale(9000, 203).round(2L * Face.SANS_BOLD.glyph(' ').advance()); + assertTrue(shift > 8 && led.width() >= plain.width() + shift - 2 * TextFit.SLOP && led.width() <= plain.width() + shift + 1, plain.width() + " then " + led.width()); + assertEquals(4, led.characters()); + } + + + + /*************************************************************************** + ** With more lines allowed, a line is broken between words while that fits, + ** and at any character when it does not: a larger size is preferred to + ** whole words, and a value with no space wraps. + ***************************************************************************/ + @Test + void linesBreakBetweenWordsAndThenAtAnyCharacter() + { + //////////////////////////////////////////////////////////////////////////////////////////// + // the monospace at 9 pt, 203 dpi advances 15.225 dots: a 100 dot box holds 6 letters // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Request box = request(Face.MONO, 100, 200, 9000, 9000); + assertEquals(List.of("AAA", "BBB", "CCC"), shown(fit(lines(box, 3, false), "AAA BBB CCC"), "AAA BBB CCC")); + assertEquals(List.of("AAA BB", "CCC"), shown(fit(lines(box, 2, false), "AAA BB CCC"), "AAA BB CCC"), "spaces at a break are dropped"); + assertEquals(List.of("AAA BB", "B CCC"), shown(fit(lines(box, 2, false), "AAA BBB CCC"), "AAA BBB CCC"), "two lines only when broken at any character"); + assertEquals(List.of("L24061", "1A-RET", "URNED"), shown(fit(lines(box, 3, false), "L240611A-RETURNED"), "L240611A-RETURNED")); + assertEquals(9000, fit(lines(box, 2, false), "AAA BBB CCC").milliPoints()); + + TextFit.Block refused = fit(lines(box, 2, false), "L240611A-RETURNED"); + assertFalse(refused.fits()); + assertEquals(3, refused.lines().size()); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a stated line height sets the distance between baselines; the block is one ascent, // + // the pitches between, and one descent // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Block natural = fit(lines(box, 3, false), "AAA BBB CCC"); + assertEquals(List.of(34, 26, 26 + 2 * 34 + 8), List.of(natural.pitch(), natural.baseline(), natural.height())); + TextFit.Block tight = TextFit.fit(new TextFit.Request(Face.MONO, 100, 200, 203, 9000, 9000, 1000, 3, false), Face.MONO.glyphs("AAA BBB CCC"), null); + assertEquals(List.of(26, 26, 26 + 2 * 26 + 8), List.of(tight.pitch(), tight.baseline(), tight.height())); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a character wider than the box stands alone on a line that does not fit // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Block narrow = fit(lines(request(Face.MONO, 10, 200, 9000, 9000), 4, false), "AB"); + assertFalse(narrow.fits()); + assertEquals(List.of("A", "B"), shown(narrow, "AB")); + assertTrue(narrow.width() > 10); + } + + + + /*************************************************************************** + ** Cutting happens only when the element asked for it and only when the text + ** fits at no size down to the floor. The last line that fits ends with the + ** ellipsis after as many characters as fit beside it; when not even the + ** ellipsis fits, the text is refused. + ***************************************************************************/ + @Test + void truncationIsOnlyWhenAskedAndAlwaysShowsTheMark() + { + String text = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + TextFit.Request box = request(Face.MONO, 100, 80, 9000, 9000); + assertFalse(fit(box, text).fits()); + assertFalse(fit(lines(box, 2, false), text).truncated()); + + TextFit.Block cut = fit(lines(box, 1, true), text); + assertTrue(cut.fits() && cut.truncated()); + assertEquals(List.of("ABCDE~"), shown(cut, text)); + assertEquals(List.of(26, 5), List.of(cut.characters(), cut.shown())); + assertTrue(cut.width() <= 100); + + TextFit.Block two = fit(lines(box, 2, true), text); + assertEquals(List.of("ABCDEF", "GHIJK~"), shown(two, text)); + assertEquals(11, two.shown()); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the box is high enough for one line only: the second is given up for the mark // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Block low = fit(lines(request(Face.MONO, 100, 40, 9000, 9000), 3, true), text); + assertEquals(List.of("ABCDE~"), shown(low, text)); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a text that fits is not cut and has no mark, though cutting is allowed; one that fits // + // after shrinking is shrunk, not cut // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(List.of("ABCDEF"), shown(fit(lines(box, 1, true), "ABCDEF"), "ABCDEF")); + TextFit.Block shrunk = fit(lines(request(Face.MONO, 100, 80, 9000, 6000), 1, true), "ABCDEFGH"); + assertTrue(shrunk.fits() && !shrunk.truncated() && shrunk.milliPoints() < 9000); + + //////////////////////////////////////////////////////////////////////////////////////////// + // spaces before the mark are dropped; the mark may stand alone; and where it cannot // + // stand at all, or a line is too high, the answer is the refusal // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(List.of("ABC~"), shown(fit(lines(box, 1, true), "ABC DEFGHIJKL"), "ABC DEFGHIJKL")); + assertEquals(List.of("~"), shown(fit(lines(request(Face.MONO, 22, 80, 9000, 9000), 1, true), text), text)); + assertFalse(fit(lines(request(Face.MONO, 12, 80, 9000, 9000), 1, true), text).fits()); + assertFalse(fit(lines(request(Face.MONO, 100, 20, 9000, 9000), 1, true), text).fits()); + assertFalse(fit(lines(request(Face.MONO, 400, 20, 9000, 9000), 1, true), "ABC").fits(), "a line that is too high is too high with the mark"); + + //////////////////////////////////////////////////////////////////////////////////////////// + // the last line of a text is cut too when the text fits at no size: here one letter is // + // wider than the box and the mark is not, and here an accent above the ascent is too // + // high for the box and is given up for the mark // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(List.of("~"), shown(fit(lines(request(Face.SANS, 26, 80, 9000, 9000), 1, true), "\u2030"), "\u2030")); // per mille + TextFit.Request shallow = lines(request(Face.SANS_BOLD, 200, 36, 9000, 9000), 1, true); + assertTrue(fit(shallow, "ABC").fits() && !fit(shallow, "ABC").truncated()); + assertEquals(List.of("AB~"), shown(fit(shallow, "AB\u01FA"), "AB\u01FA")); // A ring acute + assertFalse(fit(lines(shallow, 1, false), "AB\u01FA").fits()); // A ring acute + + //////////////////////////////////////////////////////////////////////////////////////////// + // broken at any character, spaces at the start of a text stay on a line of their own // + // rather than push the first letter out of the box // + //////////////////////////////////////////////////////////////////////////////////////////// + assertEquals(List.of(" ", "ABCDE"), shown(fit(lines(box, 2, false), " ABCDE"), " ABCDE")); + assertEquals(List.of(" ABCD", "E"), shown(fit(lines(box, 2, false), " ABCDE"), " ABCDE")); + } + + + + /*************************************************************************** + ** Property: the answer is a layout inside the box or a refusal whose + ** measurement exceeds its limit. The size is never above the nominal and + ** never below the floor; it is on the quarter-point steps from the nominal + ** or is the floor. The lines are the text in order, whole unless cut, and + ** never more than allowed. A text is cut only when asked, only at the + ** floor, and then its last line carries the mark. + ***************************************************************************/ + @Test + void theAnswerIsALayoutInsideTheBoxOrARefusalThatMeasuresMore() + { + int fitted = 0; + int refused = 0; + int cut = 0; + for(long seed : SEEDS) + { + Random random = new Random(seed); + for(int index = 0; index < CASES; index++) + { + Case generated = generate(random); + TextFit.Request request = generated.request(); + TextFit.Block block = generated.fit(); + String about = "seed " + seed + " case " + index + ": " + request + " for " + generated.text().length() + " characters gave " + block; + String trimmed = generated.text().stripTrailing(); + assertEquals(trimmed.length(), block.characters(), about); + assertTrue(block.milliPoints() <= request.nominal() && block.milliPoints() >= request.floor(), about); + assertTrue(block.milliPoints() == request.floor() || (request.nominal() - block.milliPoints()) % TextFit.STEP_MILLIPOINTS == 0, about); + int next = 0; + for(int line = 0; line < block.lines().size(); line++) + { + TextFit.Line each = block.lines().get(line); + assertTrue(trimmed.substring(next, each.from()).isBlank() && each.to() >= each.from() && each.left() <= 0 && each.width() <= block.width(), about); + assertTrue(each.to() > each.from() || each.marked(), about); + assertTrue(each.to() == each.from() || trimmed.charAt(each.to() - 1) != ' ' || !each.marked(), about + ": a space before the mark"); + assertEquals(each.marked(), block.truncated() && line == block.lines().size() - 1, about); + next = each.to(); + } + assertEquals(block.shown(), next, about); + if(block.fits()) + { + fitted++; + assertTrue(block.lines().size() <= request.maxLines() && block.width() <= request.width() && block.height() <= request.height(), about); + } + else + { + refused++; + assertTrue(block.lines().size() > request.maxLines() || block.width() > request.width() || block.height() > request.height(), about); + assertEquals(request.floor(), block.milliPoints(), about); + assertFalse(block.truncated(), about); + } + if(block.truncated()) + { + cut++; + assertTrue(request.truncate() && block.fits() && block.milliPoints() == request.floor() && block.shown() < block.characters(), about); + assertFalse(generated.at(request.floor(), request.floor()).fit().fits(), about); + } + else + { + assertEquals(trimmed.length(), block.shown(), about); + } + } + } + assertTrue(fitted > 300 && refused > 300 && cut > 50, "the cases must reach every outcome: " + fitted + " fitted, " + refused + " refused, " + cut + " cut"); + } + + + + /*************************************************************************** + ** Property: a text that fits at its nominal size is never shrunk, and the + ** size chosen is the largest that fits: the step above it does not. + ***************************************************************************/ + @Test + void aTextThatFitsIsNeverShrunkAndTheChosenSizeIsTheLargestThatFits() + { + int kept = 0; + int shrunk = 0; + for(long seed : SEEDS) + { + Random random = new Random(seed); + for(int index = 0; index < CASES; index++) + { + Case generated = generate(random); + TextFit.Request request = generated.request(); + TextFit.Block block = generated.fit(); + String about = "seed " + seed + " case " + index + ": " + request + " gave " + block; + TextFit.Block nominal = generated.at(request.nominal(), request.nominal()).fit(); + if(nominal.fits()) + { + kept++; + assertEquals(nominal, block, about); + assertEquals(request.nominal(), block.milliPoints(), about); + } + else if(block.fits() && !block.truncated()) + { + shrunk++; + assertTrue(block.milliPoints() < request.nominal(), about); + int steps = (request.nominal() - block.milliPoints() - 1) / TextFit.STEP_MILLIPOINTS; + int above = request.nominal() - steps * TextFit.STEP_MILLIPOINTS; + assertTrue(above > block.milliPoints() && above - block.milliPoints() <= TextFit.STEP_MILLIPOINTS, about); + assertFalse(generated.at(above, above).fit().fits(), about + ", yet it fits at " + above); + assertEquals(block, generated.at(block.milliPoints(), block.milliPoints()).fit(), about); + } + } + } + assertTrue(kept > 200 && shrunk > 100, "the cases must reach both: " + kept + " kept, " + shrunk + " shrunk"); + } + + + + /*************************************************************************** + ** Property: in the same box a shorter text never gets a smaller size than a + ** longer one that starts with it, and fits whenever the longer one does. + ***************************************************************************/ + @Test + void aShorterTextNeverGetsASmallerSizeThanALongerOne() + { + int compared = 0; + for(long seed : SEEDS) + { + Random random = new Random(seed); + for(int index = 0; index < CASES; index++) + { + Case generated = generate(random); + if(generated.text().isEmpty()) + { + continue; + } + Case all = generated.at(generated.request().nominal(), generated.request().floor()); + TextFit.Block longer = all.fit(); + TextFit.Block shorter = all.of(generated.text().substring(0, random.nextInt(generated.text().length()))).fit(); + String about = "seed " + seed + " case " + index + ": " + all.request() + " gave " + shorter + " and then " + longer; + if(longer.fits()) + { + compared++; + assertTrue(shorter.fits() && shorter.milliPoints() >= longer.milliPoints() && shorter.lines().size() <= longer.lines().size(), about); + } + else + { + assertTrue(!shorter.fits() || shorter.milliPoints() >= longer.milliPoints(), about); + } + } + } + assertTrue(compared > 300, "compared " + compared); + } + + + + /*************************************************************************** + ** Property: when the longest value is proven to fit (that many of the + ** face's worst character), no text of up to that many characters is + ** refused, whatever its characters, with spaces or without, cut or not. + ***************************************************************************/ + @Test + void aProvenLengthImpliesNoRefusalForAnyTextUpToThatLength() + { + int proven = 0; + int tried = 0; + for(long seed : SEEDS) + { + Random random = new Random(seed); + for(int index = 0; index < CASES; index++) + { + Case generated = generate(random); + TextFit.Request request = generated.request(); + Face face = request.face(); + int maxLength = 1 + random.nextInt(40); + Face.Glyph[] worst = new Face.Glyph[maxLength]; + Arrays.fill(worst, face.worst()); + TextFit.Block proof = TextFit.fit(request, worst, face.glyph(TextFit.MARK)); + if(!proof.fits()) + { + continue; + } + proven++; + List drawn = FaceTest.drawn(face); + for(int attempt = 0; attempt < 12; attempt++) + { + StringBuilder text = new StringBuilder(); + int length = attempt == 0 ? maxLength : 1 + random.nextInt(maxLength); + for(int character = 0; character < length; character++) + { + int choice = attempt % 4; + text.appendCodePoint(choice == 0 ? face.widest() : choice == 1 && random.nextInt(5) == 0 ? ' ' : choice == 3 ? "⁄Ǻ̉Wj".charAt(random.nextInt(6)) : drawn.get(random.nextInt(drawn.size()))); + } + tried++; + TextFit.Block block = generated.of(text.toString()).fit(); + assertTrue(block.fits(), () -> "seed " + seed + ": " + request + " proves " + maxLength + " characters with " + proof + " yet refuses " + text.length() + " as " + block); + assertTrue(block.milliPoints() >= proof.milliPoints(), "a real text is never smaller than the proof"); + } + } + } + assertTrue(proven > 150 && tried > 1500, "proven " + proven + ", tried " + tried); + } + + + + /*************************************************************************** + ** The proof agrees with rendering for the widest character: the longest + ** length it proves is drawn, and it is short of the longest that is really + ** drawn by no more than one character a line, which is the room the proof + ** keeps for characters that reach past their advance. + ***************************************************************************/ + @Test + void theProofAgreesWithTheWidestCharacters() + { + for(Face face : Face.all()) + { + for(int dpi : Scene2.RESOLUTIONS) + { + for(int maxLines : List.of(1, 2, 3)) + { + TextFit.Request request = new TextFit.Request(face, 700 * dpi / 203, 150 * dpi / 203, dpi, 11_000, 7000, null, maxLines, false); + int proven = 0; + int drawn = 0; + for(int length = 1; length <= 200; length++) + { + Face.Glyph[] worst = new Face.Glyph[length]; + Arrays.fill(worst, face.worst()); + proven = TextFit.fit(request, worst, null).fits() ? length : proven; + drawn = fit(request, new String(Character.toChars(face.widest())).repeat(length)).fits() ? length : drawn; + } + String about = face.scene() + " at " + dpi + " dpi on " + maxLines + " lines: proven " + proven + ", drawn " + drawn; + assertTrue(proven >= 20 * maxLines && drawn < 200, about); + assertTrue(proven <= drawn && drawn - proven <= maxLines, about); + } + } + } + } + + + /*************************************************************************** + ** Property: the answer is exactly the one the search of every size gives: + ** the same size, the same lines, the same numbers, fitted, refused or cut. + ** Held over the cases labels use and over everything a scene may state, + ** and for a proof of the face's worst character as for a text. The search + ** of every size visits far more characters than `fit` does. + ***************************************************************************/ + @Test + void theAnswerIsExactlyThatOfTheSearchOfEverySize() + { + int fitted = 0; + int shrunk = 0; + int refused = 0; + int cut = 0; + int deep = 0; + long spent = 0; + long searched = 0; + for(long seed : SEEDS) + { + Random random = new Random(seed); + for(int index = 0; index < 2 * CASES; index++) + { + Case generated = index < CASES ? generate(random) : wide(random); + TextFit.Request request = generated.request(); + Face face = request.face(); + Face.Glyph[] glyphs = face.glyphs(generated.text()); + if(index % 7 == 0) + { + glyphs = new Face.Glyph[1 + random.nextInt(60)]; + Arrays.fill(glyphs, face.worst()); + } + TextFit.Work work = new TextFit.Work(Long.MAX_VALUE); + TextFit.Work every = new TextFit.Work(Long.MAX_VALUE); + TextFit.Block block = TextFit.fit(request, glyphs, face.glyph(TextFit.MARK), work); + TextFit.Block expected = linear(request, glyphs, face.glyph(TextFit.MARK), every); + int length = glyphs.length; + assertEquals(expected, block, () -> "seed " + seed + " case " + request + " for " + length + " characters"); + assertEquals(block, TextFit.fit(request, glyphs, face.glyph(TextFit.MARK)), "the same with no allowance stated"); + spent += work.spent(); + searched += every.spent(); + fitted += block.fits() && !block.truncated() ? 1 : 0; + shrunk += block.fits() && !block.truncated() && block.milliPoints() < request.nominal() ? 1 : 0; + deep += block.fits() && request.nominal() - block.milliPoints() > 40 * TextFit.STEP_MILLIPOINTS ? 1 : 0; + refused += block.fits() ? 0 : 1; + cut += block.truncated() ? 1 : 0; + } + } + assertTrue(fitted > 900 && shrunk > 300 && deep > 100 && refused > 500 && cut > 150, "the cases must reach every outcome: " + fitted + " fitted, " + shrunk + " shrunk, " + deep + " by more than 10 pt, " + refused + " refused, " + cut + " cut"); + assertTrue(searched > 20L * spent, "the search of every size visited " + searched + " characters, the fit " + spent); + System.out.println("3600 fits: " + spent + " characters visited, where the search of every size visits " + searched); + } + + + + /*************************************************************************** + ** The case an independent review measured at 140 to 250 ms a fit: 1024 + ** characters at 600 dpi, type of 1000 pt that may shrink to 1 pt (four + ** thousand sizes), in boxes it fits at no size, at a small size, or only + ** cut. The answer is the one the search of every size gives, for under + ** forty times the characters of the text where that search visits more + ** than ten thousand times them. The time is printed; the count is held, + ** because it is the same on every machine. + ***************************************************************************/ + @Test + void theWorstCaseOfTheShrinkSearchIsHeldToAStatedWork() + { + String wide = "W".repeat(1024); + String words = "The quick brown fox jumps over the lazy dog 0123456789 ".repeat(19).substring(0, 1024); + long most = 0; + long least = Long.MAX_VALUE; + long nanoseconds = 0; + long linearNanoseconds = 0; + int fits = 0; + for(int[] box : new int[][] {{20, 20, 64}, {20, 20, 1}, {40, 40, 64}, {200, 30, 1}, {600, 300, 64}, {2400, 1200, 64}, {2400, 1200, 1}, {9000, 30_000, 64}, {9000, 30_000, 2}}) + { + for(String text : List.of(wide, words)) + { + for(boolean truncate : List.of(false, true)) + { + TextFit.Request request = new TextFit.Request(Face.SANS, box[0], box[1], 600, 1_000_000, 1000, null, box[2], truncate); + Face.Glyph[] glyphs = Face.SANS.glyphs(text); + TextFit.Work work = new TextFit.Work(Long.MAX_VALUE); + TextFit.Work every = new TextFit.Work(Long.MAX_VALUE); + long start = System.nanoTime(); + TextFit.Block block = TextFit.fit(request, glyphs, Face.SANS.glyph(TextFit.MARK), work); + nanoseconds += System.nanoTime() - start; + start = System.nanoTime(); + assertEquals(linear(request, glyphs, Face.SANS.glyph(TextFit.MARK), every), block, () -> "in " + request); + linearNanoseconds += System.nanoTime() - start; + assertTrue(work.spent() <= 40L * 1024, "in " + request + ": " + work.spent() + " characters visited"); + most = Math.max(most, work.spent()); + least = Math.min(least, every.spent()); + fits += block.fits() ? 1 : 0; + } + } + } + assertTrue(least > 10_000L * 1024, "the search of every size visited at least " + least + " characters"); + assertTrue(fits > 20 && fits < 36, fits + " of 36 fit or are cut"); + System.out.println("1024 characters, 1000 pt to 1 pt at 600 dpi, 36 fits: at most " + most + " characters visited in a fit and " + nanoseconds / 36_000 + " microseconds a fit; the search of every size visited at least " + + least + " and took " + linearNanoseconds / 36_000 + " microseconds a fit"); + } + + + + /*************************************************************************** + ** When one line at the floor is higher than the box, no text fits at any + ** size, and that is known without searching: the text is laid out once at + ** its size and once at the floor, for the numbers a refusal reports, and + ** nothing is tried for a cut. The answer is still that of the search of + ** every size. + ***************************************************************************/ + @Test + void aBoxLowerThanOneLineAtTheFloorIsRefusedWithoutASearch() + { + String text = "The quick brown fox jumps over the lazy dog 0123456789 ".repeat(19).substring(0, 1024); + Face.Glyph[] glyphs = Face.MONO.glyphs(text); + for(boolean truncate : List.of(false, true)) + { + for(int maxLines : List.of(1, 64)) + { + //////////////////////////////////////////////////////////////////////////////////////// + // 1 pt at 600 dpi is 8.3 dots to the em: a line reserves 9 dots above its baseline // + // and 3 below, and the box is 11 high // + //////////////////////////////////////////////////////////////////////////////////////// + TextFit.Request request = new TextFit.Request(Face.MONO, 5000, 11, 600, 1_000_000, 1000, null, maxLines, truncate); + TextFit.Work work = new TextFit.Work(Long.MAX_VALUE); + TextFit.Block block = TextFit.fit(request, glyphs, Face.MONO.glyph(TextFit.MARK), work); + assertFalse(block.fits() || block.truncated()); + assertEquals(List.of(1000, 1024, 1024), List.of(block.milliPoints(), block.characters(), block.shown())); + assertTrue(block.height() > 11 && block.width() <= 5000, "measured at the floor: " + block); + assertEquals(linear(request, glyphs, Face.MONO.glyph(TextFit.MARK), new TextFit.Work(Long.MAX_VALUE)), block); + assertTrue(work.spent() <= 12L * 1024, "two layouts at each of two sizes, each at most three times the text, and no more: " + work.spent()); + } + } + assertTrue(fit(new TextFit.Request(Face.MONO, 5000, 12, 600, 1_000_000, 1000, null, 1, true), text).truncated(), "one dot higher holds a line, and so a cut"); + } + + + + /*************************************************************************** + ** Fitting counts the characters it visits against the allowance it is + ** given and ends, by name and with nothing of the text, when the allowance + ** is passed: at once when it is already passed, however little is asked. + ** The count is the same every time. + ***************************************************************************/ + @Test + void fittingEndsWhenItsAllowanceIsPassed() + { + String text = "The quick brown fox jumps over the lazy dog"; + Face.Glyph[] glyphs = Face.SANS.glyphs(text); + TextFit.Request request = new TextFit.Request(Face.SANS, 300, 60, 203, 40_000, 5000, null, 2, true); + TextFit.Work measure = new TextFit.Work(Long.MAX_VALUE); + TextFit.Block block = TextFit.fit(request, glyphs, Face.SANS.glyph(TextFit.MARK), measure); + assertTrue(block.fits() && block.milliPoints() < 40_000 && measure.spent() > 500 && measure.spent() < 2000, measure.spent() + " characters visited for " + block); + + TextFit.Work exact = new TextFit.Work(measure.spent()); + assertEquals(block, TextFit.fit(request, glyphs, Face.SANS.glyph(TextFit.MARK), exact)); + assertEquals(measure.spent(), exact.spent()); + + for(long allowance : List.of(0L, 1L, 43L, 200L, measure.spent() - 1)) + { + TextFit.Work work = new TextFit.Work(allowance); + TextFit.Exhausted exhausted = assertThrows(TextFit.Exhausted.class, () -> TextFit.fit(request, glyphs, Face.SANS.glyph(TextFit.MARK), work)); + assertEquals("TEXT_WORK_EXHAUSTED", exhausted.getMessage()); + assertEquals(0, exhausted.getStackTrace().length); + assertTrue(work.spent() > allowance && work.spent() <= allowance + 2L * text.length() + 1, "passed by no more than one line: " + work.spent() + " of " + allowance); + long passed = work.spent(); + assertThrows(TextFit.Exhausted.class, () -> TextFit.fit(request, Face.SANS.glyphs("A"), null, work)); + assertThrows(TextFit.Exhausted.class, () -> work.spend(0)); + assertTrue(work.spent() >= passed); + } + + //////////////////////////////////////////////////////////////////////////////////////////// + // a cut is counted too: every try of the last line with the mark // + //////////////////////////////////////////////////////////////////////////////////////////// + TextFit.Request narrow = new TextFit.Request(Face.SANS, 120, 40, 203, 9000, 9000, null, 1, true); + TextFit.Work cutting = new TextFit.Work(Long.MAX_VALUE); + TextFit.Work whole = new TextFit.Work(Long.MAX_VALUE); + assertTrue(TextFit.fit(narrow, glyphs, Face.SANS.glyph(TextFit.MARK), cutting).truncated()); + assertFalse(TextFit.fit(lines(narrow, 1, false), glyphs, null, whole).fits()); + assertTrue(cutting.spent() > whole.spent(), cutting.spent() + " with a cut, " + whole.spent() + " without"); + assertThrows(TextFit.Exhausted.class, () -> TextFit.fit(narrow, glyphs, Face.SANS.glyph(TextFit.MARK), new TextFit.Work(whole.spent()))); + } +} diff --git a/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextRasterTest.java b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextRasterTest.java new file mode 100644 index 0000000..1223a8b --- /dev/null +++ b/renderer/src/test/java/com/kingsrook/qbits/renderer/scene2/text/TextRasterTest.java @@ -0,0 +1,482 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2025. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.kingsrook.qbits.renderer.scene2.text; + + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; +import com.kingsrook.qbits.renderer.scene2.Canvas; +import com.kingsrook.qbits.renderer.scene2.Frame; +import com.kingsrook.qbits.renderer.scene2.Layout; +import com.kingsrook.qbits.renderer.scene2.Placement; +import com.kingsrook.qbits.renderer.scene2.Scene2; +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; + + +/******************************************************************************* + ** What is drawn is what was measured: the ink of every line is inside the + ** line's measured box, the block is where `align` and `valign` put it, and + ** nothing is clipped. These read the canvas the renderer composes. Every + ** text drawn here is also held to have nothing stray from its measure. + *******************************************************************************/ +class TextRasterTest +{ + private static final int MARGIN = 8; + + + + /*************************************************************************** + ** Fit a text and draw it in a box that sits `MARGIN` dots inside a canvas, + ** so that ink outside the box would be seen. The box is given as the text + ** reads; turned a quarter, it is laid on its side. + ***************************************************************************/ + private static Canvas draw(TextFit.Request request, String text, Placement.Align align, Placement.Valign valign, int rotation, int threshold, int bandDots) + { + TextFit.Block block = TextFit.fit(request, request.face().glyphs(text), request.face().glyph(TextFit.MARK)); + assertTrue(block.fits(), "the case must fit: " + request); + boolean upright = rotation % 180 == 0; + Frame frame = new Frame(MARGIN, MARGIN, upright ? request.width() : request.height(), upright ? request.height() : request.width()); + Canvas canvas = new Canvas(frame.width() + 2 * MARGIN, frame.height() + 2 * MARGIN, request.dpi()); + TextRaster.Drawing drawing = new TextRaster.Drawing(request.face(), text, block, align, valign, rotation, threshold, true); + assertEquals(new TextRaster.Stray(0, 0), TextRaster.paint(canvas, frame, drawing, bandDots), "nothing strays from the measure: " + request); + assertEquals(0, TextRaster.outside(drawing, request.dpi())); + return (canvas); + } + + + + /*************************************************************************** + ** The box of the ink on a canvas: left, top, right and bottom (the last two + ** exclusive), or null when it is blank. + ***************************************************************************/ + private static Frame ink(Canvas canvas) + { + int left = Integer.MAX_VALUE; + int top = -1; + int right = -1; + int bottom = -1; + for(int y = 0; y < canvas.height(); y++) + { + int first = canvas.firstInk(y); + if(first >= 0) + { + top = top < 0 ? y : top; + bottom = y + 1; + left = Math.min(left, first); + right = Math.max(right, canvas.lastInk(y) + 1); + } + } + return (top < 0 ? null : new Frame(left, top, right - left, bottom - top)); + } + + + + /*************************************************************************** + ** How many dots of a canvas hold ink. + ***************************************************************************/ + private static int dots(Canvas canvas) + { + int dots = 0; + for(int y = 0; y < canvas.height(); y++) + { + for(int x = 0; x < canvas.width(); x++) + { + dots += canvas.get(x, y) ? 1 : 0; + } + } + return (dots); + } + + + + /*************************************************************************** + ** Whether two canvases hold the same picture. + ***************************************************************************/ + private static void assertSamePicture(Canvas expected, Canvas actual, String about) + { + assertEquals(expected.width(), actual.width(), about); + assertEquals(expected.height(), actual.height(), about); + for(int y = 0; y < expected.height(); y++) + { + for(int x = 0; x < expected.width(); x++) + { + if(expected.get(x, y) != actual.get(x, y)) + { + assertEquals(expected.get(x, y), actual.get(x, y), about + ": dot " + x + ", " + y); + } + } + } + } + + + + /*************************************************************************** + ** Every character of every bundled face, at sizes and resolutions labels + ** use, is drawn with all of its ink inside the box that was measured for + ** its line. The renderer itself fails a render whose ink leaves that box + ** (the guard round each line), so drawing them all is the test; the ink is + ** then also read back from the canvas and held to the line's box. + ***************************************************************************/ + @Test + void everyCharacterOfEveryFaceIsDrawnInsideItsMeasuredLine() + { + int[][] sizes = {{203, 6000}, {203, 9000}, {203, 14_250}, {300, 7000}, {300, 11_000}, {600, 5000}, {600, 12_250}}; + for(Face face : Face.all()) + { + List drawn = FaceTest.drawn(face); + for(int[] size : sizes) + { + TextFit.Scale scale = new TextFit.Scale(size[1], size[0]); + int inked = 0; + for(int start = 0; start < drawn.size(); start += 16) + { + StringBuilder text = new StringBuilder(); + drawn.subList(start, Math.min(drawn.size(), start + 16)).forEach(text::appendCodePoint); + TextFit.Request request = new TextFit.Request(face, scale.ceil(1500) * 16 + 16, scale.ceil(2000), size[0], size[1], size[1], null, 1, false); + Canvas canvas = draw(request, text.toString(), Placement.Align.LEFT, Placement.Valign.TOP, 0, 128, TextRaster.BAND_DOTS); + TextFit.Block block = TextFit.fit(request, face.glyphs(text.toString()), null); + Frame ink = ink(canvas); + if(ink != null) + { + inked++; + TextFit.Line line = block.lines().get(0); + Frame measured = new Frame(MARGIN, MARGIN + block.baseline() - line.above(), line.width(), line.above() + line.below()); + assertTrue(measured.contains(ink), () -> face.scene() + " at " + size[1] + " millipoints, " + size[0] + " dpi: ink " + ink + " outside the measured " + measured); + assertTrue(new Frame(MARGIN, MARGIN, block.width(), block.height()).contains(measured)); + } + } + assertTrue(inked >= drawn.size() / 16 - 4, face.scene() + " drew " + inked + " lines"); + } + } + } + + + + /*************************************************************************** + ** Property: for generated texts, faces, boxes, sizes and resolutions, at + ** every rotation, no ink is outside the element's box and none is clipped, + ** and the upright picture turned is the turned picture. Up to 100 dots to + ** the em, where glyphs are drawn as bitmaps, the picture is also exactly + ** the same drawn a row at a time, so bands lose and repeat nothing. + ***************************************************************************/ + @Test + void inkIsNeverOutsideTheBoxAndNeverClipped() + { + Random random = new Random(TextFitTest.SEEDS[0]); + List aligns = List.of(Placement.Align.values()); + List valigns = List.of(Placement.Valign.values()); + int drawn = 0; + int banded = 0; + for(int index = 0; drawn < 160; index++) + { + TextFitTest.Case generated = TextFitTest.generate(random); + if(!generated.fit().fits() || generated.text().isBlank()) + { + continue; + } + drawn++; + TextFit.Request request = generated.request(); + Placement.Align align = aligns.get(random.nextInt(3)); + Placement.Valign valign = valigns.get(random.nextInt(3)); + int threshold = 1 + random.nextInt(254); + String about = "case " + index + ": " + request; + Canvas upright = draw(request, generated.text(), align, valign, 0, threshold, TextRaster.BAND_DOTS); + Frame ink = ink(upright); + Frame box = new Frame(MARGIN, MARGIN, request.width(), request.height()); + assertTrue(ink == null || box.contains(ink), about + ": ink " + ink + " outside " + box); + if(new TextFit.Scale(generated.fit().milliPoints(), request.dpi()).size() <= 100) + { + banded++; + assertSamePicture(upright, draw(request, generated.text(), align, valign, 0, threshold, 1), about + ", row by row"); + } + for(int rotation : List.of(90, 180, 270)) + { + Canvas turned = draw(request, generated.text(), align, valign, rotation, threshold, TextRaster.BAND_DOTS); + Canvas expected = new Canvas(turned.width(), turned.height(), request.dpi()); + for(int y = 0; y < request.height(); y++) + { + for(int x = 0; x < request.width(); x++) + { + if(upright.get(MARGIN + x, MARGIN + y)) + { + int turnedX = rotation == 90 ? request.height() - 1 - y : rotation == 180 ? request.width() - 1 - x : y; + int turnedY = rotation == 90 ? x : rotation == 180 ? request.height() - 1 - y : request.width() - 1 - x; + expected.set(MARGIN + turnedX, MARGIN + turnedY, true); + } + } + } + assertSamePicture(expected, turned, about + ", turned " + rotation); + } + } + assertTrue(banded > 60, "drawn row by row: " + banded); + } + + + + /*************************************************************************** + ** The block sits in the box where `align` and `valign` say, a centred block + ** within one dot of the middle, and each line sits in the block the same + ** way. Read from the ink of a two-line text. + ***************************************************************************/ + @Test + void theBlockIsPlacedByAlignAndValignAndCentredWithinOneDot() + { + String text = "HHHHHHHH HH"; + TextFit.Request request = new TextFit.Request(Face.SANS_BOLD, 241, 151, 203, 12_000, 12_000, null, 2, false); + TextFit.Block block = TextFit.fit(request, Face.SANS_BOLD.glyphs(text), null); + assertEquals(List.of("HHHHHHHH", "HH"), TextFitTest.shown(block, text)); + TextFit.Line wide = block.lines().get(0); + TextFit.Line narrow = block.lines().get(1); + for(Placement.Align align : Placement.Align.values()) + { + for(Placement.Valign valign : Placement.Valign.values()) + { + Canvas canvas = draw(request, text, align, valign, 0, 128, TextRaster.BAND_DOTS); + Frame content = Layout.align(new Frame(MARGIN, MARGIN, 241, 151), block.width(), block.height(), align, valign); + Frame ink = ink(canvas); + assertTrue(content.contains(ink), align + " " + valign + ": ink " + ink + " outside the block " + content); + int slackLeft = content.x() - MARGIN; + int slackRight = MARGIN + 241 - content.right(); + int slackTop = content.y() - MARGIN; + int slackBottom = MARGIN + 151 - content.bottom(); + switch(align) + { + case LEFT -> assertEquals(0, slackLeft); + case CENTER -> assertTrue(slackLeft >= 0 && Math.abs(slackLeft - slackRight) <= 1); + default -> assertEquals(0, slackRight); + } + switch(valign) + { + case TOP -> assertEquals(0, slackTop); + case MIDDLE -> assertTrue(slackTop >= 0 && Math.abs(slackTop - slackBottom) <= 1); + default -> assertEquals(0, slackBottom); + } + + ////////////////////////////////////////////////////////////////////////////////////// + // the ink of each line, read from the rows of its own baseline, is in the line's // + // box, and that box is against the same side of the block (or in its middle) // + ////////////////////////////////////////////////////////////////////////////////////// + int capitals = new TextFit.Scale(12_000, 203).floor(Face.SANS_BOLD.capHeight()); + int first = content.y() + block.baseline() - capitals / 2; + int second = first + block.pitch(); + int narrowLeft = content.x() + align.position().place(block.width(), narrow.width(), 0); + assertTrue(canvas.firstInk(first) >= content.x() && canvas.lastInk(first) < content.x() + wide.width(), "the widest line fills the block"); + assertTrue(canvas.firstInk(second) >= narrowLeft && canvas.lastInk(second) < narrowLeft + narrow.width(), align + ": the short line " + canvas.firstInk(second) + " to " + canvas.lastInk(second)); + int gapLeft = canvas.firstInk(second) - canvas.firstInk(first); + int gapRight = canvas.lastInk(first) - canvas.lastInk(second); + switch(align) + { + case LEFT -> assertTrue(Math.abs(gapLeft) <= 1 && gapRight > 50); + case CENTER -> assertTrue(Math.abs(gapLeft - gapRight) <= 2 && gapLeft > 25); + default -> assertTrue(Math.abs(gapRight) <= 1 && gapLeft > 50); + } + } + } + } + + + + /*************************************************************************** + ** A dot is ink when its grey is darker than the threshold, so a higher + ** threshold prints every dot a lower one prints and more: heavier strokes, + ** which is the control for small type on a thermal head. + ***************************************************************************/ + @Test + void aHigherThresholdPrintsHeavier() + { + TextFit.Request request = new TextFit.Request(Face.SANS, 500, 60, 203, 14_000, 14_000, null, 1, false); + List pictures = new ArrayList<>(); + for(int threshold : List.of(1, 60, 128, 200, 254)) + { + pictures.add(draw(request, "Lot L240611A 0O1lI", Placement.Align.LEFT, Placement.Valign.TOP, 0, threshold, TextRaster.BAND_DOTS)); + } + for(int index = 1; index < pictures.size(); index++) + { + Canvas lighter = pictures.get(index - 1); + Canvas heavier = pictures.get(index); + assertTrue(dots(heavier) > dots(lighter), "threshold step " + index + ": " + dots(lighter) + " then " + dots(heavier)); + for(int y = 0; y < lighter.height(); y++) + { + for(int x = 0; x < lighter.width(); x++) + { + assertFalse(lighter.get(x, y) && !heavier.get(x, y), "a dot printed at the lower threshold is printed at the higher"); + } + } + } + assertTrue(dots(pictures.get(0)) > 100, "full ink is black at every threshold"); + } + + + + /*************************************************************************** + ** The ends of what the renderer accepts. At 1 pt and 2 pt, where a letter + ** is a few dots, every character of every face is drawn inside its + ** measured line. At 300 pt and 1000 pt, where a letter is drawn from its + ** outline in bands, the characters of each face that reach furthest are: + ** its widest, and those that reach furthest left, right, up and down. + ***************************************************************************/ + @Test + void theSmallestAndTheLargestTypeAreDrawnInsideTheirMeasuredLine() + { + for(Face face : Face.all()) + { + List drawn = FaceTest.drawn(face); + for(int[] size : new int[][] {{203, 1000}, {300, 1000}, {600, 1000}, {203, 2000}, {600, 2000}}) + { + TextFit.Scale scale = new TextFit.Scale(size[1], size[0]); + for(int start = 0; start < drawn.size(); start += 16) + { + StringBuilder text = new StringBuilder(); + drawn.subList(start, Math.min(drawn.size(), start + 16)).forEach(text::appendCodePoint); + TextFit.Request request = new TextFit.Request(face, scale.ceil(1500) * 16 + 16 * 2 * TextFit.SLOP, scale.ceil(2000) + 2 * TextFit.SLOP, size[0], size[1], size[1], null, 1, false); + Canvas canvas = draw(request, text.toString(), Placement.Align.LEFT, Placement.Valign.TOP, 0, 128, TextRaster.BAND_DOTS); + TextFit.Line line = TextFit.fit(request, face.glyphs(text.toString()), null).lines().get(0); + Frame ink = ink(canvas); + assertTrue(ink == null || new Frame(MARGIN, MARGIN, line.width(), request.height()).contains(ink), () -> face.scene() + " at " + size[1] + " millipoints, " + size[0] + " dpi: ink " + ink); + } + } + + Face.Glyph worst = face.worst(); + StringBuilder extremes = new StringBuilder().appendCodePoint(face.widest()); + for(int codePoint : drawn) + { + Face.Glyph glyph = face.glyph(codePoint); + if(glyph.ink() && extremes.length() < 5 && (glyph.left() == worst.left() || glyph.right() - glyph.advance() == worst.right() - worst.advance() || glyph.top() == worst.top() || glyph.bottom() == worst.bottom())) + { + extremes.appendCodePoint(codePoint); + } + } + assertTrue(extremes.length() >= 3, face.scene() + " has " + extremes.length() + " furthest-reaching characters"); + for(int milliPoints : List.of(300_000, 1_000_000)) + { + TextFit.Scale scale = new TextFit.Scale(milliPoints, 203); + for(int index = 0; index < (milliPoints == 300_000 ? extremes.length() : 2); index++) + { + String text = extremes.substring(index, index + 1); + TextFit.Request request = new TextFit.Request(face, scale.ceil(2000), scale.ceil(2000), 203, milliPoints, milliPoints, null, 1, false); + Canvas canvas = draw(request, text, Placement.Align.CENTER, Placement.Valign.MIDDLE, 0, 128, TextRaster.BAND_DOTS); + Frame ink = ink(canvas); + assertTrue(ink.width() > scale.floor(100) && ink.height() > scale.floor(100), () -> face.scene() + " U+" + Integer.toHexString(text.codePointAt(0)) + " at " + milliPoints + " millipoints: ink " + ink); + } + } + } + } + + + + /*************************************************************************** + ** Ink outside the measured line is never clipped away and never printed, + ** and a text is never printed in part: what strayed is counted and the + ** label is left as it was, reverse text included, whose box is not filled. + ** Forced here with lines whose boxes are stated too small: one that ends in + ** the gap between two letters, so the second letter is wholly beyond the + ** guard and only its bounds tell, and two that cut through the letters, + ** whose ink is found in the guard. The bounds alone, which is what a + ** validation asks, count the same glyphs. Ink that would fall outside the + ** element's box is counted too, and none of that text is printed. + ***************************************************************************/ + @Test + void inkOutsideTheMeasuredLineIsCountedAndNothingIsPainted() + { + TextFit.Request request = new TextFit.Request(Face.SANS_BOLD, 200, 60, 203, 12_000, 12_000, null, 1, false); + TextFit.Block honest = TextFit.fit(request, Face.SANS_BOLD.glyphs("HH"), null); + TextFit.Line line = honest.lines().get(0); + Canvas canvas = new Canvas(220, 80, 203); + Frame frame = new Frame(10, 10, 200, 60); + List wrong = List.of(new TextFit.Line(0, 2, false, line.left(), line.right() / 2, line.above(), line.below()), new TextFit.Line(0, 2, false, line.left(), line.right(), line.above() / 3, line.below()), + new TextFit.Line(0, 2, false, line.left(), line.right(), line.above(), -line.above() / 2)); + List strays = new ArrayList<>(); + for(TextFit.Line each : wrong) + { + TextFit.Block forged = new TextFit.Block(honest.milliPoints(), List.of(each), each.width(), honest.height(), honest.baseline(), honest.pitch(), 2, 2, true); + for(boolean reverse : List.of(false, true)) + { + TextRaster.Drawing drawing = new TextRaster.Drawing(Face.SANS_BOLD, "HH", forged, Placement.Align.LEFT, Placement.Valign.TOP, 0, 128, !reverse); + TextRaster.Stray stray = TextRaster.paint(canvas, frame, drawing, TextRaster.BAND_DOTS); + assertTrue(stray.any() && stray.glyphs() > 0, "strayed: " + stray); + assertEquals(stray.glyphs(), TextRaster.outside(drawing, 203)); + assertEquals(stray, TextRaster.paint(canvas, frame, drawing, 1 << 10), "the same count drawn in bands"); + assertEquals(null, ink(canvas), "nothing of a text that strayed is on the label"); + strays.add(stray); + } + } + assertEquals(List.of(new TextRaster.Stray(1, 0), new TextRaster.Stray(1, 0)), strays.subList(0, 2), "the second letter is wholly beyond the guard: only its bounds tell"); + assertTrue(strays.get(2).glyphs() == 2 && strays.get(2).dots() > 20 && strays.get(4).glyphs() == 2 && strays.get(4).dots() > 20, "ink in the guard: " + strays); + assertFalse(new TextRaster.Stray(0, 0).any()); + assertTrue(new TextRaster.Stray(0, 1).any() && new TextRaster.Stray(1, 0).any()); + + //////////////////////////////////////////////////////////////////////////////////////////// + // a block measured honestly but handed a box too small for it: its ink would fall // + // outside the element, to the right and below // + //////////////////////////////////////////////////////////////////////////////////////////// + TextRaster.Drawing whole = new TextRaster.Drawing(Face.SANS_BOLD, "HH", honest, Placement.Align.LEFT, Placement.Valign.TOP, 0, 128, true); + for(Frame small : List.of(new Frame(10, 10, 20, 60), new Frame(10, 10, 200, 12))) + { + TextRaster.Stray stray = TextRaster.paint(canvas, small, whole, TextRaster.BAND_DOTS); + assertTrue(stray.glyphs() == 0 && stray.dots() > 20, "outside the element: " + stray); + assertEquals(null, ink(canvas)); + } + + Canvas clean = new Canvas(220, 80, 203); + assertEquals(new TextRaster.Stray(0, 0), TextRaster.paint(clean, frame, whole, TextRaster.BAND_DOTS)); + assertEquals(0, TextRaster.outside(whole, 203)); + assertTrue(new Frame(10, 10, honest.width(), honest.height()).contains(ink(clean))); + } + + + + /*************************************************************************** + ** Very large type is drawn in bands of whole rows, so a line never needs + ** more grey than the band allows. 200 pt at 600 dpi is 1667 dots to the em. + ** The bands lose no row and repeat none: the picture is the one drawn in + ** one piece, but for a few edge dots where the rasteriser, given a band, + ** shades a curve differently: fewer than one ink dot in ten thousand (4 of + ** 121 thousand, 5 of 265 thousand and 40 of 1.06 million were seen). + ***************************************************************************/ + @Test + void veryLargeTypeIsDrawnInBands() + { + for(int dpi : Scene2.RESOLUTIONS) + { + TextFit.Request request = new TextFit.Request(Face.CONDENSED_BOLD, 2400 * dpi / 600, 2400 * dpi / 600, dpi, 200_000, 200_000, null, 1, false); + Canvas whole = draw(request, "7g", Placement.Align.CENTER, Placement.Valign.MIDDLE, 0, 128, Integer.MAX_VALUE); + assertSamePicture(whole, draw(request, "7g", Placement.Align.CENTER, Placement.Valign.MIDDLE, 0, 128, TextRaster.BAND_DOTS), "200 pt at " + dpi + " dpi fits one band"); + Canvas banded = draw(request, "7g", Placement.Align.CENTER, Placement.Valign.MIDDLE, 0, 128, 1 << 16); + int different = 0; + for(int y = 0; y < whole.height(); y++) + { + for(int x = 0; x < whole.width(); x++) + { + different += whole.get(x, y) == banded.get(x, y) ? 0 : 1; + } + } + assertTrue(different * 10_000L <= dots(whole), "200 pt at " + dpi + " dpi: " + different + " dots differ of " + dots(whole)); + System.out.println("200 pt at " + dpi + " dpi in bands: " + different + " of " + dots(whole) + " ink dots differ from the picture drawn in one piece"); + assertEquals(ink(whole), ink(banded)); + int capitals = new TextFit.Scale(200_000, dpi).floor(Face.CONDENSED_BOLD.capHeight()); + assertTrue(ink(banded).height() > capitals && ink(banded).height() < 2 * capitals && ink(banded).width() > capitals, "the digits are the size asked: " + ink(banded)); + } + } +} diff --git a/renderer/src/test/resources/scene2/README.md b/renderer/src/test/resources/scene2/README.md new file mode 100644 index 0000000..fd8a7b6 --- /dev/null +++ b/renderer/src/test/resources/scene2/README.md @@ -0,0 +1,31 @@ +# Golden labels of version 2 scenes + +Each case in `cases` has, in `golden`, at 203, 300 and 600 dpi, the exact ZPL the renderer emits +(`-.zpl`) and the page a printer draws from it (`-.png`). `SceneGoldenTest` compares both +exactly, on every machine, and holds `golden` to exactly those files, which is why this note is beside it. + +## What the pictures depend on + +A box is whole dots of ink and depends on the scene alone. Text is measured by integer arithmetic on the bundled +faces, which is the same everywhere, but its glyph bitmaps are drawn by the Java runtime: the Java 2D rasteriser +and the FreeType library that the JDK itself ships (`lib/libfreetype.so` on Linux, `bin/freetype.dll` on +Windows). The system's FreeType is not used: in the images below `libfontmanager.so` loads the JDK's own copy. +The version of that copy is the one the JDK states in `legal/java.desktop/freetype.md`. + +The text goldens (`text-*`) were generated and compared on these runtimes, all x86-64: + +| Where | JDK | FreeType in the JDK | The goldens there | +|---|---|---|---| +| CI image `maven:3.9.11-eclipse-temurin-21` (Ubuntu 24.04) | Temurin 21.0.9+10 | 2.13.3 | generated here; compared exactly by the build | +| Windows 11 | Temurin 21.0.12.1+1 | 2.14.3 | the same bytes; compared exactly by the build | +| The worker image's runtime (`renderer/Dockerfile` requires `jdk-21.0.13+9` on Ubuntu 24.04), as `eclipse-temurin:21-jre-noble` | Temurin 21.0.13+9 | 2.14.3 | the same bytes; the 21 labels were rendered there and compared by hand, not by a build | + +So the same bytes came from two FreeType versions and three JDK builds. That is an observation about these +versions, not a promise about the next: a golden that changes with a runtime is a reviewed change. + +## Changing a golden + +A golden changes only with a reviewed change to the layout rules or to the runtime. Run `SceneGoldenTest` in the +CI image; what the build drew is left in `renderer/target/scene2-actual`. Copy the files to `golden`, then run the +test on Windows as well: it must pass there on the same bytes. Say in the change which goldens changed and why, and +update the table above when a runtime changes. diff --git a/renderer/src/test/resources/scene2/cases/text-faces.json b/renderer/src/test/resources/scene2/cases/text-faces.json new file mode 100644 index 0000000..7a7e3ea --- /dev/null +++ b/renderer/src/test/resources/scene2/cases/text-faces.json @@ -0,0 +1,15 @@ +{ + "stock": {"widthMicrons": 50800, "heightMicrons": 25400, "topMicrons": 2000, "rightMicrons": 2000, "bottomMicrons": 2000, "leftMicrons": 2000, "dpi": 203}, + "scene": { + "schema": "qqq-zpl-scene/2", + "design": {"width": "2in", "height": "1in"}, + "defaults": {"size": "8pt"}, + "elements": [ + {"id": "sans", "type": "text", "value": "Sans 0O 1lI 5S 8B Åéj", "font": "qqq-sans", "y": "0mm", "height": "4.2mm"}, + {"id": "sans-bold", "type": "text", "value": "Bold 0O 1lI 5S 8B Åéj", "font": "qqq-sans-bold", "y": "4.2mm", "height": "4.2mm"}, + {"id": "condensed-bold", "type": "text", "value": "Condensed 0O 1lI 5S 8B Åéj", "font": "qqq-condensed-bold", "y": "8.4mm", "height": "4.2mm"}, + {"id": "mono", "type": "text", "value": "Mono 0O 1lI 5S 8B Åéj", "font": "qqq-mono", "y": "12.6mm", "height": "4.2mm"}, + {"id": "mono-bold", "type": "text", "value": "Bold 0O 1lI 5S 8B Åéj", "font": "qqq-mono-bold", "y": "16.8mm", "height": "4.2mm"} + ] + } +} diff --git a/renderer/src/test/resources/scene2/cases/text-fit.json b/renderer/src/test/resources/scene2/cases/text-fit.json new file mode 100644 index 0000000..9cb48ca --- /dev/null +++ b/renderer/src/test/resources/scene2/cases/text-fit.json @@ -0,0 +1,21 @@ +{ + "stock": {"widthMicrons": 50800, "heightMicrons": 25400, "topMicrons": 2000, "rightMicrons": 2000, "bottomMicrons": 2000, "leftMicrons": 2000, "dpi": 203}, + "scene": { + "schema": "qqq-zpl-scene/2", + "design": {"width": "2in", "height": "1in"}, + "defaults": {"font": "qqq-sans-bold", "size": "10pt"}, + "elements": [ + {"id": "kept-box", "type": "box", "width": "22mm", "height": "5mm", "thickness": "0.1mm"}, + {"id": "kept", "type": "text", "value": "LOT 240611", "width": "22mm", "height": "5mm", "align": "center", "valign": "middle"}, + {"id": "right-box", "type": "box", "anchor": "top-right", "width": "22mm", "height": "5mm", "thickness": "0.1mm"}, + {"id": "right", "type": "text", "value": "9.5 kg", "font": "qqq-condensed-bold", "size": "11pt", "anchor": "top-right", "width": "22mm", "height": "5mm", "align": "right", "valign": "bottom"}, + {"id": "shrunk-box", "type": "box", "y": "5.5mm", "width": "44mm", "height": "4mm", "thickness": "0.1mm"}, + {"id": "shrunk", "type": "text", "value": "(01)00012345678905(10)L240611A", "font": "qqq-mono-bold", "size": "9pt", "y": "5.5mm", "width": "44mm", "height": "4mm", "valign": "middle"}, + {"id": "wrapped-box", "type": "box", "y": "10mm", "width": "36mm", "height": "7.5mm", "thickness": "0.1mm"}, + {"id": "wrapped", "type": "text", "value": "(01)00012345678905(10)L240611A-RETURNED-000123", "font": "qqq-mono", "size": "7pt", "y": "10mm", "width": "36mm", "height": "7.5mm", "align": "center", "valign": "middle", + "maxLength": 46, "fit": {"maxLines": 2}}, + {"id": "cut-box", "type": "box", "anchor": "bottom-left", "width": "30mm", "height": "3.6mm", "thickness": "0.1mm"}, + {"id": "cut", "type": "text", "value": "A description of the item that is too long", "font": "qqq-sans", "size": "7pt", "anchor": "bottom-left", "width": "30mm", "height": "3.6mm", "fit": {"overflow": "truncate", "shrinkTo": "7pt"}} + ] + } +} diff --git a/renderer/src/test/resources/scene2/cases/text-turned.json b/renderer/src/test/resources/scene2/cases/text-turned.json new file mode 100644 index 0000000..06f4820 --- /dev/null +++ b/renderer/src/test/resources/scene2/cases/text-turned.json @@ -0,0 +1,18 @@ +{ + "stock": {"widthMicrons": 50800, "heightMicrons": 25400, "topMicrons": 2000, "rightMicrons": 2000, "bottomMicrons": 2000, "leftMicrons": 2000, "dpi": 203}, + "scene": { + "schema": "qqq-zpl-scene/2", + "design": {"width": "2in", "height": "1in"}, + "defaults": {"font": "qqq-sans-bold", "size": "10pt"}, + "elements": [ + {"id": "up", "type": "text", "value": "TEST-0001", "font": "qqq-mono-bold", "rotation": 90, "width": "5mm", "align": "center"}, + {"id": "down", "type": "text", "value": "TEST-0001", "font": "qqq-mono-bold", "rotation": 270, "anchor": "top-right", "width": "5mm", "align": "center"}, + {"id": "flip", "type": "text", "value": "THIS WAY UP", "rotation": 180, "x": "7mm", "width": "30mm", "height": "5mm", "align": "center"}, + {"id": "panel", "type": "text", "value": "ZONE 7", "font": "qqq-condensed-bold", "size": "16pt", "reverse": true, "x": "7mm", "y": "6mm", "width": "30mm", "height": "8mm", "align": "center", "valign": "middle"}, + {"id": "fine", "type": "text", "value": "Best before 2027-06-11", "font": "qqq-sans", "size": "6.5pt", "x": "7mm", "y": "15mm", "width": "32mm", "height": "5mm", "valign": "bottom"} + ], + "overrides": [ + {"when": {"dpi": [203]}, "set": {"fine": {"font": "qqq-sans-bold", "threshold": 150}}} + ] + } +} diff --git a/renderer/src/test/resources/scene2/golden/text-faces-203.png b/renderer/src/test/resources/scene2/golden/text-faces-203.png new file mode 100644 index 0000000..2c5a94b Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-faces-203.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-faces-203.zpl b/renderer/src/test/resources/scene2/golden/text-faces-203.zpl new file mode 100644 index 0000000..d71a275 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-faces-203.zpl @@ -0,0 +1,3 @@ +^XA^PW406^LL203^LH0,0^CI28 +^FO19,19^GFA,5600,5600,35,00000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000000000004C0000000000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000000000004C00000000000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000800000000000000000000000006080000000000000001F0000000000007C00FC000700C3E007F80F8003E03FC0003000C0C0000000000000007FC00000000000FE01FE000F00C7F007F83FE007F83FF000380080800000000000000060E00000000001C30303001B00C080040030700C18303000780080000000000000000040000000000001810601803300C080040020000C0C3018006C00000000000000000000C000F02780F801818601806300C080040060000C0C3018004C03C080000000000000006003F83FC1FC01018401800300C0800C0030000C08301800CC07F0C00000000000000070020C30E30403018C00C00300C0800CE038000618303000C60C30C0000000000000003F000C30630003018C00C00300C0800FF81F8003E03FE001860818C0000000000000000FC00C30638003018C00C00300C0800E1807E007F03FF001861818C00000000000000000C0FC3061F003018C00C00300C080000C00600C1C301801831FF8C0000000000000000063FC30607C01018400800300C080000C0030080C301803FF1FF8C00000000000000000660C30600C01818601800300C080000C0030180C301803031800C00000000000000000660C30600601818601800300C080000C0030180C301803019800C000000000000000C0E60C30630601830303000300C0800C1860700C0C301806018C18C0000000000000007BC71E30638C00E703CE003FF0E3E007783DE00F383FF006018E30C0000000000000003F83E63061F8007E00FC003FF067F003F01FC007F03FE00600C3E0C000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000003800000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000003E000000000000000000000000000000000000000000000000000000000000000000003300000000000000000000000000000000000000000000000000000000000000000000630000000000000000000000000000000000000000000000000000000000000000000073000000000000000000000000000000000000000000000000000000000000000000003E001800000000000000000000000E00380000000000000380000000000000000000001C00381800000000000000FF80000E003800F803F0001F838FE00FFC0FC001F83FE0001E00383C00000000000000FFE0000E003801FE07F8001F838FF00FFC1FF007FC3FF8003E00703C00000000000000FFE0000E003803FF0FFC003F838FF00FFC3FF007FE3FF8003F00201C00000000000000E1E0000E0038078F1E1E007F8383C00E0038600F0E3878003F00000000000000000000E0F07C0E0F3807871C0E00F78383C00E0078000F0E383C007700F81C00000000000000E0E1FE0E1FF80707BC0F00E78383C00C007800070E3838007783FC1C00000000000000E1E1FF0E1FF80707BC0F00478383C00CF83F00079C3878007383DE1C00000000000000FFC3C70E3C380707BC0F00078383C00FFC3FE001F83FF000E3878E1C00000000000000FFE3878E3C380707BC0F00078383C00F7C1FF003FC3FF800E3C70F1C00000000000000FFF3878E38380707BC0F00078383C0001E03F8079E3FFC00FFC7FF1C00000000000000E0F3878E38380707BC0F00078383C0001E00780F0E383C01FFC7FF1C00000000000000E073878E383807871C0E00078383C0001E00780E0F381C01FFE7001C00000000000000E0F3C78E3C38078F1E1E00078383C00C1C30780F0F383C01C1E7801C00000000000000FFF1EF0F1EF803FF0FFE007FF3CFE01FFC7FF00F9E3FFC03C0E3CE1C00000000000000FFE1FE0F1FF801FE0FFC007FF3CFF00FF83FF007FE3FF80380F3FE1C00000000000000FFC0FC070FB800FC03F0007FF1CFF007F01FC003F83FF00380F1FC1C000000000000000000000000000000000000000000000000000000000000000000001C000000000000000000000000000000000000000000000000000000000000000000001C000000000000000000000000000000000000000000000000000000000000000000007C0000000000000000000000000000000000000000000000000000000000000000000078000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000001F000000000000000000000000000000000000000000000000000000000000000000001980000000000000000000000000000000000000000000000000000000000000000000198000000000000000000000000000000000000000000000000000000000000000000019800000000000000000000000000000000000000000000000000000000000000000001F80300000000000000000E000000000000038000000000000C0000000000000000000060078300000F800000000E00000000000003801F00F8007C1E3F80FF01F001F83FC000F0070780003FC00000000E00000000000003807F83FC007C1E3F80FF87FC03FC3FE000F00E0780007FE00000000E00000000000003807FC7FE00FC1E3F80FF87FC07FE3FF001F80403000070E00000000E0000000000000380F1C70F01DC1E0E00C00F08070E387001F800000000F041F073C1CE1F073C1F07C07380E1CF0701DC1E0E00C00E00070E387001B81F038000E003F87FC3EE3F87FC7F8FE0FB80E1CE07001C1E0E01C00F00070E387003BC3F878000E007BC7FE7FE79C7FE7B9E71FF80E1CE07001C1E0E01DF0FC0039C38F0039C79C78000E0071C78E70E71C78E701C71C380E1CE07001C1E0E01DF87F801F83FC0039C71C78000E0071E78E70E71E78E781C79C380E1CE07001C1E0E01E783FC03FC3FE0039C71E78000E0071E78E70E7FE78E7F1FF9C380E1CE07001C1E0E0003807C079E3870079E7FE78000E0071E78E70E7FE78E3F9FF9C380E1CE07001C1E0E0003C01E070E387807FE7FE78000F0471E78E70E70078E03DC01C380E1CF07001C1E0E0003801E070E387807FE7007800070E71C78E70E70078E01DC01C380E1C70F001C1E0E00C3841E070E38780E0E700780007FE79C78E79E78C78E739E31E7807FC7FE00FF9E3F81E78FFC079E3FF00E0778C780003FC3FC78E3EE3FC78E7F8FF0FB807F83FE00FF8F3F80FF0FFC03FE3FF00E073FC780001F81F878E3EE1F878E3F07E0FB803F01F800FF8F3F807E03F001F83FE00E071F8780000000000000000000000000000000000000000000000000000000000000000000078000000000000000000000000000000000000000000000000000000000000000000007800000000000000000000000000000000000000000000000000000000000000000000F000000000000000000000000000000000000000000000000000000000000000000000F000000000000000000000000000000000000000000000000000000000000000000000C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E00000000000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000000000003E000000000000000000000000000000000000000000000000000000000000000000000C0018000000000000000000001C00E00000000000000000000001C00000380000000000003000EE1C000000000000007F03F800003E07E01FF00003FE07F00000FE07F800001C006000EE3C00000000000000E3831C00007E0060038000030006380000C7061C00001E0000000E3C00000000000000C1860C0000EE006001800003000C18000183060C00001E0000000B2C03000800600000C0C60C0000CE006001800003000C08000181860E0000360060000D6C1FC1BE03F80000C0C60600000E006001800003000C00000183060C00003601F81FED6C1CE1C7039C0000C0C60600000E006001800003000E000001C3060C000033031C00EDCC306183060C0000C8C60600000E006001800003FC07800000FE0638000033060C006DCC30318306060000DCC60600000E006001800001FE03F000007C07F00000630606006C8C30318386060000CCC60600000E0060018000000600780000E7061C000063060E006C0C30318386060000C0C60600000E006001800000070018000183860C00006187FE006C0C30318386060000C0C60600000E00600180000003000C000181860600007F8600006C0C30318386060000C0C60E00000E00600180000203080C00018186060000FF8600006C0C307183860E0000C0C60C00000E006001800003070C0C00018186060000C18600006C0C386183870C0000E1870C00000E006001800003060C1C000183860E0000C0C70C006C0C1FE18383FC00007F83FC0000FFC03F1FF00001FE07F80000FF07FC0000C0C3FC006C0C0F818381F000003F01F00000FFC01F1FF00000F803F000007E07F8000180C1F80060000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000C00000000000000000000000000000000000000000000000000000000000000000001FC00000000000000000000000000000000000000000000000000000000000000000001F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000003E00000000000000000000000000000000000000000000000000000000000000000000330000000000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000000000003E000000000000000000000000000000000000000000000000000000000000000000001C0038006000000000000000001C00E00000000000000000000001C00000380000000000003000EFF00003F8000E00007F03F800003E07F01FF80003FE07F00000FE07F800001E007000EFF80003F8000E0000FF87FC00007E07F01FF80003FE0FF80001FF07FC00003E0000000C3C000038000E0000E1C71E0000FE007003800003800E3C0001C3861E00003E0000000C1C030038008E0000C1C70E0000CE007003800003800C1C000183860E0000370060000C1C1FC03803EE0000C1C60E00008E007003800003800E00000183860E00003703F81FEC1C3FE03807FE0000C1C60E00000E007003800003800E000001C3060E00007707FC1FEFF838F038071E0000C9C60E00000E007003800003FC0FE00000FF07FC000073070E00EFF0387038070E0000DDC60E00000E007003800003FE07F000007E07F8000073860E00EFF8307038060E0000CDC60E00000E0070038000000F01F80001FF07FC000063870E00EC1C307038060E0000C1C60E00000E00700380000007003C0001C3860E0000E387FE00EC1C307038060E0000C1C60E00000E00700380000007001C000383860E0000FF87FC00EC1C307038060E0000C1C60E00000E007003800003070C1C000381860E0000FFC60000EC1C387038070E0000E1C70E00000E007003800003071C1C000383860E0000C1C70000EE3C3CE03F879E0000F3C79C0000FFC07F1FF00003CF0F3C0001C7871E0001C1C71E00EFF81FE03FC7FE00007F83FC0000FFC07F9FF80003FE0FF80001FF07FC0001C0C3FC00EFF00FC00FC3EE00003F01F80000FFC01F9FF80000FC03F000007E07F80001C0E1F800E000000000000000000000000000000000000000000000000000000000000000000000E000000000000000000000000000000000000000000000000000000000000000000003E00000000000000000000000000000000000000000000000000000000000000000001FC00000000000000000000000000000000000000000000000000000000000000000001F8^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-faces-300.png b/renderer/src/test/resources/scene2/golden/text-faces-300.png new file mode 100644 index 0000000..4c0de2b Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-faces-300.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-faces-300.zpl b/renderer/src/test/resources/scene2/golden/text-faces-300.zpl new file mode 100644 index 0000000..b2271de --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-faces-300.zpl @@ -0,0 +1,7 @@ +^XA^PW600^LL300^LH0,0^CI28 +^FO27,26^GFA,1640,1640,41,0000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000E600000000000000000000000000000000000000000000000000000000000000000000000000000000C200000000000000000000000000000000000000000000000000000000000000000000000000000000C300000000000000000000000000000000000000000000000000000000000000000000000000000000C6000000000000000000000000000000000000000000000000000000000000000000000000000000007E000000000000000000000000000000000000000000000000000000000000000000000000000000003C0000C000000000000000000000000000000000000000000600000000000000000000000000000000000000E01800380000000000000000003C0000E000000000070000000000000E000001E00000000000000001C01C01FF800000000000000000FF0007FE000007C00707FC000FFF807FE0000FFC03FFE000003C0001C01C03FFC00000000000000001FF800FFF00000FC00707FC000FFF80FFF0001FFE03FFF000007C000380180781E0000000000000000381C01E0780001DC00700E0000E0001E078003C0F03807800007C000300000E00E0000000000000000700E03803C00039C00700E0000C0003803800380703803800006E000000000E0000000000000000000700E07001C00071C00700E0000C0003800000380703801C0000EE000000000E00000E0000600060000600607000E000E1C00700E0000C0003800000380703801C0000C6000300000E00007F803BF803FC000E00706000E00041C00700E0000C0003800000380703801C0000C7001FE01C0E0000FFE03FFC07FE000E0070E000E00001C00700E0000C0003800000380703801C0001C7003FF01C078001C0E03C1E0E07000E0070E000600001C00700E0000C0001E000001C0E0380380001838078381C07E0008070380E0E00000E0070E000700001C00700E0001DFC01F800000F3C03807000038380601C1C01FE000070380E0E00000E0070E000700001C00700E0001FFF007F800007F803FFE000038180E01C1C007F80007038060E00000E0070E000700001C00700E0001E07801FE0000FFC03FFF0000301C0E00C1C000FC0007038060F00000E0070E000700001C00700E0000C038003F0001C0E038078000701C0C00E1C0001E01FF0380607F0000E0070E000700001C00700E000000380007800380703801C000701C0FFFE1C0000E0FFF0380603FE000E0070E000600001C00700E0000001C0003800700383801C0007FFE0FFFE1C000071E0703806003F000E0070E000E00001C00700E0000001C0001C00700383800E000FFFE0C0001C000071C07038060007000600606000E00001C00700E0000001C0001C00700383800E000E00E0C0001C000071807038060003000700E07000E00001C00700E000000180001C00700383800E000C0070E0001C0C00E3807038060003000700E07801C00001C00700E000080383003800700383801C001C0070E0081C0E00E1C07038060C07000381C03C03C00001C00700E0001C0383803800380703801C001C0070701C1C0F83C1C1F038060E070003C3C01E0F800001E00700E0001F0F03E0F0003C0F0380F80018003878381C03FF80FF3C380607FE0001FF800FFF00007FFF07C7FC000FFE00FFE0001FFE03FFF0003800383FF81C01FF007E1C380603FC0000FF0003FC00007FFF03C7FC0003FC007FC00007F803FFE0003800380FE01C000000000000000000000000000000000000000000000000000000000000000000000000000000001C000000000000000000000000000000000000000000000000000000000000000000000000000000001C0000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000000000000000000F800000000000000000000000000000000000000000000000000000000000000000000000000000000F800000000000000000000000000000000000000000000000000000000000000000000000000000000E00^FS +^FO27,77^GFA,1680,1680,42,000000000000000000000000000000000000000000000000000000000000000000000001F80000000000000000000000000000000000000000000000000000000000000000000000000000000003FC00000000000000000000000000000000000000000000000000000000000000000000000000000000039E00000000000000000000000000000000000000000000000000000000000000000000000000000000078E00000000000000000000000000000000000000000000000000000000000000000000000000000000078E00000000000000000000000000000000000000000000000000000000000000000000000000000000038E0000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0000C00000000000000000000000000000000000000000000000000000000000000000000000000001FC0000F000000000000000780007C000000000000000000001E000000000000000000000000000000000F80001F00F000000000000F80007C0000F00003C0000000003E000000000000078000007800000000000000001E01F00FFFC000000F80007C0007FE001FF800003FC03E0FFE001FFF803FF00003FF00FFFC00001FC0003E01F80FFFE000000F80007C000FFF007FFC00007FC03E0FFE001FFF80FFFC0007FF80FFFE00001FC0003C01F80FFFF000000F80007C001FFF80FFFE00007FC03E0FFE001FFF81FFFC000FFFC0FFFF00003FC0003801F00FFFF800000F80007C001FFF80FFFF0000FFC03E0FFE001FFF81FFFC001F87E0FFFF80003FE0000000600F81F800000F80007C003F0FC1F83F8001F7C03E01F0001E0003F078001F03E0F81F80003FE0000000000F80F803E00F803C7C003E07C1F00F8003E7C03E01F0001E0003E010001F03E0F80F80007DE0007C00F00F80F80FF80F80FF7C003E07C3F00F8003E7C03E01F0001E0003E000001F03E0F80F80007DF001FF01F00F80F83FFC0F81FF7C007E07E3E007C003C7C03E01F0001E0003E000001F03E0F80F800079F007FF81F00F81F03FFE0F81FFFC007C03E3E007C00187C03E01F0001E7E03FC00000F87C0F81F0000F8F007FFC1F00FFFF07E3F0F83F0FC007C03E3E007C00007C03E01F0001CFF01FFC00007FF80FFFF0000F8F80F87E1F00FFFC07C1F0F83E07C007C03E3E007C00007C03E01F0003DFF81FFF80003FF00FFFC0000F0F80F83E1F00FFFE0781F0F83E07C007C03E3E007C00007C03E01F0003FFFC0FFFC0003FF00FFFE0001F0780F03E1F00FFFF0F81F0F83E07C007C03E3E007C00007C03E01F0003F0FC03FFC000FFFC0FFFF0001F07C1F83E1F00F81F8F81F8F87E07C007C03E3E007C00007C03E01F0000007E003FE001F87E0F81F8001FFFC1FFFE1F00F80FCF81F8F87E07C007E07E3E007C00007C03E01F0000007E0007E001F03E0F80FC003FFFC1FFFF1F00F807CF81F8F87E07C007E07E3E00FC00007C03E01F0000007E0003E003F03F0F807C003FFFE1FFFE1F00F807CF81F0F83E07C003E07C3F00F800007C03E01F0000007E0003E003F03F0F807C003FFFE1F0001F00F80FC7C1F0F83E07C003E07C1F01F800007C03E01F0001C07C1C03E003F03F0F80FC007E03E0F8001F00F81FC7C1F0F83F0FC003F0FC1FC3F800007C03E01F0003E0FC3F07E001F03E0F81FC007C01F0F8181F00FFFF87FFE0FE3FFFC001FFF80FFFF0001FFFE3F8FFE003FFFC3FFFC001FFFE0FFFF8007C01F0FFFC1F00FFFF83FFE07E1FFFC001FFF807FFE0001FFFE1F8FFE001FFF83FFFC000FFFC0FFFF800FC01F07FFE1F00FFFF01FFC07E0FF7C000FFF003FFC0001FFFE1F8FFE000FFF01FFF80007FF80FFFF000F801F83FFC1F00FFFC00FF001E07E7C0003FC001FF00001FFFE078FFE0007FC007FE00003FF00FFFC000F800F80FF01F00000000000000000000000000000000000000000000000000000000000000000000000000000000001F00000000000000000000000000000000000000000000000000000000000000000000000000000000001F00000000000000000000000000000000000000000000000000000000000000000000000000000000001F00000000000000000000000000000000000000000000000000000000000000000000000000000000007F00000000000000000000000000000000000000000000000000000000000000000000000000000000007F00000000000000000000000000000000000000000000000000000000000000000000000000000000007E00000000000000000000000000000000000000000000000000000000000000000000000000000000007800^FS +^FO26,126^GFA,1960,1960,49,00000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000071C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000071C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000071C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000071C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007BC000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F8000780000000000000000003C00000000000000000001E0000000000000000001E000000000000000000000000000001F0000F80E00F00000000000003C00000000000000000001E0001E0001C000000001F000000000000E0000078000000000000000F01F07FC0000000000003C00000000000000000001E0007F800FF80000FE01F1FFC007FFC07FC0003FF03FFF00003F8001E01F0FFF0000000000003C00000000000000000001E001FFC01FFE0001FE01F1FFC007FFC1FFF0007FF83FFF80003F8001E01F1FFF0000000000003C00000000000000000001E001FFE03FFF0003FE01F1FFC00FFFC1FFF800FFFC3FFF80007F8001C01F3FFF8000000000003C00000000000000000001E003F3F07FFF0003DE01F0FF800FFFC3FFF000F87C3FFFC0007F800000003E0FC000000000003C00000000000000000001E003E1F07C1F8007DE01F03E000F0003E06000F03C3E07C0007BC00000007C07007C01C3801E3C03E00E1C00F800F800F1E003C0F0F80F800F9E01F03E000F0003C00000F03C3E07C0007BC003E00E7C0001FF03EFE07F3C0FF81F7F03FF03FE03F9E007C0F8F80780071E01F03E000F0003C00000F03C3E07C000F3C00FF81F7C0003FF83EFE07FBC1FFC1F7F07FF87FF03FDE007C0F8F807C0001E01F03E000F0003E00000F03C3E07C000F3E01FFC1F7C0007FFC3FFF0FFFC3FFE1FFF87FF0FFF87FFE007C0F8F807C0001E01F03E000F3F03F0000078783E07C000F3E03FFE1F7C0007C7C3F1F0F87C3E3E1F8F8F860F8F87C3E007C0F8F807C0001E01F03E000F7F83FF00007FF83FFF8001F1E03E3E1F7C000F83C3E1F0F07C7C1E1F0F8F801F078783E007C0F8F807C0001E01F03E000F7FC1FFE0001FE03FFE0001F1E07C1E1FFC000F83E3E1F1F03C7C1F1F0F8F801F07CF81E007C0F9F807C0001E01F03E000FFFC0FFF0003FF03FFF0001E1F07C1F1F7C000F83E3E1F1F03C7C1F1F0F87F01F07CF81E007C0F8F807C0001E01F03E000F87E03FF8007FF83FFF8001E1F07C1F1F7C000F83E3E1F1F03C7FFF1F0F87FE1FFFCF81E007C0F8F807C0001E01F03E000003E003F800F87C3E07C003FFF07FFF1F7C000F83E3E1F1F03C7FFF1F0F83FF1FFFCF81E007C0F8F807C0001E01F03E000003E000F801F03E3E03E003FFF87FFF1F7C000F83E3E1F1F03C7C001F0F80FF9F000F81E007C0F8F807C0001E01F03E000003E000F801F03E3E03E003FFF87C001F7C020F83E3E1F1F03C7C001F0F800F9F000F81E007C0F8F80780001E01F03E000003E000F801F03E3E03E003FFF87C001F7C078F83E3E1F1F03C7C001F0F80079F000F81E003C0F0F80F80001E01F03E000603E180F801F03E3E03E007C0787C001F3E0F8783C3E1F0F87C3E0C1F0F86078F8307C3E003E1F07C1F80001E01F03E000F07E3C0F801F87E3E07E007807C3E0C1F3FFF87CFC3E1F0FCFC3F1E1F0F8F8F8FC787E7E003FFF07FFF0003FFF1F8FFC00FFFC7FFF800FCFC3FFFC007807C3F1E1F1FFF07FF83E1F0FFBC1FFE1F0F8FFF87FF87FDE001FFE03FFE0003FFF1FDFFC00FFFC3FFF000FFFC3FFFC00F803C1FFE1F0FFE03FF83E1F07F3C0FFC1F0F87FF03FF03F9E000FFC01FFC0003FFF0FDFFC007FF81FFE0007FF83FFF800F803E0FFC1F07FC00FE03E1F03F3C07F81F0F83FE01FE01F9E0007F800FF80003FFF07DFFC001FE007FC0003FF03FFF000F003E07F81F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000078^FS +^FO26,176^GFA,2028,2028,52,00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000070000000000000000000000000003C0003C00000000000000000000000000000000038000000003C0000000000000000000F0000F8F81F0000000000000000000000FF000FF000000007E01FF0007FFE0000007FFC00FF00000000FF007FF000000003C0000E0000F8F81F0000000000000000000003FF801FF80000000FE01FF0007FFE0000007FFC01FF80000001FF807FF800000003E0001C000078FC3F0000000000000000000003C3C03C3C0000001FE000700003C0000000700003C3C0000003C3C0707C00000007E00018000000EC37000000000000000000000781E0781E0000007CE000700003C000000070000781C000000781E0701E00000007E00000000000EC37000000000000000000000700E0700E00000078E000700003C000000070000700E000000700E0700E00000006E00000000000EE7700180000C000180000000700E0700E00000060E000700003C000000070000700E000000700E0700E0000000E700038000000E66700FF0077F800FF0000000700E0700E00000040E000700003C0000000700007000000000700E0700E0000000E7000FF007FF8E66701FF8077FC01FF8000000700E0700E00000000E000700003C0000000700007000000000700E0700E0000000E7001FF807FF8E6E703C3C07C3C03C3C000000700E0700E00000000E000700003C0000000700003800000000381C0701C0000000E700381C00078E7C70781E0781E0781E000000700E0700E00000000E000700003C00000007FF003E000000003C3C0703C0000001C380700E00078E3C70700E0700E0700E000000718E0700E00000000E000700003C00000007FF801FE00000000FF007FF80000001C380700E00078E3C70700E0700E0700E00000073CE0700E00000000E000700003C00000003FFC00FF80000000FF007FF00000001C380700E00078E3870700E0700E0700E00000073CE0700E00000000E000700003C0000000001E001FC0000003FFC07FFC0000001C380700E00078E0070700E0700E0700E000000718E0700E00000000E000700003C0000000000E0003E000000781E0701C000000381C07FFE00078E0070700E0700E0700E000000700E0700E00000000E000700003C0000000000E0000E000000700E0700E000000381C07FFE00078E0070700E0700E0700E000000700E0700E00000000E000700003C0000000000E0000E000000E0070700E0000003FFC07FFE00078E0070700E0700E0700E000000700E0700E00000000E000700003C0000000000E00007000000E007070070000003FFC0700000078E0070700E0700E0700E000000700E0700E00000000E000700003C0000000600E06007000000E007070070000007FFE0700000078E0070700E0700E0700E000000700E0700E00000000E000700003C0000000700E07006000000E0070700F000000700E0700000078E0070700E0700E0700E000000700E0700E00000000E000700003C0000000700E0700E000000700E0700E000000700E0700E00078E0070381C0700E0381C000000781E0381C00000000E000380003C0000000781E0781E000000781E0701E000000700E0381E00078E00703E7C0700E03E7C0000003C3C03E7C0000007FFF003FF03FFC0000003C7C03E7C0000003E7C07FFC000000E00703C3C00078E00701FF80700E01FF80000001FF801FF80000007FFF001FF07FFE0000001FF801FF80000001FF807FF8000000E00701FF800070E00700FF00700E00FF00000000FF000FF00000007FFF000FF07FFE0000000FF000FF00000000FF007FF0000000E00700FF0000700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F00^FS +^FO27,225^GFA,2028,2028,52,0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001860000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000186000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001CE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780001F0000F00000000000000000000000000078000780000000000000000000000000000000007000000000780000000000000000001E0001F0FFE0000003FF000003C0000001FE001FE00000000FC03FF000FFFC000000FFFC03FE00000001FE00FFE00000000FC0003C0001F8FFF8000003FF000003C0000007FF807FF80000001FC03FF000FFFC000000FFFC07FF80000007FF80FFF80000000FC000780000F0FFFC000003FF000003C000000FFFC07FF80000007FC03FF000FFFC000000FFFC0FFF8000000FFFC0FFFC0000000FC00070000060F07C0000000F000003C000000F87C0F87C000000FFC000F0000780000000F0000F87C000000F87C0F07C0000001FE00000000000F03E0000000F000003C000000F03C0F03C000000FBC000F0000780000000F0000F03C000000F03C0F03E0000001FE00000000000F03E0078000F0000C3C000001E01E0F03C000000F3C000F0000780000000F0001F03C000000F03E0F03E0000001FE00030000000F03E01FE000F0003FBC000001E01E1F03E000000C3C000F0000780000000F0001F000000000F03E0F03E0000001CE001FE00FFF0F03C07FF800F0007FFC000001E01E1F03E00000083C000F0000780000000F0000F000000000F03C0F03C0000003CF007FF80FFF0F03C0FFFC00F000FFFC000001E01E1F03E00000003C000F0000780000000FE000F800000000F03C0F03C0000003CF007FF80FFF0F0F80F87C00F000F87C000001E01E1F03E00000003C000F0000780000000FFE00FF000000007CF80F0F80000003CF00F03C000F0FFF00F03C00F000F03C000001E79E1F03E00000003C000F0000780000000FFF807FE00000003FF00FFF000000038700F03C000F0FFF01F03E00F001F03C000001E79E1F03E00000003C000F0000780000000FFFC03FF80000003FF00FFF000000078781E01E000F0FFF81F03E00F001F03C000001E79E1F03E00000003C000F0000780000000007C00FFC0000007FF80FFF800000078781E01E000F0F07C1F03E00F001F03C000001E31E1F03E00000003C000F0000780000000003C001FC000000F87C0F07C00000078781FFFE000F0F03E1F03E00F001F03C000001E01E1F03E00000003C000F0000780000000003E0003E000001F03E0F03E00000078781FFFE000F0F01E1F03E00F001F03C000001E01E1F03E00000003C000F0000780000000003E0001E000001E01E0F01E000000FFFC1FFFE000F0F01E1F03E00F001F03C000001E01E1F03E00000003C000F0000780000000003E0001E000001E01E0F01E000000FFFC1E000000F0F01E1F03E00F001F03C000001E01E1F03E00000003C000F0000780000001E03E1E01E000001E01E0F01E000000FFFC1E000000F0F01E1F03E00F001F03C000001E01E0F03C00000003C000F0000780000001E03E1E01E000001E01E0F01E000000F03C1F000000F0F03E0F03C00F800F03C000000F03C0F03C00000003C000F8000780000001F03C1F03E000001F03E0F03E000001E01E0F03C000F0F1FC0FCFC00FFE0FCFC000000FCFC0FCFC000000FFFE00FFE0FFFC000000FCFC0FCFC000000F87C0F1FC000001E01E0F87C000F0FFFC07FF8007FF0FFFC0000007FF807FF8000000FFFE007FF0FFFC000000FFF80FFFC000000FFFC0FFFC000001E01E07FF8000F0FFF803FF0003FF07FBC0000003FF003FF0000000FFFE003FF0FFFC0000007FF007FF80000007FF80FFF8000001E01E03FF0000F0FFE001FE0001FF03F3C0000001FE001FE0000000FFFE001FF0FFFC0000001FE001FE00000001FE00FFE0000003E01F01FE0000F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-faces-600.png b/renderer/src/test/resources/scene2/golden/text-faces-600.png new file mode 100644 index 0000000..5a8f536 Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-faces-600.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-faces-600.zpl b/renderer/src/test/resources/scene2/golden/text-faces-600.zpl new file mode 100644 index 0000000..e623013 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-faces-600.zpl @@ -0,0 +1,7 @@ +^XA^PW1200^LL600^LH0,0^CI28 +^FO51,52^GFA,6318,6318,81,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000780F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C1E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F0000000003800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E00000000000000000000000000000000000000000000000000000000000000000000000000000000003E00000000000000000000000000000000000000000000000000000000000000000000000000007C0000F800000000000000000000000000000000000000000000000000000000000000000000000000003E0000000000000000000000000000000000000000000000000000000000000000000000000000FC0001F8003FFE0000000000000000000000000000000000000FFC00000001FFE000000000000FF000003E003FFFF00000003FFFFFC00003FFE00000000007FF800003FFFF80000000000007F000000000F80001FC00FFFF8000000000000000000000000000000000007FFF8000000FFFF800000000001FF000003E003FFFF80000007FFFFFC0000FFFF8000000003FFFF00007FFFFFC00000000000FF000000001F00001FC03FFFFE00000000000000000000000000000000000FFFFC000003FFFFE00000000003FF000003E003FFFF80000007FFFFFC0003FFFFE000000007FFFF80007FFFFFF00000000000FF800000001F00001F807FFFFF00000000000000000000000000000000001FFFFE000007FFFFF0000000000FFF000003E003FFFF80000007FFFFFC0007FFFFF00000001FFFFFE0007FFFFFF80000000000FF800000003E00000F80FFFFFFC0000000000000000000000000000000003FFFFF00000FFFFFFC000000001FFF000003E003FFFF80000007FFFFFC000FFFFFFC0000001FFFFFE0007FFFFFFC0000000001FF800000003C00000201FE003FE0000000000000000000000000000000007F807F80001FF007FE000000003F9F000003E0000FC000000007C00000001FE003FE0000003FC00FF0007E0007FE0000000001FFC00000007C00000001F8000FE0000000000000000000000000000000007E001F80003FC001FE000000007F1F000003E00007C000000007C00000001F8000FE0000007F0003F8007E0000FE0000000001F7C00000007800000003F00007F000000000000000000000000000000000FC000FC0007F00007F00000000FE1F000003E00007C000000007C00000003F00007F0000007E0001F8007E00007F0000000003E7C00000001000000003F00003C000000000000000000000000000000000F80007C000FE00003F80000001FC1F000003E00007C000000007C00000003F00003C0000007E0001F8007E00003F0000000003E7E00000000000000003E000018000000000000000000000000000000001F80007E000FC00001F80000003F81F000003E00007C000000007800000003E000018000000FC0000FC007E00003F0000000003E3E00000000000000007E000000000000000000000000000000000000001F00003E001F800000FC0000007F01F000003E00007C000000007800000007E000000000000FC0000FC007E00001F8000000007C3E00000000000000007E000000000000000000000000000000000000003F00003E001F800000FC000000FE01F000003E00007C000000007800000007E000000000000FC0000FC007E00001F8000000007C3F00000000000000007E0000000000FFC0000000FF000000FFC00000003F00003F001F0000007E000000FC01F000003E00007C00000000F800000007E000000000000FC0000FC007E00001F8000000007C1F0000001FF00000007E0000000007FFF00007C3FFC00003FFF00000003E00003F003F0000007E0000007801F000003E00007C00000000F800000007E000000000000FC0000FC007E00001F800000000F81F000000FFFE0000F87E000000000FFFFC0007C7FFF0000FFFFC0000003E00001F003F0000003E0000003001F000003E00007C00000000F800000007E0000000000007C0000F8007E00001F800000000F81F800001FFFF0000F83E000000001FFFFE0007CFFFF8001FFFFE0000003E00001F003E0000003E0000000001F000003E00007C00000000F800000003E0000000000007C0000F8007E00001F000000000F80F800003FFFF8000F83F000000003FE3FF0007DFFFF8003FE1FF0000007E00001F803E0000003F0000000001F000003E00007C00000000F800000003F0000000000007E0001F8007E00003F000000001F00FC00007F83FC000F83F800000007F007F0007DC03FC003F003F8000007E00001F807E0000003F0000000001F000003E00007C00000000F800000003F8000000000003F0003F0007E00003F000000001F00FC0000FE00FE000F81FE00000007C003F8007F000FC007E001F0000007E00001F807E0000003F0000000001F000003E00007C00000000F81FC00001FE000000000001F8007E0007E00007E000000003F007C0001F8003F000F81FFC00000078001F8007E0007E007C00060000007E00001F807E0000003F0000000001F000003E00007C00000000F87FF80001FFC00000000000FC01FC0007E0000FC000000003E007E0003F0001F000F80FFFC0000030000F8007E0007E007C00000000007E00001F807E0000003F0000000001F000003E00007C00000000F9FFFE0000FFFC00000000007FFFF80007E0007F8000000003E003E0003F0001F800F803FFFC000000000FC007C0003E007C00000000007E00001F807E0000003F0000000001F000003E00007C00000000FBFFFF00003FFFC0000000003FFFE00007FFFFFF0000000007E003E0003E0000F800F801FFFF800000000FC007C0003E007C00000000007E00001F807E0000003F0000000001F000003E00007C00000000FFFFFF80001FFFF8000000000FFFC00007FFFFFC0000000007C003F0007E0000FC00F8007FFFE00000000FC007C0003E007C00000000007E00001F807E0000003F0000000001F000003E00007C00000000FF807FC00007FFFE000000003FFFF00007FFFFFF0000000007C001F0007C0000FC00F8000FFFF00000000FC007C0003F007E00000000007E00001F807E0000003F0000000001F000003E00007C00000000FE001FC00000FFFF00000000FFFFFC0007FFFFFFC00000000FC001F0007C00007C00F80000FFF80000000FC007C0003F007F00000000007E00001F807E0000003F0000000001F000003E00007C00000000FC000FE000000FFF80000001FC01FE0007E0003FE00000000F8001F800FC00007C00F800000FFC0000000FC007C0003F003FC0000000007E00001F807E0000003F0000000001F000003E00007C00000000180007E0000000FFC0000003F0003F0007E00007F00000000F8000F800FC00007C00F8000003FE00003FFFC007C0003F001FFF000000007E00001F807E0000003F0000000001F000003E00007C00000000000007F00000003FE0000007E0001F8007E00003F80000001F0000F800FFFFFFFC00F8000000FE0007FFFFC007C0003F001FFFF00000007E00001F807E0000003F0000000001F000003E00007C00000000000003F00000000FE000000FC0000FC007E00001F80000001FFFFFFC00FFFFFFFC00F80000007F001FFFFFC007C0003F0007FFFC0000007E00001F807E0000003F0000000001F000003E00007C00000000000003F000000007F000000FC0000FC007E00000FC0000001FFFFFFC00FFFFFFFC00F80000003F003FFFFFC007C0003F0001FFFE0000007E00001F807E0000003F0000000001F000003E00007C00000000000003F000000003F000001F800007E007E00000FC0000003FFFFFFC00FFFFFFFC00F80000003F007FE00FC007C0003F00003FFF0000003E00001F003E0000003F0000000001F000003E00007C00000000000003F000000003F000001F800007E007E00000FC0000003FFFFFFE00FC00000000F80000001F00FE000FC007C0003F000000FF8000003E00001F003F0000003E0000000001F000003E00007C00000000000003F000000001F000001F800007E007E00000FC0000003FFFFFFE00FC00000000F80000001F00FC000FC007C0003F0000003F8000003E00001F003F0000007E0000000001F000003E00007C00000000000003F000000001F000001F800007E007E00000FC0000007E00003E00FC00000000F80000001F01F8000FC007C0003F0000001F8000003F00003F003F0000007E0000000001F000003E00007C00000000000003F000000001F000001F800007E007E00000FC0000007C00003F007C00000000F80000001F01F8000FC007C0003F0000000FC000003F00003F001F8000007C0000000001F000003E00007C00000000000003F000000001F000001F800007E007E00000FC0000007C00003F007C00000000F80000003F01F8000FC007C0003F0000000FC000001F00003E001F800000FC0000000001F000003E00007C00000000000003F000000003F000001F800007E007E00000FC000000FC00001F807C00000000F83800003F01F8000FC007C0003F00000007C000001F80007E000FC00001FC0000000001F000003E00007C00000000600003F003800003F000001F800007E007E00000FC000000F800001F807E00004000F87C00003F01F8000FC007C0003F00100007C000001F80007E000FE00001F80000000001F000003E00007C00000000F00007E007C00003F000001FC0000FE007E00000FC000001F800001F803E00006000F8FE00007E01F8000FC007C0003F0078000F8000000FC000FC0007F00003F00000000001F000003E00007C00000001F00007E00FE00007E000000FC0000FC007E00001F8000001F800000FC03F0000F800F8FF0000FE01F8001FC007C0003F00FC000F8000000FE001FC0007F8000FF00000000001F000003E00007C00000001F8000FC00FF0000FE000000FE0001FC007E00003F8000001F000000FC01F8001F800F87FC001FC00FC003FC007C0003F00FE001F80000007F003F80003FE001FE00000000001F000003E00007C00000001FE003FC007FC001FC0000007F8007F8007E0000FF0000003F000000FC01FC003F000F83FF80FF800FE00F7F807C0003F007F807F00000003FC0FF00001FFC0FFC00000003FFFFFFF003FF03FFFF0000000FFC1FF8003FF80FF80000003FE01FF0007FFFFFFE0000003F0000007E00FF00FF000F81FFFFFF0007FFFE7FC07C0003F003FFFFF00000003FFFFF00000FFFFFF800000003FFFFFFF003FF03FFFF80000007FFFFF0001FFFFFF00000001FFFFFE0007FFFFFFE0000003E0000007E007FFFFE000F807FFFFE0003FFFE3FC07C0003F001FFFFE00000001FFFFE000007FFFFF000000003FFFFFFF003FF03FFFF80000003FFFFE00007FFFFE00000000FFFFFC0007FFFFFF80000007E0000007E003FFFFC000F803FFFFC0001FFFC3FC07C0003F000FFFF8000000007FFF8000001FFFFC000000003FFFFFFF001FF03FFFF80000000FFFFC00003FFFFC000000007FFFF80007FFFFFF00000007E0000003F001FFFF0000F8007FFF00000FFF00FC07C0003F0003FFF0000000003FFF00000007FFF0000000003FFFFFFF0007F03FFFF800000003FFF0000007FFF0000000001FFFE00007FFFFFC00000007C0000003F0007FFC0000F8000FF0000001F800000000000000003F000000000003F0000000007F000000000000000000000000000000000000007F00000000FF000000000001FE000000000000000000000000000000000FE00000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F80^FS +^FO53,149^GFA,6640,6640,83,0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F1FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FE0FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FE0FE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F0FE000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFC000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFF8000000007F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE000000000FFC0007C00000000000000000000003FE00000001FF8000000000000000000000000000000000000000003FE0000000000000000000000000000000000000000000000000000000000000000003F8000000001FF8001FF00000000000000000000003FE00000001FF8000000000000000000000000000000000000000003FE000000000000000000000000000000000000000000000000000000000000000000000000000003FF0003FF807FFFFE000000000000003FE00000001FF800000000FFF00000000FFF000000000001FFF80003FE007FFFFC0000007FFFFFF000007FFC00000000007FF800007FFFFE000000000000FFF000000003FE0003FF80FFFFFFF00000000000003FE00000001FF800000003FFFC0000007FFFE00000000003FFFC0003FE00FFFFFC000000FFFFFFF80003FFFF8000000003FFFF0000FFFFFFF00000000001FFF800000007FE0003FF80FFFFFFFC0000000000003FE00000001FF80000000FFFFF000001FFFFF80000000007FFFC0003FE00FFFFFC000000FFFFFFF8000FFFFFE00000000FFFFFC000FFFFFFFC0000000001FFF800000007FC0003FF80FFFFFFFE0000000000003FE00000001FF80000001FFFFF800007FFFFFC000000000FFFFC0003FE00FFFFFC000000FFFFFFF8001FFFFFF80000001FFFFFE000FFFFFFFE0000000001FFF80000000FF80003FF80FFFFFFFF0000000000003FE00000001FF80000003FFFFFC0000FFFFFFE000000001FFFFC0003FE00FFFFFC000000FFFFFFF8003FFFFFFC0000003FFFFFF000FFFFFFFF0000000003FFFC0000000FF00003FF80FFFFFFFF8000000000003FE00000001FF80000007FFFFFE0001FFFFFFF000000001FFFFC0003FE00FFFFFC000000FFFFFFF8007FFFFFFE0000007FFFFFF800FFFFFFFF8000000003FFFC0000000FE00003FF80FFFFFFFFC000000000003FE00000001FF8000000FFFFFFF0003FFFFFFF800000003FFFFC0003FE00FFFFFC000000FFFFFFF800FFFFFFFE000000FFFFFFFC00FFFFFFFFC000000003FFFC00000007E00001FF00FFFFFFFFC000000000003FE00000001FF8000000FFFFFFF0003FFFFFFFC00000007FFFFC0003FE00FFFFFC000000FFFFFFF801FFFFFFFC000000FFF87FFC00FFFFFFFFC000000007FFFC00000001C00000FE00FFFFFFFFC000000000003FE00000001FF8000001FFF0FFF8007FFFFFFFE0000000FFEFFC0003FE007FFFFC000000FFFFFFF801FFFFFFF8000000FFE01FFC00FFFFFFFFC000000007FFFE000000000000000000FFC001FFE000000000003FE00000001FF8000001FFC03FF800FFFC03FFE0000000FFCFFC0003FE0003FF00000000FF00000001FFC00FF0000001FFC00FFE00FFC001FFE000000007FFFE000000000000000000FFC000FFE000000000003FE00000001FF8000003FF801FFC00FFF000FFF0000001FF8FFC0003FE0003FF00000000FF00000003FF8003E0000001FF8007FE00FFC000FFE00000000FFBFE000000000000000000FFC000FFE00003F800003FE00003F01FF8000003FF000FFC01FFE0007FF0000003FF0FFC0003FE0003FF00000000FF00000003FF0001C0000001FF8007FE00FFC000FFE00000000FFBFF0000000FE000000000FFC0007FE0001FFF80003FE0001FFC1FF8000007FF000FFC01FFC0003FF0000007FF0FFC0003FE0003FF00000000FE00000003FF000080000001FF8007FE00FFC0007FE00000000FF9FF0000007FFE0001FF00FFC0007FE0007FFFE0003FE0003FFF1FF8000007FF000FFE01FF80003FF8000007FE0FFC0003FE0003FF00000001FE00000003FF000000000001FF0003FE00FFC0007FE00000001FF1FF000001FFFF8001FF00FFC0007FE001FFFFF0003FE000FFFF9FF8000007FE0007FE03FF80001FF800000FFC0FFC0003FE0003FF00000001FE00000003FF000000000001FF8007FE00FFC0007FE00000001FF1FF800007FFFFC001FF00FFC0007FE003FFFFF8003FE000FFFFDFF8000007FE0007FE03FF80001FF800000FF80FFC0003FE0003FF00000001FE00000003FF800000000000FF8007FC00FFC0007FE00000001FF0FF80000FFFFFE001FF00FFC000FFC007FFFFFC003FE001FFFFDFF8000007FE0007FE03FF00001FFC000007F80FFC0003FE0003FF00000001FE00000003FF800000000000FF8007FC00FFC000FFC00000003FE0FF80001FFFFFF001FF00FFC000FFC007FFFFFE003FE003FFFFFFF800000FFE0007FF03FF00001FFC000003F00FFC0003FE0003FF00000001FE0FFE0003FFE00000000000FFC00FF800FFC000FFC00000003FE0FFC0001FFFFFF801FF00FFC001FFC00FFFFFFF003FE003FFFFFFF800000FFE0007FF03FF00001FFC000000E00FFC0003FE0003FF00000001FE1FFF8001FFFF00000000007FE01FF800FFC001FFC00000003FE0FFC0003FFFFFFC01FF00FFE007FF800FFE0FFF003FE007FFE1FFF800000FFE0007FF03FF00001FFC000000400FFC0003FE0003FF00000001FE3FFFC001FFFFF8000000003FFCFFF000FFE007FF800000007FE07FC0007FF01FFC01FF00FFFFFFFF001FFC03FF803FE007FF807FF800000FFE0007FF07FF00000FFC000000000FFC0003FE0003FF00000001FE7FFFE001FFFFFF000000001FFFFFE000FFFFFFFF000000007FC07FE0007FE00FFE01FF00FFFFFFFC001FF801FF803FE007FF003FF800000FFE0007FF07FF00000FFC000000000FFC0003FE0003FF00000001FEFFFFF000FFFFFFC000000007FFFF8000FFFFFFFC000000007FC07FE0007FE007FE01FF00FFFFFFE0003FF001FF803FE007FE001FF800000FFE0007FF07FF00000FFC000000000FFC0003FE0003FF00000001FEFFFFF8007FFFFFF000000001FFFE0000FFFFFFE000000000FFC03FE000FFC007FE01FF00FFFFFFFC003FF000FFC03FE00FFE001FF800000FFE0007FF07FF00000FFC000000000FFC0003FE0003FF00000001FFFFFFFC003FFFFFF800000007FFFF8000FFFFFFFC00000000FF803FF000FFC003FE01FF00FFFFFFFF003FF000FFC03FE00FFC001FF800000FFE0007FF07FF00000FFC000000000FFC0003FE0003FF00000001FFFFFFFC001FFFFFFC0000001FFFFFE000FFFFFFFF00000000FF803FF000FFC003FF01FF00FFFFFFFF803FF000FFC03FE00FFC001FF800000FFE0007FF07FF00000FFC000000000FFC0003FE0003FF00000001FFC03FFE0007FFFFFE0000003FFFFFF000FFFFFFFF80000001FF803FF000FFC003FF01FF00FFFFFFFFC03FF000FFC03FE00FFC001FF800000FFE0007FF07FF00000FFC000000000FFC0003FE0003FF00000001FF001FFE0001FFFFFE0000007FFFFFF800FFFFFFFFC0000001FF801FF800FFFFFFFF01FF00FFFFFFFFE07FF000FFC03FE00FFC001FF800000FFE0007FF03FF00000FFC000000000FFC0003FE0003FF000000000E000FFE00001FFFFF000000FFF03FFC00FFFFFFFFE0000001FFFFFFF801FFFFFFFF01FF00FFC0007FF07FF000FFC03FE00FFC001FF800000FFE0007FF03FF00001FFC000000000FFC0003FE0003FF0000000000000FFE0000003FFF000001FFC00FFE00FFC0007FF0000003FFFFFFF801FFFFFFFF01FF00FFC0003FF07FF000FFC03FE00FFC001FF800000FFE0007FF03FF00001FFC000000000FFC0003FE0003FF00000000000007FE0000000FFF000001FF8007FE00FFC0003FF0000003FFFFFFFC01FFFFFFFF01FF00FFC0003FF07FF000FFC03FE00FFC001FF8000007FE0007FE03FF00001FFC000000000FFC0003FE0003FF00000000000007FE00000007FF000003FF8007FF00FFC0003FF0000003FFFFFFFC01FFFFFFFF01FF00FFC0003FF87FF000FFC03FE00FFC001FF8000007FE0007FE03FF80001FF8000000000FFC0003FE0003FF00000000000007FF00000003FF000003FF0003FF00FFC0003FF8000007FFFFFFFC01FFFFFFFF01FF00FFC0003FF83FF000FFC03FE00FFC001FF8000007FE0007FE03FF80001FF8000000000FFC0003FE0003FF00000000000007FE00000003FF000003FF0003FF00FFC0003FF8000007FFFFFFFE00FFC0000001FF00FFC0003FF83FF000FFC03FE00FFC001FF8000007FE0007FE01FF80003FF8000000000FFC0003FE0003FF00000000000007FE00000003FF000003FF0003FF00FFC0003FF8000007FFFFFFFE00FFC0000001FF00FFC0003FF83FF000FFC03FE00FFC001FF8000007FF000FFE01FFC0003FF8000000000FFC0003FE0003FF00000000180007FE00300003FF000003FF0003FF00FFC0003FF800000FFFFFFFFE00FFC0000001FF00FFC0003FF83FF000FF803FE00FFE001FF8000003FF000FFC01FFC0007FF0000000000FFC0003FE0003FF000000007C000FFE00780003FF000003FF0003FF00FFC0003FF800000FFFFFFFFF00FFC0000001FF00FFC0003FF83FF001FF803FE007FE001FF8000003FF801FFC00FFE000FFF0000000000FFC0003FE0003FF00000000FE000FFE00FE0007FF000003FF8007FF00FFC0003FF800000FFC0003FF00FFC0004001FF00FFC0007FF01FF801FF803FE007FF003FF8000003FF801FFC00FFF801FFE0000000000FFC0003FE0003FF00000001FF001FFC01FF000FFF000003FF8007FF00FFC0007FF000001FF80003FF007FE000E001FF00FFFFFFFFF01FFC03FF003FE007FF807FF8000001FFE07FF8007FFE0FFFE0000000000FFC0003FE0003FF80000003FF803FFC03FFE03FFE000003FFC00FFF00FFFFFFFFF000001FF80003FF807FF001F001FF00FFFFFFFFF00FFE0FFF003FFF07FFE1FFF8000001FFFFFFF8007FFFFFFFC0000001FFFFFFFF03FFF0FFFFFC000007FFF0FFFC07FFFFFFFE000001FFE01FFE00FFFFFFFFF000001FF80001FF803FFC07F801FF00FFFFFFFFE00FFFFFFE003FFF03FFFFFFF8000000FFFFFFF0003FFFFFFFC0000001FFFFFFFF03FFF0FFFFFC000003FFFFFFF807FFFFFFFC000001FFFFFFFE00FFFFFFFFE000003FF80001FF803FFFFFFC01FF00FFFFFFFFE007FFFFFE003FFF03FFFFFFF8000000FFFFFFE0001FFFFFFF80000001FFFFFFFF03FFF0FFFFFC000001FFFFFFF003FFFFFFFC000000FFFFFFFC00FFFFFFFFE000003FF00001FFC01FFFFFFC01FF00FFFFFFFFC003FFFFFC001FFF01FFFFDFF80000007FFFFFE0000FFFFFFF00000001FFFFFFFF01FFF0FFFFFC000000FFFFFFE001FFFFFFF80000007FFFFFF800FFFFFFFFC000003FF00001FFC01FFFFFFC01FF00FFFFFFFF8003FFFFF8001FFF00FFFFDFF80000003FFFFFC00007FFFFFE00000001FFFFFFFF01FFF0FFFFFC0000007FFFFFC000FFFFFFF00000003FFFFFF000FFFFFFFF8000007FF00000FFC00FFFFFF801FF00FFFFFFFF0001FFFFF0000FFF00FFFF9FF80000001FFFFF800003FFFFF800000001FFFFFFFF00FFF0FFFFFC0000003FFFFF80003FFFFFC00000001FFFFFE000FFFFFFFF0000007FE00000FFE003FFFFF001FF00FFFFFFFC00007FFFE00007FF003FFF1FF800000007FFFE000000FFFFF000000001FFFFFFFF007FF0FFFFFC0000000FFFFF00001FFFFF8000000007FFFF8000FFFFFFFC0000007FE00000FFE001FFFFC001FF00FFFFFFF000001FFF800000FF001FFC1FF800000001FFF80000003FFFC000000001FFFFFFFF000FF0FFFFFC00000003FFF8000003FFFC0000000001FFFE0000FFFFFFF0000000FFE000007FE0007FFF0001FF0000000000000003F8000000000003F00000000000003FC000000003FC000000000000000000000000000000000000003FC00000003FC000000000001FE00000000000000000000000000000000007F00001FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FF000^FS +^FO51,248^GFA,7840,7840,98,0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E0FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC07E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E0FC0000000C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFC0000000F8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFF80000001FE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF80000001FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE00000003FF0003F0000000000000000000000000000000007FE0000000000000000000000000000000000000000FFC00000000000000000000000000000000000007FC000000000000000000000000000000000000000000000000000000000003F800000003FE0007F8000000000000000000000000000000007FE0000000000000000000000000000000000000000FFC00000000000000000000000000000000000007FC0000000000000000000000000000000000000000000000000000000000000000000007FC000FFC0007FF800000000000000000000000007FE0000000000000000000000000000000000000000FFC0000000FFF0000001FFE0000000000FFF80007FC03FFFFC000003FFFFFE0000FFF8000000001FFE0000FFFFF80000000000FFE00000007FC000FFC003FFFE00000000000000000000000007FE0000000000000000000000000000000000000000FFC0000003FFFC000007FFFC000000001FFFC0007FC03FFFFC000007FFFFFE0003FFFF00000000FFFFC000FFFFFF8000000001FFF00000007F8000FFC00FFFFF80000000000000000000000007FE0000000000000000000000000000000000000000FFC000000FFFFF00001FFFFF000000003FFFC0007FC03FFFFC000007FFFFFE000FFFFFC0000001FFFFE000FFFFFFE000000001FFF0000000FF0000FFC01FFFFFC0000000000000000000000007FE0000000000000000000000000000000000000000FFC000001FFFFF80003FFFFF800000007FFFC0007FC03FFFFC000007FFFFFE001FFFFFE0000007FFFFF800FFFFFFF000000001FFF8000000FF0000FFC03FFFFFE0000000000000000000000007FE0000000000000000000000000000000000000000FFC000003FFFFFC0007FFFFFC00000007FFFC0007FC03FFFFC000007FFFFFE003FFFFFF8000007FFFFF800FFFFFFF800000003FFF8000001FE0000FFC07FFFFFF0000000000000000000000007FE0000000000000000000000000000000000000000FFC000003FFFFFC000FFFFFFE0000000FFFFC0007FC03FFFFC000007FFFFFE007FFFFFF800000FFFFFFC00FFFFFFFC00000003FFF8000001FC0000FFC0FFFFFFF0000000000000000000000007FE0000000000000000000000000000000000000000FFC000007FFFFFE001FFFFFFF0000001FFFFC0007FC03FFFFC000007FFFFFE007FFFFFFC00000FFFFFFC00FFFFFFFC00000003FFF8000000F800007F80FFFFFFF8000000000000000000000007FE0000000000000000000000000000000000000000FFC000007FFFFFE003FFFFFFF0000003FFFFC0007FC03FFFFC000007FFFFFE00FFFFFFF800001FFC0FFE00FFFFFFFC00000003FFFC0000003800001E01FFF07FF8000000000000000000000007FE0000000000000000000000000000000000000000FFC00000FFE07FF003FFE0FFF8000003FE7FC0007FC001FF80000007FFFFFE00FFF03FF000001FF807FE00FFFFFFFE00000007FFFC0000000000000001FFC01FFC000000000000000000000007FE0000000000000000000000000000000000000000FFC00000FFC03FF007FF003FF8000007FC7FC0007FC001FF80000007F8000000FFC007E000001FF003FE00FF800FFE00000007FBFC0000000000000003FF000FFC000000000000000000000007FE0000000000000000000000000000000000000000FFC00001FF801FF007FE000FFC00000FFC7FC0007FC001FF80000007F8000000FF8003C000001FF003FE00FF8007FE00000007FBFE0000000000000003FF0007F80007F000000003E000007C07FE0000FE000000007C000007F000000FE000000F80FFC00001FF801FF807FE000FFC00000FF87FC0007FC001FF80000007F0000001FF80018000001FE001FE00FF8007FE0000000FF3FE000001FC00000007FE0007E0003FFF0003FE0FFC0001FF07FE0007FFE0007FC1FF80007FFF00007FFE00003FE0FFC00001FF001FF80FFC0007FC00000FF07FC0007FC001FF80000007F0000001FF80000000001FE001FE00FF8007FE0000000FF1FE00000FFFC000FFC7FE00038000FFFFC003FE1FFE0007FFC7FE001FFFF8007FC3FFC000FFFFC001FFFF8000FFF8FFC00001FF000FF80FFC0007FE000007F07FC0007FC001FF80000007F0000001FF80000000001FE001FE00FF8007FE0000000FF1FE00003FFFF000FFC7FC00020001FFFFE003FE3FFF000FFFE7FE003FFFFC007FC7FFE003FFFFE003FFFFC001FFFCFFC00001FF000FF80FF80007FE000001E07FC0007FC001FF8000000FF0000001FF80000000001FE001FE00FF8007FE0000000FF1FF00007FFFF800FFC7FC00000003FFFFF003FE7FFF800FFFE7FE007FFFFE007FCFFFF003FFFFF007FFFFE001FFFCFFC00003FF000FFC0FF80003FE000000C07FC0007FC001FF8000000FF0000001FF80000000001FE001FE00FF8007FE0000001FF1FF0000FFFFFC00FFC7FC00000007FFFFF803FE7FFF801FFFF7FE00FFFFFF007FCFFFF007FFFFF80FFFFFF003FFFEFFC00003FF000FFC1FF80003FE000000007FC0007FC001FF8000000FF0000000FFC0000000001FF003FE00FF8007FE0000001FF1FF0001FFFFFE00FFCFFC00000007FFFFF803FE7FFF803FFFF7FE00FFFFFF007FCFFFF00FFFFFF00FFFFFF007FFFEFFC00003FF000FFC1FF80003FE000000007FC0007FC001FF8000000FF03FC000FFE0000000000FF003FC00FF8007FC0000001FE1FF0001FFFFFE00FFCFFC0000000FFFFFFC03FFFFFFC03FFFFFFE01FFC3FF807FFFFFF80FFE7FE01FFC3FF807FFFFFFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FF0FFF000FFFC000000000FF807FC00FF8007FC0000003FE0FF8003FF87FF00FFCFFC0000000FFC0FFC03FFC1FFC03FF81FFE01FF00FF807FF83FF80FF807C01FF00FF807FF03FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FF1FFFC00FFFFE000000007FE1FF800FF801FF80000003FE0FF8003FE01FF00FFCFFC0000001FF807FE03FF80FFC07FF00FFE03FF00FFC07FF01FF80FF803803FF00FFC0FFE01FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FF3FFFE007FFFFC00000003FFFFF000FFFFFFF00000003FE0FF8007FE01FF80FFCFFC0000001FF003FE03FF00FFC07FE007FE03FE007FC07FE01FF80FF001003FE007FC0FFC00FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FF3FFFF007FFFFF80000000FFFFC000FFFFFFE00000003FC07FC007FC00FF80FFCFFC0000001FF003FE03FF007FC07FE007FE03FE007FC07FE00FF80FF000003FE007FC0FFC00FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FF7FFFF003FFFFFC00000007FFF8000FFFFFF000000007FC07FC007FC00FF80FFCFFC0000001FF003FE03FE007FC07FC007FE03FE007FC07FC00FF80FF800003FE007FC0FF800FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FF7FFFF801FFFFFE00000007FFF8000FFFFFF000000007FC07FC007FC00FF80FFCFFC0000003FF003FE03FE007FC07FC007FE07FE007FC07FC00FF80FFC00007FE007FC0FF800FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FFF9FFF8007FFFFF0000003FFFFF000FFFFFFF00000007FC07FC00FFC00FF80FFCFFC0000003FF003FF03FE007FC07FC007FE07FE007FE07FC00FF80FFF80007FE007FE0FF800FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FFC03FF8003FFFFF8000007FFFFF800FFFFFFF8000000FF803FE00FFC00FFC0FFCFFC0000003FF003FF03FE007FC07FC007FE07FFFFFFE07FC00FF80FFFFC007FFFFFFE0FF800FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF8000000FF801FFC0007FFFF800000FFFFFFC00FFFFFFFC000000FF803FE00FFFFFFFC0FFCFFC0000003FF003FF03FE007FC07FC007FE07FFFFFFE07FC00FF807FFFF007FFFFFFE0FF800FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF800000003001FFC00007FFFC00001FFC0FFE00FFC00FFE000000FF803FE00FFFFFFFC0FFCFFC0000003FF003FF03FE007FC0FFC007FE07FFFFFFE07FC00FF807FFFFC07FFFFFFE1FF800FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF800000000000FFC000003FFC00001FF003FE00FF8003FF000000FFFFFFF00FFFFFFFC0FFCFFC0000003FF003FF03FE007FC0FFC007FE07FFFFFFE07FC00FF803FFFFE07FFFFFFE1FF800FFC00003FF000FFC1FF80003FF000000007FC0007FC001FF800000000000FFC000001FFC00003FF003FF00FF8001FF000001FFFFFFF00FFFFFFFC0FFCFFC0000003FF003FF03FE007FC0FFC007FE07FFFFFFE07FC00FF801FFFFF07FFFFFFE1FF800FFC00003FF000FFC1FF80003FE000000007FC0007FC001FF800000000000FFC000000FFC00003FE001FF00FF8001FF000001FFFFFFF00FFFFFFFC0FFCFFC0000003FF003FF03FE007FC07FC007FE07FFFFFFE07FC00FF8007FFFF87FFFFFFE0FF800FFC00003FF000FFC0FF80003FE000000007FC0007FC001FF800000000000FFC0000007FC00003FE001FF00FF8001FF800001FFFFFFF00FFFFFFFC0FFC7FC0000003FF003FF03FE007FC07FC007FE07FE0000007FC00FF8000FFFF87FE000000FF800FFC00001FF000FF80FF80003FE000000007FC0007FC001FF800000000000FFC0000007FE00007FE001FF80FF8001FF800003FFFFFFF80FFC000000FFC7FE0003803FF003FF03FE007FC07FC007FE07FE0000007FC00FF80000FFF87FE000000FF800FFC00001FF000FF80FF80007FE000000007FC0007FC001FF800000000000FFC0000007FC00007FE001FF80FF8001FF800003FFFFFFF80FFC000000FFC7FE0003E03FF003FE03FE007FC07FC007FE07FE0000007FC00FF800000FF87FE000000FF800FFC00001FF000FF80FFC0007FE000000007FC0007FC001FF80000000C000FFC0000007FC00007FE001FF80FF8001FF800003FFFFFFF80FFC000000FFC7FE0007F01FF003FE03FE007FC07FC007FE03FE0000007FC00FF800000FF83FE000000FF800FFC00001FF801FF80FFC0007FC000000007FC0007FC001FF80000001C000FFC0180007FC00007FE001FF80FF8001FF800003FFFFFFFC07FC000000FFC3FF0007FC1FF003FE03FE007FC07FE007FE03FE0004007FC00FF8010007F83FE000400FFC00FFC00001FF801FF807FE000FFC000000007FC0007FC001FF80000003E000FFC03C000FFC00007FE001FF80FF8001FF800007FC0007FC07FC000800FFC3FF800FFC1FF003FE03FE007FC07FE007FE03FF000E007FC00FF8038007F83FF000E00FFC00FFC00000FF801FF007FF001FFC000000007FC0007FC001FF8000000FF001FF807E000FFC00003FF003FF00FF8003FF000007FC0007FC07FE001C00FFC1FFC03FFC1FF807FE03FE007FC07FF00FFE03FF001E007FC00FF807C00FF83FF001E00FFE01FFC00000FFC03FF003FF803FF8000000007FC0007FC001FF8000001FF803FF80FF801FFC00003FF003FF00FF8007FF000007FC0007FC07FE003C00FFC1FFFFFFF80FFC0FFC03FE007FC03FF81FFE01FFC03F007FC00FF80FF00FF81FFC03F007FF03FFC00000FFF0FFF003FFFFFFF8000003FFFFFFE07FE03FFFFC00001FFE07FF81FFFFFFF800003FF807FF00FFFFFFFF00000FF80003FE03FF807E00FFC0FFFFFFF00FFFFFFC03FE007FC03FFFFFFE01FFFFFF807FC00FF81FFE7FF81FFFFFF807FFFFFFC000007FFFFFE001FFFFFFF0000003FFFFFFE07FFC3FFFFC00001FFFFFFF03FFFFFFF800001FFFFFFE00FFFFFFFE00000FF80003FE03FFFFFF00FFC0FFFFFFF007FFFFF803FE007FC03FFFF7FE00FFFFFFC07FC00FF81FFFFFF00FFFFFFC07FFFEFFC000007FFFFFE001FFFFFFE0000003FFFFFFE07FFC3FFFFC00000FFFFFFF01FFFFFFF000001FFFFFFE00FFFFFFFE00000FF80003FE01FFFFFF80FFC07FFFFFE007FFFFF803FE007FC01FFFF7FE007FFFFF807FC00FF81FFFFFF007FFFFF803FFFEFFC000003FFFFFC000FFFFFFE0000003FFFFFFE03FFC3FFFFC000007FFFFFE00FFFFFFF000000FFFFFFC00FFFFFFFC00000FF80003FF00FFFFFF00FFC03FFFFFC003FFFFF003FE007FC01FFFE7FE003FFFFF007FC00FF80FFFFFE003FFFFF003FFFCFFC000001FFFFF80007FFFFFC0000003FFFFFFE03FFC3FFFFC000003FFFFFC007FFFFFE0000007FFFFF800FFFFFFFC00001FF00001FF007FFFFE00FFC01FFFFF8001FFFFE003FE007FC00FFFE7FE001FFFFE007FC00FF807FFFFC001FFFFE001FFFCFFC000000FFFFF00003FFFFF80000003FFFFFFE01FFC3FFFFC000001FFFFF8003FFFFFC0000003FFFFF000FFFFFFF800001FF00001FF003FFFFC00FFC007FFFF0000FFFFC003FE007FC007FFC7FE000FFFFC007FC00FF801FFFF8000FFFFC000FFF8FFC0000007FFFE00000FFFFE00000003FFFFFFE00FFC3FFFFC0000007FFFF0000FFFFF00000001FFFFE000FFFFFFE000001FF00001FF001FFFF800FFC001FFFC00003FFF0003FE007FC001FF07FE0003FFF0007FC00FF8007FFE00003FFF00003FE0FFC0000001FFF8000003FFF800000003FFFFFFE003FC3FFFFC0000001FFFC00003FFFC000000007FFF8000FFFFFF8000003FF00001FF8007FFE000FFC0001FC0000007F0000000000000007C000000007F0000000000000007F0000007F000000F8000000000003FC00000003F800000000000000000000000000000000003FC0000003FC00000000007F8000000000000000000000000000000FE0000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF80^FS +^FO53,349^GFA,8112,8112,104,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F87C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F03E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E01E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E01E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E01E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E01E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F03E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F03C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC0000000003F000000003C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E000000007F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC00000000FF80FF8007FC000000000000000000000000000000000000000000003FF00000003FF000000000000000000FF00007FFFE0000003FFFFFF00000000000003FFFFFE000003FF000000000000000003FF000007FFF8000000000000000001FE000000001FC00000000FF80FF8007FC00000000000000000000000000000000000000000001FFFE000001FFFE00000000000000003FF00007FFFF0000003FFFFFF00000000000003FFFFFF00001FFFC0000000000000001FFFE00007FFFFC00000000000000001FE000000001F800000000FF80FF8007FC00000000000000000000000000000000000000000003FFFF000003FFFF00000000000000007FF00007FFFF0000003FFFFFF00000000000003FFFFFF00003FFFF0000000000000003FFFF00007FFFFF00000000000000003FF000000003F000000000FF80FFC00FFC0000000000000000000000000000000000000000000FFFFFC00007FFFF8000000000000000FFF00007FFFF0000003FFFFFF00000000000003FFFFFF00007FFFF800000000000000FFFFFC0007FFFFF80000000000000003FF000000007E000000000FF80FFC00FFC0000000000000000000000000000000000000000000FFFFFC0000FFFFFC000000000000003FFF00007FFFF0000003FFFFFF00000000000003FFFFFF0000FFFFFC00000000000000FFFFFC0007FFFFFC0000000000000003FF00000000FC0000000007F00FBC00F7C0000000000000000000000000000000000000000001FE01FE0001FF03FE000000000000007FFF00007FFFF0000003FFFFFF00000000000003FFFFFE0001FF03FE00000000000001FF03FE0007FFFFFE0000000000000003FF00000000FC0000000001C00FBC01F7C0000000000000000000000000000000000000000003FC00FF0001FC00FE00000000000000FFBF00000003F000000000FC0000000000000003E000000003FC00FE00000000000003FC00FF0007E001FF0000000000000007FF80000000000000000000000FBE01F7C0000000000000000000000000000000000000000003F0007F0003F8007F00000000000003FF3F00000003F000000000FC0000000000000003E000000003F8007F00000000000003F8007F0007E0007F0000000000000007FF80000000000000000000000FBE01E7C0000000000000000000000000000000000000000007F0003F8003F0003F00000000000007FC3F00000003F000000000FC0000000000000003E000000003F0003F00000000000007F0003F8007E0003F0000000000000007CF80000000000000000000000F9E01E7C0000000000000000000000000000000000000000007E0001F8007F0003F80000000000007F83F00000003F000000000FC0000000000000003E000000007E0003F80000000000007E0001F8007E0003F8000000000000007CF80000000000000000000000F9F03E7C0000000000000000000000000000000000000000007E0001F8007E0001F80000000000007F03F00000003F000000000FC0000000000000003E000000007E0001F80000000000007E0001F8007E0001F800000000000000FCFC0000000000000000000000F9F03C7C0000000000000000000000000000000000000000007C0000F8007E0001F80000000000007C03F00000003F000000000FC0000000000000003E000000007E0001F80000000000007E0001F8007E0001F800000000000000FCFC0000000000000000000000F8F03C7C00003FF000007E0FFC0000003FF000000000000000FC0000FC007E0001F80000000000007803F00000003F000000000FC0000000000000003E000000007E0001F00000000000007E0001F8007E0001F800000000000000F87C0000003FF000007FFFFF00F8F87C7C0000FFFC00007E3FFF000000FFFC00000000000000FC0000FC007E0001F80000000000007003F00000003F000000000FC0000000000000003E000000007E0000000000000000007E0001F8007E0001F800000000000000F87C000001FFFE00007FFFFF00F8F8787C0003FFFF00007E7FFF800003FFFF00000000000000FC0000FC007E0001F80000000000004003F00000003F000000000FC0000000000000003E000000007E0000000000000000007E0001F8007E0001F800000000000001F87E000003FFFF00007FFFFF00F878787C0007FFFF80007E7FFFC00007FFFF80000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC0000000000000003E000000007E0000000000000000007E0001F8007E0001F800000000000001F87E000007FFFF80007FFFFF00F878F87C000FFFFFC0007EFFFFE0000FFFFFC0000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC0000000000000003E000000003F0000000000000000007F0001F8007E0001F800000000000001F03E00000FFFFFC0007FFFFF00F87CF07C001FF03FE0007EF01FE0001FF03FE0000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC0000000000000003E000000003F8000000000000000003F0003F0007E0003F000000000000001F03F00001FE01FE0007FFFFF00FC3CF0FC003FC00FF0007FC00FF0003FC00FF0000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC0000000000000003F000000003FC000000000000000003F8007F0007E0007F000000000000003F03F00003F8007F00000003F00FC3DF0FC003F8007F0007F8007F0003F8007F0000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC0000000000000003FFFF800001FF000000000000000001FC00FE0007E000FE000000000000003F03F00003F0003F00000003F00FC3FF0FC003F0003F0007F0003F8003F0003F0000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC0000000000000003FFFFE00001FFE00000000000000000FF03FC0007E003FC000000000000003E01F00003F0003F80000003F00FC3FE0FC007E0001F8007F0003F8007E0001F8000000000000FC0FC0FC007E0001F80000000000000003F00000003F000000000FC0000000000000003FFFFF80000FFFE00000000000000007FFFF80007FFFFF8000000000000007E01F80007E0001F80000003F00FC1FE0FC007E0001F8007F0001F8007E0001F8000000000000FC1FE0FC007E0001F80000000000000003F00000003F000000000FC0000000000000003FFFFFC00007FFFC0000000000000001FFFE00007FFFFE0000000000000007E01F80007E0001F80000003F00FC1FE0FC007E0001F8007E0001F8007E0001F8000000000000FC1FE0FC007E0001F80000000000000003F00000003F000000000FC0000000000000003FFFFFE00001FFFF0000000000000000FFF800007FFFF80000000000000007E01F80007E0001F80000003F00FC1FC0FC007E0001F8007E0001F8007E0001F8000000000000FC1FE0FC007E0001F80000000000000003F00000003F000000000FC00000000000000000003FE00000FFFF8000000000000003FFFF00007FFFFF0000000000000007C00F80007E0001F80000003F00FC0FC0FC007E0001F8007E0001F8007E0001F8000000000000FC1FE0FC007E0001F80000000000000003F00000003F000000000FC00000000000000000000FF000001FFFC00000000000000FFFFFC0007FFFFFC00000000000000FC00FC0007C0000F80000003F00FC0FC0FC007E0001F8007E0001F8007E0001F8000000000000FC1FE0FC007E0001F80000000000000003F00000003F000000000FC000000000000000000007F0000003FFE00000000000001FF03FE0007E003FE00000000000000FC00FC0007C0000F80000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0FC0FC007E0001F80000000000000003F00000003F000000000FC000000000000000000003F80000003FF00000000000003FC00FF0007E000FF00000000000000FC00FC0007E0001F80000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000003F80000000FF00000000000007F0003F8007E0003F00000000000000F800FC0007FFFFFF80000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000001F800000003F80000000000007E0001F8007E0001F80000000000001F8007E0007FFFFFF80000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000001F800000001F8000000000000FE0001FC007E0001F80000000000001F8007E0007FFFFFF80000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000001F800000001FC000000000000FC0000FC007E0000FC0000000000001FFFFFE0007FFFFFF80000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000001F800000000FC000000000000FC0000FC007E0000FC0000000000001FFFFFE0007E0000000000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000001F800000000FC000000000000FC0000FC007E0000FC0000000000003FFFFFF0007C0000000000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000001F800000000FC000000000001F800007E007E0000FC0000000000003FFFFFF0007C0000000000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000000001F800000000FC000000000001F800007E007E0000FC0000000000003FFFFFF0007C0000000000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000FC0001F800FC0000FC000000000001F80000FE007E0000FC0000000000003F0003F0007E0000000000003F00FC0000FC007E0001F8007E0001F8007E0001F8000000000000FC0000FC007E0001F80000000000000003F00000003F000000000FC000000000000000FC0001F800FC0000FC000000000000FC0000FC007E0000FC0000000000007E0001F8007E0000000000003F00FC0000FC007E0001F8007E0001F8007E0001F80000000000007E0001F8007E0001F80000000000000003F00000003F000000000FC000000000000000FC0001F800FC0000FC000000000000FC0000FC007E0000FC0000000000007E0001F8007E0000000000003F00FC0000FC007E0001F8007E0001F8007E0001F80000000000007E0001F8007E0001F80000000000000003F00000003F000000000FC000000000000000FE0001F800FE0000FC000000000000FC0000FC007E0001FC0000000000007E0001F8007E0000000000003F00FC0000FC007F0003F8007E0001F8007F0003F80000000000007E0001F8003F0003F00000000000000003F00000003F000000000FC0000000000000007E0003F800FE0001F8000000000000FE0001FC007E0001FC0000000000007E0001F8007F0001F80000003F00FC0000FC003F0003F0007E0001F8003F0003F00000000000007F0003F8003F8007F00000000000000003F00000003F000000000FC0000000000000007F0007F0007F0003F80000000000007F0003F8007E0003F8000000000000FC0000FC003F0003F80000003F00FC0000FC003F8007F0007E0001F8003F8007F00000000000003F8007F0003FC00FF00000000000000003F00000003F800000000FC0000000000000003F800FF0007F8007F80000000000007F8007F8007E000FF8000000000000FC0000FC003F8007F00000003F00FC0000FC001FE01FE0007E0001F8001FE01FE00000000000003FE01FE0001FE01FE00000000000000003F80000001FF00000001FE0000000000000003FE01FE0003FE01FF00000000000003FE01FF0007E007FF0000000000000FC0000FC001FE00FF00000003F00FC0000FC000FFFFFC0007E0001F8000FFFFFC00000000000001FFFFFE0000FFFFFC00000000000007FFFFFFE00001FFFFF003FFFFFF00000000000001FFFFFE0001FFFFFE00000000000001FFFFFE0007FFFFFE0000000000001FC0000FC000FFFFFE00000003F00FC0000FC000FFFFFC0007E0001F8000FFFFFC00000000000000FFFFFC0000FFFFFC00000000000007FFFFFFE00000FFFFF003FFFFFF00000000000000FFFFFC0000FFFFFC00000000000000FFFFFC0007FFFFFC0000000000001F800007E000FFFFFC00000003F00FC0000FC0003FFFF00007E0001F80003FFFF0000000000000007FFFF800007FFFF800000000000007FFFFFFE000007FFFF003FFFFFF000000000000007FFFF800007FFFF8000000000000007FFFF80007FFFFF80000000000001F800007E0007FFFF800000003F00FC0000FC0001FFFE00007E0001F80001FFFE0000000000000001FFFE000001FFFE000000000000007FFFFFFE000003FFFF003FFFFFF000000000000003FFFE000003FFFF0000000000000003FFFF00007FFFFE00000000000001F800007E0001FFFF000000003F00FC0000FC00007FF800007E0001F800007FF800000000000000007FF80000007FF8000000000000007FFFFFFE0000007FFF003FFFFFF000000000000000FFF8000000FFFC0000000000000000FFFC00007FFFF000000000000003F800007F00007FFC000000003F00000000000000000000000000000000000000000000000000000007C00000000780000000000000000000000000000000000000000000000000000000000F8000000007C000000000000000000FC000000000000000000000000000000000000007C0000000003F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFC0000^FS +^FO53,447^GFA,8216,8216,104,0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FCFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F03E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E01F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E01F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E01F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E01F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F03F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F87E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE000000000FF800000007F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000FF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000FFC0FFFF8000000000000007FFFF800000000003FC000000000000007FF80000007FF800000000000000000FF80007FFFF8000007FFFFFF80000000000007FFFFFF000007FF800000000000000007FF80000FFFF8000000000000000003FF000000003FE00000001FFC0FFFFFC00000000000007FFFF800000000003FC00000000000001FFFE000001FFFE00000000000000003FFC0007FFFF8000007FFFFFF80000000000007FFFFFF80001FFFE0000000000000001FFFE0000FFFFFC00000000000000007FF800000007FC00000001FFC0FFFFFF00000000000007FFFF800000000003FC00000000000007FFFF800007FFFF80000000000000007FFC0007FFFF8000007FFFFFF80000000000007FFFFFF80007FFFF8000000000000007FFFF8000FFFFFF00000000000000007FF800000007F800000001FFC0FFFFFFC0000000000007FFFF800000000003FC0000000000000FFFFFC0000FFFFFC000000000000001FFFC0007FFFF8000007FFFFFF80000000000007FFFFFF8000FFFFFC00000000000000FFFFFC000FFFFFFC0000000000000007FF80000000FF000000000FFC0FFFFFFE0000000000007FFFF800000000003FC0000000000001FFFFFE0001FFFFFE000000000000003FFFC0007FFFF8000007FFFFFF80000000000007FFFFFF8001FFFFFE00000000000001FFFFFE000FFFFFFE0000000000000007FF80000001FF000000000FF80FFFFFFF0000000000007FFFF800000000003FC0000000000003FFFFFF0003FFFFFF000000000000007FFFC0007FFFF8000007FFFFFF80000000000007FFFFFF8003FFFFFF00000000000003FFFFFF000FFFFFFF000000000000000FFFC0000003FE0000000003F00FFFFFFF8000000000007FFFF800000000003FC0000000000007FFFFFF8003FFFFFF00000000000001FFFFC0007FFFF8000007FFFFFF80000000000007FFFFFF8007FFFFFF00000000000003FFFFFF800FFFFFFF800000000000000FFFC0000000000000000000000FF007FF8000000000007FFFF800000000003FC0000000000007FF03FF8007FF03FF80000000000003FFFFC0007FFFF8000007FFFFFF80000000000007FFFFFF0007FE03FF80000000000007FE01FF800FF007FF800000000000000FFFC0000000000000000000000FF001FFC000000000000007F800000000003FC0000000000007FC00FF8007FC00FF80000000000007FFFFC0000007F800000001FE0000000000000007F800000007FC00FF80000000000007FC00FF800FF001FFC00000000000000FFFC0000000000000000000000FF0007FC000000000000007F800000000003FC000000000000FF8007FC00FF8007F80000000000007FF7FC0000007F800000001FE0000000000000007F80000000FF8007F8000000000000FF8007FC00FF0007FC00000000000001FFFE0000000000000000000000FF0007FC000000000000007F800000000003FC000000000000FF0003FC00FF8007FC0000000000007FC7FC0000007F800000001FE0000000000000007F80000000FF0007FC000000000000FF8007FC00FF0007FC00000000000001FCFE0000000000000000000000FF0003FC000000000000007F800000000003FC000000000000FF0003FC00FF0003FC0000000000007F87FC0000007F800000001FE0000000000000007F80000000FF0003FC000000000000FF0003FC00FF0003FC00000000000001FCFE0000000000000000000000FF0003FC00003FF00000007F80000001FF03FC000000000000FF0003FC00FF0003FC0000000000007F07FC0000007F800000001FE0000000000000007F80000000FF0003FC000000000000FF0003FC00FF0003FC00000000000001FCFE0000007FF80000FFFFFF80FF0003FC0001FFFE0000007F80000007FFC3FC000000000000FE0001FC00FF0003FC0000000000007C07FC0000007F800000001FE0000000000000007F80000000FF000000000000000000FF0003FC00FF0003FC00000000000003FCFF000001FFFE0000FFFFFF80FF0003FC0007FFFF8000007F8000000FFFE3FC000000000000FE0001FC00FF0003FC0000000000007807FC0000007F800000001FE0000000000000007F80000000FF000000000000000000FF0003FC00FF0003FC00000000000003FCFF000007FFFF8000FFFFFF80FF0003FC000FFFFFC000007F8000001FFFF3FC000000000000FE0001FC00FF0003FC0000000000007007FC0000007F800000001FE0000000000000007F80000000FF000000000000000000FF0003FC00FF0003FC00000000000003F87F00000FFFFFC000FFFFFF80FF0003FC001FFFFFE000007F8000003FFFFBFC000000000000FE0001FC00FF0003FC0000000000004007FC0000007F800000001FE0000000000000007F80000000FF8000000000000000007F8007FC00FF0003FC00000000000003F87F00001FFFFFE000FFFFFF80FF0007F8003FFFFFF000007F8000003FFFFBFC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007F80000000FFC000000000000000007F8007F800FF0007F800000000000007F87F80003FFFFFF000FFFFFF80FF000FF8003FFFFFF000007F8000007FFFFFFC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007FFFF000007FF000000000000000007FC00FF800FF000FF800000000000007F87F80003FF03FF000FFFFFF80FF001FF0007FF03FF800007F8000007FF03FFC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007FFFFE00007FFE00000000000000003FF03FF000FF001FF000000000000007F07F80007FC00FF800FFFFFF80FFFFFFE0007FC00FF800007F800000FFC01FFC000000000000FE0301FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007FFFFF80003FFFE0000000000000001FFFFFE000FFFFFFE000000000000007F03F80007F8007F80000007F80FFFFFFC000FF8007FC00007F800000FF800FFC000000000000FE0FC1FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007FFFFFC0003FFFFC000000000000000FFFFFC000FFFFFFC00000000000000FF03FC000FF8007FC0000007F80FFFFFF0000FF8007FC00007F800000FF8007FC000000000000FE1FE1FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007FFFFFE0001FFFFF0000000000000003FFFF0000FFFFFF000000000000000FF03FC000FF0003FC0000007F80FFFFFE0000FF0003FC00007F800000FF0007FC000000000000FE1FE1FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007FFFFFF0000FFFFFC000000000000001FFFE0000FFFFFE000000000000000FF03FC000FF0003FC0000007F80FFFFFFC000FF0003FC00007F800000FF0007FC000000000000FE1FE1FC00FF0003FC0000000000000007FC0000007F800000001FE0000000000000007FFFFFF00003FFFFE000000000000007FFFF8000FFFFFFC00000000000000FE01FC000FF0003FC0000007F80FFFFFFE000FF0003FC00007F800000FF0007FC000000000000FE1FE1FC00FF0003FC0000000000000007FC0000007F800000001FE00000000000000000007FF80001FFFFF00000000000001FFFFFE000FFFFFFE00000000000001FE01FE000FF0003FC0000007F80FFFFFFF000FF0003FC00007F800000FF0003FC000000000000FE1FE1FC00FF0003FC0000000000000007FC0000007F800000001FE00000000000000000001FF800003FFFF00000000000003FFFFFF000FFFFFFF00000000000001FE01FE000FF0003FC0000007F80FF003FF800FF0003FC00007F800000FF0003FC000000000000FE0FC1FC00FF0003FC0000000000000007FC0000007F800000001FE00000000000000000000FFC000007FFF80000000000007FF03FF800FF003FF80000000000001FE01FE000FFFFFFFC0000007F80FF000FFC00FF0003FC00007F800000FF0003FC000000000000FE0301FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000007FC0000007FFC000000000000FFC00FFC00FF000FFC0000000000003FC01FE000FFFFFFFC0000007F80FF0007FC00FF0003FC00007F800000FF0003FC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000003FC0000000FFC000000000000FF8007FC00FF0007FC0000000000003FC00FF000FFFFFFFC0000007F80FF0003FE00FF0003FC00007F800000FF0003FC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000003FC00000007FC000000000001FF0003FE00FF0003FE0000000000003FFFFFF000FFFFFFFC0000007F80FF0001FE00FF0003FC00007F800000FF0003FC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000003FC00000003FE000000000001FE0001FE00FF0001FE0000000000003FFFFFF000FFFFFFFC0000007F80FF0001FE00FF0003FC00007F800000FF0003FC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000003FC00000003FE000000000001FE0001FE00FF0001FE0000000000007FFFFFF000FFFFFFFC0000007F80FF0001FE00FF0003FC00007F800000FF0003FC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000003FC00000001FE000000000001FE0001FE00FF0001FE0000000000007FFFFFF800FF0000000000007F80FF0001FE00FF0003FC00007F800000FF0003FC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000003FC00000001FE000000000001FE0001FE00FF0001FE0000000000007FFFFFF800FF0000000000007F80FF0001FF00FF0003FC00007F800000FF0003FC000000000000FE0001FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000000000003FC01FE0001FE000000000001FE0001FE00FF0001FF0000000000007FFFFFF800FF0000000000007F80FF0001FE00FF0003FC00007F800000FF0007FC000000000000FF0003FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000001FF0003FC01FE0001FE000000000001FE0001FE00FF0001FE000000000000FFFFFFF800FF0000000000007F80FF0001FE00FF0003FC00007F800000FF0007FC000000000000FF0003FC00FF0003FC0000000000000007FC0000007F800000001FE000000000000001FF0003FC01FE0001FE000000000001FE0001FE00FF0001FE000000000000FF8007FC00FF0000000000007F80FF0003FE00FF8007FC00007F800000FF8007FC000000000000FF0003FC00FF8007FC0000000000000007FC0000007F800000001FE000000000000001FF0007FC01FF0003FE000000000001FF0003FE00FF0003FE000000000000FF0003FC00FF0000000000007F80FF0003FE00FF8007FC00007FC00000FF800FFC000000000000FF8007FC00FF8007FC0000000000000007FC0000007FC00000001FE000000000000000FF8007FC01FF0003FE000000000001FF0003FE00FF0003FE000000000000FF0003FC00FF8003FC0000007F80FF0007FE007FC00FF800007FE00000FFC00FFC000000000000FFC00FFC007FC00FF80000000000000007FC0000007FE00000001FE000000000000000FF800FFC00FF8007FC000000000001FF8007FE00FF0007FE000000000001FF0003FE007F8007FC0000007F80FF001FFC007FE01FF800003FFFFF007FE01FFC0000000000007FE01FF8007FE01FF80000000000007FFFFFFE00003FFFFF007FFFFFF8000000000000FFE01FF800FFE01FFC000000000000FFC00FFC00FF001FFC000000000001FF0003FE007FC00FF80000007F80FFFFFFFC007FFFFFF800003FFFFF007FFFFFFC0000000000007FFFFFF8003FFFFFF00000000000007FFFFFFF00003FFFFF007FFFFFF80000000000007FFFFFF8007FFFFFF8000000000000FFFCFFFC00FFFFFFFC000000000001FE0001FE007FF83FF80000007F80FFFFFFF8003FFFFFF000003FFFFF007FFFFFFC0000000000003FFFFFF0003FFFFFF00000000000007FFFFFFF00003FFFFF007FFFFFF80000000000007FFFFFF0007FFFFFF80000000000007FFFFFF800FFFFFFF8000000000001FE0001FE003FFFFFF00000007F80FFFFFFF0001FFFFFE000001FFFFF003FFFFBFC0000000000001FFFFFE0001FFFFFE00000000000007FFFFFFF00001FFFFF007FFFFFF80000000000003FFFFFE0003FFFFFF00000000000003FFFFFF000FFFFFFF0000000000003FE0001FF001FFFFFE00000007F80FFFFFFE0000FFFFFC000000FFFFF001FFFF3FC0000000000000FFFFFC0000FFFFFC00000000000007FFFFFFF00000FFFFF007FFFFFF80000000000001FFFFFE0001FFFFFE00000000000001FFFFFE000FFFFFFE0000000000003FE0001FF000FFFFFE00000007F80FFFFFFC00007FFFF80000007FFFF000FFFE3FC00000000000007FFFF800007FFFF800000000000007FFFFFFF000007FFFF007FFFFFF80000000000000FFFFF80000FFFFFC00000000000000FFFFFC000FFFFFFC0000000000003FC0000FF0007FFFF800000007F80FFFFFF000003FFFF00000001FFFF0007FFC3FC00000000000003FFFF000003FFFF000000000000007FFFFFFF000001FFFF007FFFFFF800000000000003FFFF000003FFFF0000000000000003FFFF0000FFFFFF00000000000003FC0000FF0003FFFF000000007F80FFFFF8000000FFFC000000007FFF0003FF83FC00000000000000FFFC000000FFFC000000000000007FFFFFFF0000007FFF007FFFFFF800000000000000FFFC000000FFFC0000000000000000FFFC0000FFFFF800000000000007FC0000FF8000FFFC000000007F80000000000000030000000000000000003C0000000000000000000FC00000000780000000000000000000000000000000000000000000000000000000000F800000000FC000000000000000000FC00000000000000000000000000000000000000FC000000000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFE0000^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-fit-203.png b/renderer/src/test/resources/scene2/golden/text-fit-203.png new file mode 100644 index 0000000..81e3ff7 Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-fit-203.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-fit-203.zpl b/renderer/src/test/resources/scene2/golden/text-fit-203.zpl new file mode 100644 index 0000000..a427730 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-fit-203.zpl @@ -0,0 +1,3 @@ +^XA^PW406^LL203^LH0,0^CI28 +^FO16,16^GFA,8037,8037,47,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC8000000000000000000000000000000000000000000200000100000000000000000000000000000000000000000004800000000000000000000000000000000000000000020000010000000000000000000000000000000000000000000480000000000000000000000000000000000000000002000001000000000000000000000000000000000000000000048000000000000000000000000000000000000000000200000100000000000000000000000000000000000000000004800000000000000000000000000000000000000000020000010000000000000000000000000000000000000000000480000000000000000000000000000000000000000002000001000000000000000000000000000000000000000000048000000000000000000000000000000000000000000200000100000000000000000000000000000000000000000004800000000000000000000000000000000000000000020000010000000000000000000000000000000000000000000480000000000000000000000000000000000000000002000001000000000000000000000000000000000000F000000480F0000FC03FFF0007E0003C00F8001F003F001F80020000010000000000000000000000000FF0003FFC00F000000480F0003FF03FFF800FF8007E03FE003E007F003F80020000010000000000000000000000003FF8003FFC00F000000480F0007FF83FFF801FFC00FE07FF007C00FF007F80020000010000000000000000000000003FFC003FFC00F00001E480F000FFFC3FFF803FFE00FE0FFF80F801FF00FF80020000010000000000000000000000007C7C003C0000F00001E480F000F87E01E0007C3E01FE0F0781F001EF00F78002000001000000000000000000000000783C00380000F00003E480F001F03E01E000381E03FE1F0783E003CF01E78002000001000000000000000000000000783C00380000F0F0FF0480F001E01E01E000001E03BE1F07C3C0078F03C78002000001000000000000000000000000783E00380000F1F1FF8480F001E01E01E000003E07BE1E07C7CE038F01C78002000001000000000000000000000000783E0039F000F3E1E7C480F001E01F01E000003E0F3E1E07C7BF800F000780020000010000000000000000000000007C3E003BF800F3C3C3C480F003E01F01E000007C0E3E1E07C7FFC00F000780020000010000000000000000000000007FFC003BFC00F783C3C480F003E01F01E00000F81E3E1E07CFFFC00F000780020000010000000000000000000000003FFC003E7C00F783C3C480F003E01F01E00001F01C3E1E07CF83E00F000780020000010000000000000000000000001FBC00083E00FF83E3C480F001E01F01E00003E03C3E1E07CF83E00F000780020000010000000000000000000000000E7C00003E00FF81FF8480F001E01E01E00007C03FFF9F07CF81E00F00078002000001000000000000000000000000007800003E00FFC0FF0480F001F01E01E0000F803FFF9F07CF83E00F0007800200000100000000000000000000000000F800003E00FBC0FC0480F001F03E01E0003E003FFF8F078783E00F0007800200000100000000000000000000000001F018383E00F3E1800480FFF0FFFC01E0003FFE003E0F8F87C7C00F8007C00200000100000000000000000000000001F03C7C7C00F1E3C00480FFF07FFC01E0003FFF003E07FF03FFC1FFF0FFF80200000100000000000000000000000003E03C3FFC00F1F3FFC480FFF03FF801E0003FFF003E07FE03FF81FFF0FFF8020000010000000000000000000000000FC03C1FF800F0F1FFE480FFF01FE001E0003FFF003E01FC00FE01FFF0FFF8020000010000000000000000000000001F803C0FF000F0F8FFE480000000000000000000000000000000000000000002000001000000000000000000000000000000000000000181E480000000000000000000000000000000000000000002000001000000000000000000000000000000000000000380F480000000000000000000000000000000000000000002000001000000000000000000000000000000000000000381E4800000000000000000000000000000000000000000020000010000000000000000000000000000000000000003FFE4800000000000000000000000000000000000000000020000010000000000000000000000000000000000000003FFC4800000000000000000000000000000000000000000020000010000000000000000000000000000000000000000FF8480000000000000000000000000000000000000000002000001000000000000000000000000000000000000000000048000000000000000000000000000000000000000000200000100000000000000000000000000000000000000000004FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000808000000C000000000000000000000000000000000000000000020000003000000000000000000000000002000000838000000E0000000000000000000000000000000000000000000E00000038000000000000000000000000020000008783E01E07007C0F80F80F03E07F80E0FF0387FE1F03E03E0FF01E0781F01C07003E00E0F80380F00F01C0020000008E07F03E0380FE1FC1FC1F07F07F81C0FF0307FE3F87F07F0FF0380F83F80E07007F01C1FC0301F01F01E0020000008C06387E01C0C718E18E3F0638030180C007070E31CE38638C00301F831C0707006381818E0703F03F01E0020000009C0E186E00C1C3386386370E18060380C00E070C70CE18E18C00701B870C030700E18383860E0370370360020000009C0E180E00C1C33863860700180C0700C00C001C30CC18E18C007003870C030700018703860C0070070360020000009C0E180E00C1C33863860700381E0600FC1D0018398E18E18FC07003870C030700038603861D0070070370020000009C0ED80E00C1DB3B63B60700301F0E70FE1FC0381F0E38ED8FE07003876C030700030E73B61FC070070330020000009C0ED80E00C1DB3B63B6070070039C70073CE0303F87F8ED80707003876C030700071C73B63CE070070730020000009C0E180E00C1C33863860700E00198700338607071C1F0E180307003870C0307000E187386386070070730020000009C0E180E00C1C33863860701C0019FF00330607060C070E180307003870C0307001C1FF3863060700707F8020000009C0E180E00C1C3386386070380C19FF1C330606060C0E0E19C307003870C030700381FF3863060700707F8020000008C06380E01C0C718E18E070700E38071C738E0E071C0C0639C703003831C0707007000718E38E070070E18020000008E07F07FC380FE1FC1FC3FEFF87F0070FE1FC0C03FC1C07F0FE0381FF3F80E07FCFF8071FC1FC3FE3FEC18020000008703E07FC7807C0F80F83FEFF83E00707C0F81C01F01803E07C01C1FF1F01E07FCFF8070F80F83FE3FEC1C02000000838000000F0000000000000000000000000000000000000000000E0000003C00000000000000000000000002000000818000000C000000000000000000000000000000000000000000060000003000000000000000000000000002000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080E0000001C0000000000000000000000000000000000000000000070000000E00000002000000000000000000000081C0300000E00600600600000600000000000000000C00C01800000E000018070000030200000000000000000000008300FC0700301F81F81F80E01F83FC0607F80C07FC3F03F07E0FF01803807E0180400FC200000000000000000000008601861F003030C30C30C3E031C0180C06000C060C638618C30C00300F80C301804018E2000000000000000000000086018619001830C30C30C32030C0380C0600180418618418C30C00300C80C300C0401862000000000000000000000086010211001820420420422020C030180600180418618C0C810C003008808100C0401062000000000000000000000084010201001820420420402000C060180600300010618C0C810C002000808100C0400062000000000000000000000084010201001820420420402000C0F03007E03E0030330C18810FC02000808100C040006200000000000000000000008401320100182642642640200180786187F07F00301E0618990FE02000809900C04000C2000000000000000000000084013201001826426426402003000C6180186180607383F89900302000809900C0400182000000000000000000000084010201001820420420402007000CC18018C080606180308100302000808100C040038200000000000000000000008401020100182042042040200E000CFF8018C0C040C080608100302000808100C0400702000000000000000000000086010601001820C20C20C0201C060CFF8418C080C0C080608308303000808300C0400E02000000000000000000000086018601001830C30C30C02018030C0186186180C06180C0C30C30300080C300C0400C0200000000000000000000008701CC1FE0303983983983FC3FC3B80187307381807380C0E60E60380FF0E601807F9FE200000000000000000000008300F81FF0701F01F01F03FE3FC1F00183E03E01803F01807C07C0180FF87C03807F9FE2000000000000000000000081C0000000E00000000000000000000000000000000000000000000E0000000700000002000000000000000000000080E0000001C0000000000000000000000000000000000000000000070000000E000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080000003000000000000000000000000000000000000000000018018018000018000000200000000000000000000008000180FC0300700E00E00003F83FC7FE6187F06187F87E00007E07E07E03807E0FF000200000000000000000000008000301860301F03E00F000031C300060618638718600630000C30C30C30F80C7006000200000000000000000000008000301860601903200F000030C300060618618718600618000C30C30C30C80C300E000200000000000000000000008000601020601102200B000030630006061860C5986006180008108108108808300C000200000000000000000000008000601020C001002019000030430006061860859860061800081081081008003018000200000000000000000000008000C01020F801002019800030C3000606186184986006180008108108100800303C000200000000000000000000008001861321FC0100201980003FC3FC0606187F86D87F86180009909909900800601E000200000000000000000000008001861321860100201181F83F03000606187E06D86006183F09909909900800C003000200000000000000000000008003061023020100203180003303000606186606586006180008108108100801C003000200000000000000000000008003FE1023030100203FC00031830006061863067860061800081081081008038003000200000000000000000000008003FE10630201002030C000318300060618630678600618000830830830080701830002000000000000000000000080000618618601002020C00030C300060618618638600618000C30C30C30080600C3000200000000000000000000008000061CC1CE1FE3FC60400030C3FC0607306186387F87F0000E60E60E60FF0FF0EE000200000000000000000000008000060F80F81FF3FE6060003063FC0603E060C6187F87E00007C07C07C0FF8FF07C0002000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000008000000000000000020000020000000000180010000004000000000000020000000000000000000000000000000000818000180000000002000002000000000038001000000400000000000002000000000000000000000000000000000081C0001800000000000001800000000000600C100000003000000000000200000000000000000000000000000000008340001800000000000001800000000000600C100000003000000000000200000000000000000000000000000000008360001800000000000001800000000000600C10000000300000000000020000000000000000000000000000000000826003D83E0FC3E17217C3E20F82F801F0F81F17C1F0047C3E0BCF80000200000000000000000000000000000000008620063863184631C218E18218C3180318600C18C3180430630C71800002000000000000000000000000000000000086300C18C1980C0102106182306208060C600C10460C0430C18830C00002000000000000000000000000000000000084300C18C1980C010210218230620C060C600C10660C0430C18820C0000200000000000000000000000000000000008FF00C18FF8F8C010210218230620C060C600C1067FC0430FF8820C0000200000000000000000000000000000000008FF80C18C003CC010210218230620C060C600C1066000430C00820C00002000000000000000000000000000000000088180C18C0004C010210218230620C060C600C1066000430C00820C00002000000000000000000000000000000000098080C18C1004C110210618230620C060C600C1066080430C10820C000020000000000000000000000000000000000980C06386318C6310218E18218C20C0318600C1063180430630820C631820000000000000000000000000000000000900C03D83E0F83E10217C0E20F820C01F060071061F0041C3E0820C631820000000000000000000000000000000000800000000000000000100000000000000000000000000000000000000002000000000000000000000000000000000080000000000000000010000000000000000000000000000000000000000200000000000000000000000000000000008000000000000000001000000000000000000000000000000000000000020000000000000000000000000000000000800000000000000000100000000000000000000000000000000000000002000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0000000000000000000000000000000000^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-fit-300.png b/renderer/src/test/resources/scene2/golden/text-fit-300.png new file mode 100644 index 0000000..8b548d7 Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-fit-300.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-fit-300.zpl b/renderer/src/test/resources/scene2/golden/text-fit-300.zpl new file mode 100644 index 0000000..b98f266 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-fit-300.zpl @@ -0,0 +1,3 @@ +^XA^PW600^LL300^LH0,0^CI28 +^FO24,24^GFA,17388,17388,69,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000001F8000000001800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000003F000000000000001F800000000180000000000300000000000000180000000000020000000000000000000000002000000004000000000000000000000000000000000001FFE000003FFFE0001F80000000018007F000007FF001FFFFF80001FFC00007F8007FF00003FE000FFC0007FE00002000000004000000000000000000000000000000000003FFF000007FFFE0001F80000000018007F00000FFFC01FFFFF80003FFE00007F800FFF80007FC001FFC000FFE00002000000004000000000000000000000000000000000007FFF800007FFFE0001F80000000018007F00003FFFE01FFFFF8000FFFF0000FF801FFFC000FF0003FFC001FFE0000200000000400000000000000000000000000000000000FFFFC00007FFFE0001F80000001F18007F00007FFFF01FFFFF8001FFFF8001FF803FFFE001FE0003FFC001FFE0000200000000400000000000000000000000000000000001FF3FC00007FFFE0001F80000003F18007F00007FFFF81FFFFF8001FFFFC001FF807FFFF003FC0007FFC003FFE0000200000000400000000000000000000000000000000001FC0FE00007E0000001F80000003F18007F0000FF07FC0FFFFF8003FC3FC003FF807F07F007F8000FEFC007F7E0000200000000400000000000000000000000000000000001F807E00007C0000001F80000003F18007F0000FE01FC001F800003F01FC007FF807E03F007F0001FCFC00FE7E0000200000000400000000000000000000000000000000003F807E00007C0000001F80FC03FFF18007F0001FC00FE001F800001F00FC007DF80FE03F80FE0001F8FC00FC7E0000200000000400000000000000000000000000000000003F807E00007C0000001F81FC0FFF018007F0001F800FE001F800000200FC00F9F80FC01F81FC0003F0FC01F87E0000200000000400000000000000000000000000000000003F807F00007C0000001F81FC1FFF818007F0001F8007E001F800000000FC00F9F80FC01F81F80003F0FC01F87E0000200000000400000000000000000000000000000000003F807F00007C0000001F83F83FFFC18007F0003F8007E001F800000001FC01F1F80FC01F83F8F001E0FC00F07E0000200000000400000000000000000000000000000000003F807F00007C7F00001F87F07F0FC18007F0003F8007E001F800000001FC03F1F81FC01FC3F3FE0040FC00207E0000200000000400000000000000000000000000000000003F807F00007CFFC0001F8FE07E07E18007F0003F8007F001F800000003F803E1F81FC01FC3F7FF0000FC00007E0000200000000400000000000000000000000000000000001FC0FF00007DFFE0001F8FC07E07E18007F0003F8007F001F800000003F807C1F81FC01FC7FFFF8000FC00007E0000200000000400000000000000000000000000000000001FF3FE00007DFFF0001F9FC07E07E18007F0003F8007F001F800000007F00FC1F81FC01FC7FFFF8000FC00007E0000200000000400000000000000000000000000000000001FFF7E00007FFFF0001F9F807E07E18007F0003F8007F001F80000001FE00F81F81FC01FC7F83FC000FC00007E0000200000000400000000000000000000000000000000000FFF7E00007F07F0001FBF007E07E18007F0003F8007F001F80000003FC01F81F81FC01FC7F01FC000FC00007E00002000000004000000000000000000000000000000000007FEFE00007C03F8001FFF007E07E18007F0003F8007E001F80000007F801F01F81FC01FC7F00FC000FC00007E00002000000004000000000000000000000000000000000003FCFE00000003F8001FFF803F9FE18007F0003F8007E001F8000000FF003F01F80FC01F87E00FE000FC00007E00002000000004000000000000000000000000000000000000F0FC00000003F8001FFF803FFFC18007F0001F8007E001F8000001FE003FFFFF8FC01F87E00FE000FC00007E0000200000000400000000000000000000000000000000000001FC00000003F8001FFFC01FFF818007F0001FC00FE001F8000003F8003FFFFF8FC01F87E00FC000FC00007E0000200000000400000000000000000000000000000000000001F800000003F8001FEFC00FFF018007F0001FC00FE001F800000FF0003FFFFF8FE03F87E00FC000FC00007E0000200000000400000000000000000000000000000000000003F800000803F8001FCFE00DF8018007F0000FE01FC001F800001FE0003FFFFF87E03F07F00FC000FC00007E0000200000000400000000000000000000000000000000000007F000003803F8001FC7E03800018007FFFC0FF87FC001F800003FC0000001F807F07F03F01FC000FC00007E000020000000040000000000000000000000000000000000000FF007C07C03F0001F87F07800018007FFFE07FFFF8001F800003FFFFE0001F807FFFF03FC7F80FFFFF07FFFF80020000000040000000000000000000000000000000000001FE00FE0FE07F0001F83F07C00018007FFFE07FFFF0001F800003FFFFE0001F803FFFE01FFFF80FFFFF07FFFF80020000000040000000000000000000000000000000000003FC00FE0FFFFF0001F83F87FFF818007FFFE03FFFE0001F800003FFFFE0001F801FFFC00FFFF00FFFFF07FFFF80020000000040000000000000000000000000000000000007F800FE07FFFE0001F81FC7FFFE18007FFFE00FFFC0001F800003FFFFE0001F800FFF8007FFC00FFFFF07FFFF8002000000004000000000000000000000000000000000000FF000FE03FFFC0001F81FC7FFFF18007FFFE003FF00001F800003FFFFE0001F8003FE0001FF800FFFFF07FFFF8002000000004000000000000000000000000000000000001FE000FE01FFF80001F80FE3FFFF980000000000000000000000000000000000000000000000000000000000000002000000004000000000000000000000000000000000007FC0007C007FE00001F80FE0FFFF98000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000004000000000003807F98000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000007801FD800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000F800F9800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000F801F9800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000F801F9800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000FFFFF9800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000FFFFF18000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000007FFFE18000000000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000000000000000000000000001FFF81800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000801C000000000380000000000000000000000000000000000000000000000000000000000000001C0000000007000000000000000000000000000000000000000200000000807C0000000003E0000000000000000000000000000000000000000000000000000000000000007C0000000007C0000000000000000000000000000000000000020000000080FC01F0007803F0003E003E001F00078007C01FFC001C07FF001C07FFC03E001F000F803FF800FC00F000F807E00180003E0001C00F8001C001E000F000E000020000000081F007FC00F800F800FF80FF807FC00F801FF03FFC00380FFF003C07FFE0FF807FC03FE07FF801F001F003FE01F003C000FF8003803FE003C003E001F001F000020000000083E00FFE03F8007C01FFC1FFC0FFE03F803FF83FFC00780FFF003C07FFE1FFC0FFE07FF07FF803E007F007FF00F803C001FFC007807FF003C00FE007F001F000020000000083C00F1E07F8003C01E3C1E3C0F1E07F803CF81FFC00F00FFF007807FFE1E3C1F1F078F07FF803C00FF0078F007803C001E7C00F0078F007801FE00FF003F000020000000087801E0F0FB8001E03C1E3C1E1E0F0FB80783C007800E00F0000780701C3C1E1E0F0F078780007801F700F07803C03C003C1E00E00F07807803EE01F7003F800020000000087801C070E38001E0380E380E1C070E380703C00F001E00F0000F00703C3C1E1C070E038780007801C700E03803C03C00381E01E00E0380F0038E01C7003B800020000000087001C070C38001E0380E380E1C070C380703C01E003C00F0000E0070383C1E1C070E0387800070018700E03803C03C00381E03C00E0380E0030E0187003B800020000000087001C070038000E0380E380E1C0700380003C03C003C00F0001E0000783C1C1C070E0387800070000700E03801C03C00001E03C00E0381E0000E0007007B800020000000087001C070038000E0380E380E1C0700380003803E007800FFC03DC000781E3C1C070E0387FE0070000700E03801C03C00001C07800E0383DC000E00070073C00020000000087001CE70038000E039CE39CE1CE700380007803F80F0E0FFE03FF000F00FF81E0F0E7387FF0070000700E73801C03C00003C0F0E0E7383FF000E00070071C00020000000087001CE70038000E039CE39CE1CE70038000F003FC0F0E0FFF07FF800F00FF01FFF0E7387FF8070000700E73801C03C0000780F0E0E7387FF800E00070071C00020000000087001CE70038000E039CE39CE1CE70038001F0003C1E0E000F07C7C00E01FFC0FFE0E7380078070000700E73801C03C0000F81E0E0E7387C7C00E000700F1C00020000000087001C070038000E0380E380E1C070038003E0001E1C0E00078783C01E03C1E03FE0E038003C070000700E03801C03C0001F01C0E0E038783C00E000700F1E00020000000087001C070038000E0380E380E1C070038007C0001E1C0E00078701C01E0380E003C0E038003C070000700E03801C03C0003E01C0E0E038701C00E000700FFE00020000000087001C070038000E0380E380E1C07003800F80001E1FFE00078701C03C0380E003C0E038003C070000700E03801C03C0007C01FFE0E038701C00E000700FFE00020000000087001C070038001E0380E380E1C07003801F00381E1FFE0E078701C03C0380E00780E038703C070000700E03803C03C000F801FFE0E038701C00E000701FFE00020000000087801E0F0038001E03C1E3C1E1E0F003803E00381E1FFE0F078703C0780380E00700F078783C078000700F07803C03C001F001FFE0F078703C00E000701E0F00020000000087801E0F0038001C03C1E3C1E1E0F003807C003C3C000E0F0F8783C07803C1E00F00F078787C078000700F07803803C003E00000E0F078783C00E000701C0700020000000083C00FFE0FFFC03C01FFC1FFC0FFE0FFFC7FFC3FFC000E07FF03FF807003FFC01E007FF03FF803C01FFF87FF007803FFE3FFE000E07FF03FF83FFF1FFF9C0700020000000083E007FC0FFFC07C00FF80FF807FC0FFFC7FFC1FF8000E07FE01FF00F001FF801E003FE03FF003E01FFF83FE00F803FFE3FFE000E03FE01FF03FFF1FFFBC0780020000000081F803F80FFFC1F8007F007F003F80FFFC7FFC07F0000E01FC00FE00F0007F003C001FC00FE001F81FFF81FC03F003FFE3FFE000E01FC00FE03FFF1FFFBC0780020000000080FC0000000003F000000000000000000000000000000000000000000000000000000000000000FC0000000007E00000000000000000000000000000000000000200000000807C0000000003E0000000000000000000000000000000000000000000000000000000000000007C0000000007C00000000000000000000000000000000000000200000000801C000000000380000000000000000000000000000000000000000000000000000000000000001C0000000007000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000008007000000000038000000000000000000000000000000000000000000000000000000000000000000E0000000000700000000000080000000000000000000000000000000800F00000000003E000000000000000000000000000000000000000000000000000000000000000001E00000000007C0000000000080000000000000000000000000000000801E000C0000000F0000C0003000180000000300000000000000000000000001000040003000000003C0000000C001E00000000600800000000000000000000000000000008038007F801F00078007F801FE00FF001F001FE01FFC003803FF800E00FFFC0FF003FC01FE01FFC0070007C007F800F00180003FC080000000000000000000000000000000807000FFC03F0003800FFC03FF01FF803F003FF01FFC003803FF800E00FFFC1FF807FE03FF01FFC00E000FC00FFC00700180007FE08000000000000000000000000000000080E001C1C07F0001C01C1C07070383807F007070001C00700300001C00E01C38380E0F07070180001C001FC01C1C0038018000E0E08000000000000000000000000000000080E00180E0E70000C0180E06038301C0E7006038003800E00300001800E018381C1C0706038180001C0039C0180E0018018000C0708000000000000000000000000000000080E00380E0C70000E0380E0E038701C0C700E038007000E00300003800E038301C1C030E038180001C0031C0380E001C018001C0708000000000000000000000000000000080C0038060870000E038060E018700C08700E03800E001C003000030006038301C1C038E01818000180021C03806001C018001C0708000000000000000000000000000000081C0038060070000E038060E018700C00700003801C001C003000070000070301C1C038E01818000380001C03806001C01800000708000000000000000000000000000000081C0038060070000E038060E018700C00700003803C00380038000E000007038381C030E0181C000380001C03806001C01800000708000000000000000000000000000000081C0038060070000E038060E018700C00700003003F0070003FE00FF0000601E701C030E0181FF00380001C03806001C01800000608000000000000000000000000000000081C0039C60070000E039C60E718738C00700007003F8070603FF81FFC000E00FE00E070E7181FFC0380001C039C6001C01800000E08000000000000000000000000000000081C0039C60070000E039C60E718738C0070000E0001C0E06000381E1C000E01FF00F1F0E718001C0380001C039C6001C01800001C08000000000000000000000000000000081C0038C60070000E038C60E318718C0070001C0000E1C060001C380E001C03C3807FE0E318000E0380001C038C6001C01800003808000000000000000000000000000000081C0038060070000E038060E018700C0070003C0000E1C060001C3806001C0301C01FC0E018000E0380001C03806001C01800007808000000000000000000000000000000081C0038060070000E038060E018700C007000780000E1C060001C380700180700C001C0E018000E0380001C03806001C0180000F008000000000000000000000000000000081C0038060070000E038060E018700C007000F00000E1FFE0001C380700380700E00380E018000E0380001C03806001C0180001E008000000000000000000000000000000080C0038060070000E038060E018700C007001E00380E1FFE0701C380600380700E00380E018380E0180001C03806001C0180003C008000000000000000000000000000000080E00380E0070000E0380E0E038701C007003C00380E000E0701C380600700700C00700E038380E01C0001C0380E001C01800078008000000000000000000000000000000080E001C0E0070000C01C0E07038381C007003800380C00060301C1C0E00700701C007007038180E01C0001C01C0E001801800070008000000000000000000000000000000080E001E1C0070001C01E1C078703C380070070001C3C000603C381E1C006003C3C00E0078701E1C01C0001C01E1C003801C000E00080000000000000000000000000000000807000FF80FFF803800FF803FE01FF00FFF8FFF80FF8000601FF00FFC00E001FF800E003FE00FF800E003FFE0FF8007001FFE1FFF0800000000000000000000000000000008038007F00FFF8078007F001FC00FE00FFF8FFF807F0000600FE007F000E000FE001C001FC007F0007003FFE07F000F001FFE1FFF080000000000000000000000000000000801E00000000000F000000000000000000000000000000000000000000000000000000000000000003C00000000001E0000000000080000000000000000000000000000000800F00000000003E000000000000000000000000000000000000000000000000000000000000000001E00000000007C00000000000800000000000000000000000000000008007000000000038000000000000000000000000000000000000000000000000000000000000000000E000000000070000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000080000000000300000000000000000000000000000000000000000000000000000000000000000C00030001800000003000000000008000000000000000000000000000000080000007001FE001C001F000F8001E0000003FF01FFE0FFFC301C0FFC070381FFE0FF80000007F801FE00FF001F001FE01FFC000008000000000000000000000000000000080000007003FF001C003F001F8001E0000003FF81FFE0FFFC301C0FFE078381FFE0FFC000000FFC03FF01FF803F003FF01FFC00000800000000000000000000000000000008000000E007070038007F003F8003E000000303C1C0000700301C0C0F078381C000C1E000001C1C07070383807F007070001C00000800000000000000000000000000000008000001C00603803000E7007380037000000301C1C0000700301C0C07078381C000C0E00000180E06038301C0E7006038003800000800000000000000000000000000000008000001C00E03807000C7006380037000000300C1C0000700301C0C0307C381C000C0700000380E0E038701C0C700E038007000000800000000000000000000000000000008000003800E0180600087004380073000000300E1C0000700301C0C0386C381C000C070000038060E018700C08700E03800E000000800000000000000000000000000000008000003800E0180E00007000380073000000300E1C0000700301C0C0386E381C000C070000038060E018700C00700003801C000000800000000000000000000000000000008000007000E0181C00007000380063800000300C1C0000700301C0C03066381C000C070000038060E018700C00700003803C00000080000000000000000000000000000000800000E000E0181FE0007000380063800000301C1C0000700301C0C07066381C000C070000038060E018700C00700003003F00000080000000000000000000000000000000800000E0C0E7183FF80070003800E180000038781FFC00700301C0E1E067381FFC0C070000039C60E718738C00700007003F80000080000000000000000000000000000000800001C0C0E7183C380070003800E1807FC03FF81FFC00700301C0FFE063381FFC0C0701FF039C60E718738C0070000E0001C000008000000000000000000000000000000080000380C0E318701C0070003800C1C07FC03FE01C0000700301C0FF8063381C000C0701FF038C60E318718C0070001C0000E000008000000000000000000000000000000080000380C0E018700C0070003800C1C07FC030E01C0000700301C0C38063B81C000C0701FF038060E018700C0070003C0000E000008000000000000000000000000000000080000380C0E018700E0070003801FFC0000030601C0000700301C0C18061B81C000C070000038060E018700C007000780000E0000080000000000000000000000000000000800003FFC0E018700E0070003801FFC0000030701C0000700301C0C1C061B81C000C070000038060E018700C007000F00000E0000080000000000000000000000000000000800003FFC0E018700C0070003801C0E0000030701C0000700301C0C1C061F81C000C070000038060E018700C007001E00380E000008000000000000000000000000000000080000001C0E038700C007000380180E0000030381C0000700301C0C0E060F81C000C0700000380E0E038701C007003C00380E000008000000000000000000000000000000080000000C07038381C00700038038060000030381C0000700381C0C0E060F81C000C0E000001C0E07038381C007003800380C000008000000000000000000000000000000080000000C078703C38007000380380600000301C1C00007003C380C07060F81C000E1E000001E1C078703C380070070001C3C000008000000000000000000000000000000080000000C03FE01FF80FFF87FFC380700000301C1FFE007001FF00C07060781FFE0FFC000000FF803FE01FF00FFF8FFF80FF8000008000000000000000000000000000000080000000C01FC00FE00FFF87FFC300700000300E1FFE007000FE00C03860781FFE0FF00000007F001FC00FE00FFF8FFF807F00000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000008000000000C0000000000000010000000020000000000000000C000008000000001000000000000000000000400000000000000000000000000000000000000000000000008000000000C0000000000000038000000070000000000000003E00001C000000003800000000000000000000400000000000000000000000000000000000000000000000008078000000C0000000000000038000000070000000000000003000001C00000000380000000000000000000040000000000000000000000000000000000000000000000000807C000000C000000000000000000000C000000000000000007000301C00000000001800000000000000000040000000000000000000000000000000000000000000000000806C000000C000000000000000000000C000000000000000007000301C0000000000180000000000000000004000000000000000000000000000000000000000000000000080EC000000C000000000000000000000C000000000000000007000301C0000000000180000000000000000004000000000000000000000000000000000000000000000000080CE000000C000000000000000000001C000000000000000007000701C0000000000380000000000000000004000000000000000000000000000000000000000000000000080C600007CC07E007E00FC1CE3877E07F8701F80EFC0001F81FE01FE1DF803F00038FF01F80EFC7E000000004000000000000000000000000000000000000000000000000081C60001FEC1FF81FF83FF1DE387FF87F8703FE0FFE0003FE1FE01FE1FFC0FFC0038FF07FE0FFEFF000000004000000000000000000000000000000000000000000000000081870001C1C181818183031F03878381C0707070F0700070707000701E0E0C0C00383806060F078380000000400000000000000000000000000000000000000000000000008183000380C380C18007031C038701C1C070E030E07000E0307000701C0E1C060038380E030E070380000000400000000000000000000000000000000000000000000000008383000300C300C18006001C038700C1C070C038E03000C0387000701C0618060038380C030E070180000000400000000000000000000000000000000000000000000000008303800300C300E1C006001C038700C1C070C038E03000C0387000701C0618070038380C038E030180000000400000000000000000000000000000000000000000000000008301800300C7FFE1F80E001C038700C1C071C038E03001C0387000701C063FFF0038381FFF8E0301800000004000000000000000000000000000000000000000000000000087FF800700C7FFE07F0E001C038700C1C071C038E03001C0387000701C063FFF0038381FFF8E0301800000004000000000000000000000000000000000000000000000000087FFC00300C700000F8E001C038700C1C071C038E03001C0387000701C0638000038381C000E030180000000400000000000000000000000000000000000000000000000008600C00300C300000186001C038700C1C070C038E03000C0387000701C0618000038380C000E030180000000400000000000000000000000000000000000000000000000008E00C00300C3000001C6001C038700C1C070C038E03000C0387000701C0618000038380C000E030180000000400000000000000000000000000000000000000000000000008C00E00380C380C10187011C038701C1C070E030E03000E0307000701C061C060038380E030E030180000000400000000000000000000000000000000000000000000000008C006001C1C1C1C38183831C03878381C0707070E0300070707000701C060E0E00383807070E030187870700400000000000000000000000000000000000000000000000009C006001FEC0FF81FF83FF1C03877F80F8703FE0E030003FE070003E1C0607FC00381F03FE0E03018787070040000000000000000000000000000000000000000000000000980070007CC07F00FE00FC1C03873E00F8701F80E030001F8070003E1C0603F800381F01FC0E03018787070040000000000000000000000000000000000000000000000000800000000000000000000000000700000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000700000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000700000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000700000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000700000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000300000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000000000000000000000000000000000000000^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-fit-600.png b/renderer/src/test/resources/scene2/golden/text-fit-600.png new file mode 100644 index 0000000..2473e8f Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-fit-600.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-fit-600.zpl b/renderer/src/test/resources/scene2/golden/text-fit-600.zpl new file mode 100644 index 0000000..9bcd164 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-fit-600.zpl @@ -0,0 +1,5 @@ +^XA^PW1200^LL600^LH0,0^CI28 +^FO48,48^GFA,16402,16402,139,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF000000000000000000180C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000003E000000000000000000000000000001FFF000000000000000000180C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000007FFF8000000000001FFFFFFFF80000001FFF000000000000000000180C0000000000000000000001FFE0000000000000000000000000003FFC0000000000000000000003FFC0000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000003FFFFE000000000003FFFFFFFF80000001FFF000000000000000000180C0000007FFC00000000001FFFFC000007FFFFFFFFFF8000000001FFFF80000000003FFF8000001FFFF8000000000FFFFC000001FFFFE00000007FFFF8000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000FFFFFF800000000003FFFFFFFF80000001FFF000000000000000000180C0000007FFC00000000007FFFFF800007FFFFFFFFFF800000000FFFFFE0000000007FFF8000007FFFFE000000001FFFF0000001FFFFE00000007FFFF8000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFE00000000003FFFFFFFF80000001FFF000000000000000000180C0000007FFC0000000001FFFFFFE00007FFFFFFFFFF800000001FFFFFF8000000007FFF800001FFFFFF800000003FFFE0000003FFFFE0000000FFFFF8000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFF00000000003FFFFFFFF80000001FFF000000000000000000180C0000007FFC0000000007FFFFFFF00007FFFFFFFFFF800000007FFFFFFC00000000FFFF800003FFFFFFC00000007FFFC0000007FFFFE0000001FFFFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFF80000000003FFFFFFFF80000001FFF000000000000000000180C0000007FFC000000000FFFFFFFF80007FFFFFFFFFF80000000FFFFFFFE00000001FFFF800007FFFFFFE0000001FFFF0000000FFFFFE0000003FFFFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFC0000000003FFFFFFFF80000001FFF000000000000000000180C0000007FFC000000001FFFFFFFFC0007FFFFFFFFFF80000001FFFFFFFF00000001FFFF80000FFFFFFFF0000003FFFE0000000FFFFFE0000003FFFFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFC0000000003FFFFFFFF80000001FFF0000000000000001FE180C0000007FFC000000003FFFFFFFFE0007FFFFFFFFFF80000003FFFFFFFF80000003FFFF80001FFFFFFFF8000007FFFC0000001FFFFFE0000007FFFFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFE0000000003FFFFFFFF80000001FFF0000000000000007FE180C0000007FFC000000007FFFFFFFFF0007FFFFFFFFFF80000003FFFFFFFF80000007FFFF80001FFFFFFFF8000007FFF80000003FFFFFE000000FFFFFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFE0000000003FFFFFFFF80000001FFF000000000000000FFE180C0000007FFC000000007FFFFFFFFF8007FFFFFFFFFF80000007FFFFFFFFC0000007FFFF80003FFFFFFFFC00000FFFE00000007FFFFFE000001FFFFFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000007FFF807FFF0000000003FFFFFFFF80000001FFF000000000000001FFE180C0000007FFC00000000FFFFFFFFFFC007FFFFFFFFFF8000000FFFFFFFFFC000000FFFFF80007FFFE7FFFE00001FFFC0000000FFFBFFE000003FFEFFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000007FFE003FFF0000000007FFFFFFFF80000001FFF000000000000001FFE180C0000007FFC00000001FFFF80FFFFC007FFFFFFFFFF8000000FFFE01FFFE000000FFFFF80007FFF00FFFE00003FFF80000000FFFBFFE000003FFEFFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFFC001FFF8000000007FF00000000000001FFF000000000000003FFE180C0000007FFC00000001FFFE001FFFE0000007FFC0000000001FFF800FFFE000001FFFFF80007FFC003FFE00007FFF00000001FFF3FFE000007FFCFFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFFC000FFF8000000007FF00000000000001FFF000000000000003FFE180C0000007FFC00000003FFF8000FFFE0000007FFC0000000001FFF0007FFE000003FFFFF8000FFFC003FFF0000FFFE00000003FFE3FFE00000FFF8FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFF8000FFF8000000007FF00000000000001FFF000000000000003FFE180C0000007FFC00000003FFF00007FFF0000007FFC0000000001FFE0003FFF000003FF7FF8000FFF8001FFF0000FFFC00000007FFC3FFE00001FFF0FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFF80007FFC000000007FF00000000000001FFF00000000000FFF3FFE180C0000007FFC00000003FFE00003FFF0000007FFC00000000007FE0003FFF000007FE7FF8001FFF0001FFF8001FFF800000007FF83FFE00001FFE0FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFF80007FFC000000007FF00000000000001FFF0003FFF0007FFFFFFE180C0000007FFC00000007FFE00001FFF0000007FFC00000000001FC0003FFF00000FFE7FF8001FFF0000FFF8003FFF00000000FFF83FFE00003FFE0FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FF00000000000001FFF0007FFE001FFFFFC00180C0000007FFC00000007FFC00001FFF8000007FFC000000000003C0003FFF00000FFC7FF8001FFF0000FFF8003FFF00000001FFF03FFE00007FFC0FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FF00000000000001FFF000FFFC003FFFFFE00180C0000007FFC00000007FFC00000FFF8000007FFC00000000000000003FFF00001FF87FF8001FFF0000FFF8007FFE00000003FFE03FFE0000FFF80FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FE00000000000001FFF000FFF8007FFFFFF00180C0000007FFC0000000FFF800000FFF8000007FFC00000000000000003FFF00001FF87FF8003FFF0000FFFC007FFC00000003FFC03FFE0000FFF00FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FE00000000000001FFF001FFF800FFFFFFFC0180C0000007FFC0000000FFF800000FFF8000007FFC00000000000000003FFE00003FF07FF8003FFE00007FFC00FFF800000000FFC03FFE00003FF00FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FE00000000000001FFF003FFF001FFFFFFFC0180C0000007FFC0000000FFF8000007FFC000007FFC00000000000000003FFE00007FF07FF8003FFE00007FFC00FFF8000000007F803FFE00001FE00FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FE003E0000000001FFF007FFE003FFFFFFFE0180C0000007FFC0000000FFF8000007FFC000007FFC00000000000000003FFE00007FE07FF8003FFE00007FFC01FFF03FF800003F003FFE00000FC00FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FE03FFE000000001FFF007FFC003FFF87FFF0180C0000007FFC0000000FFF8000007FFC000007FFC00000000000000007FFE0000FFC07FF8003FFE00007FFC01FFF0FFFE00001E003FFE000007800FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000001FFF80007FFC000000007FE07FFF800000001FFF00FFFC003FFC00FFF0180C0000007FFC0000001FFF8000007FFC000007FFC00000000000000007FFC0001FFC07FF8003FFE00007FFC01FFE3FFFF800006003FFE000001800FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFF8000FFFC000000007FE0FFFFC00000001FFF01FFF8007FF8007FF8180C0000007FFC0000001FFF8000007FFC000007FFC0000000000000000FFFC0001FF807FF8003FFE00007FFC03FFE7FFFFC00000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFFC000FFFC000000007FE1FFFFF00000001FFF01FFF0007FF8007FF8180C0000007FFC0000001FFF8000007FFC000007FFC0000000000000001FFF80003FF807FF8003FFE00007FFC03FFE7FFFFE00000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFFC001FFFC000000007FE3FFFFF80000001FFF03FFE0007FF8003FF8180C0000007FFC0000001FFF8000007FFC000007FFC0000000000000001FFF80003FF007FF8003FFE00007FFC03FFCFFFFFF00000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFFE003FFFC00000000FFE7FFFFF80000001FFF07FFC0007FF0003FF8180C0000007FFC0000001FFF8000007FFC000007FFC0000000000000003FFF00007FE007FF8003FFE00007FFC07FFDFFFFFF80000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000FFFF807FFFC00000000FFE7FFFFFC0000001FFF07FFC0007FF0003FF8180C0000007FFC0000001FFF8000007FFC000007FFC0000000000000007FFE0000FFE007FF8003FFE00007FFC07FFDFFFFFFC0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFC00000000FFE7FFFFFE0000001FFF0FFF80007FF0003FF8180C0000007FFC0000001FFF8000007FFC000007FFC000000000000000FFFE0000FFC007FF8003FFE00007FFC07FFFFFFFFFC0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFC00000000FFEFFFFFFE0000001FFF0FFF00007FF0003FF8180C0000007FFC0000001FFF8000007FFC000007FFC000000000000001FFFC0001FFC007FF8003FFE00007FFC07FFFE07FFFE0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000003FFFFFE7FFC00000000FFFFFFFFFE0000001FFF1FFE00007FF0003FF8180C0000007FFC0000001FFF8000007FFC000007FFC000000000000007FFF80003FF8007FF8003FFE00007FFC07FFF800FFFE0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000003FFFFFE7FF800000000FFFE01FFFF0000001FFE3FFE00007FF0003FF8180C0000007FFC0000001FFF8000007FFC000007FFC00000000000000FFFF00003FF0007FF8003FFE00007FFC07FFF0007FFE0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000001FFFFFCFFF800000000FFF8007FFF0000001FFE3FFC00007FF8007FF8180C0000007FFC0000001FFF8000007FFC000007FFC00000000000001FFFE00007FF0007FF8003FFE00007FFC07FFE0003FFF0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000FFFFFCFFF800000000FFF0003FFF0000001FFE7FFC00007FF8007FF8180C0000007FFC0000001FFF8000007FFC000007FFC00000000000003FFFC00007FE0007FF8003FFE00007FFC07FFC0003FFF0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000FFFFF8FFF80000000003E0003FFF0000001FFFFFFE00007FFC00FFF8180C0000007FFC0000000FFF8000007FFC000007FFC00000000000007FFF00000FFE0007FF8003FFE00007FFC07FFC0001FFF0000003FFE000000000FFF8000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000003FFFF1FFF0000000000000001FFF8000001FFFFFFE00003FFF01FFF0180C0000007FFC0000000FFF8000007FFC000007FFC0000000000000FFFE00000FFC0007FF8003FFE00007FFC07FFC0001FFF0000003FFE000000000FFF8000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000001FFFE1FFF0000000000000001FFF8000001FFFFFFF00003FFFFFFFF0180C0000007FFC0000000FFF8000007FFC000007FFC0000000000003FFFC00001FFFFFFFFFFF03FFE00007FFC07FFC0001FFF0000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000007FF81FFF0000000000000001FFF8000001FFFFFFF80001FFFFFFFE0180C0000007FFC0000000FFF800000FFF8000007FFC0000000000007FFF800001FFFFFFFFFFF03FFE00007FFC07FFC0001FFF0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000007803FFE0000000000000001FFF8000001FFFFFFF80001FFFFFFFE0180C0000007FFC0000000FFF800000FFF8000007FFC000000000000FFFF000001FFFFFFFFFFF01FFF0000FFF807FFC0001FFF0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000003FFE0000000000000001FFF8000001FFFFFFFC0000FFFFFFFC0180C0000007FFC00000007FFC00000FFF8000007FFC000000000001FFFC000001FFFFFFFFFFF01FFF0000FFF807FFC0001FFF0000003FFE000000000FFF800000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000007FFE0000000000000001FFF8000001FFFFFFFC00007FFFFFF80180C0000007FFC00000007FFC00001FFF8000007FFC000000000003FFF8000001FFFFFFFFFFF01FFF0000FFF807FFC0001FFF0000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000FFFC0000000000000001FFF8000001FFFFBFFE00001FFFFFF00180C0000007FFC00000007FFE00001FFF0000007FFC000000000007FFF0000001FFFFFFFFFFF01FFF0000FFF807FFC0001FFF0000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000FFFC0000000000000001FFF8000001FFFF3FFE00000FFFFFC00180C0000007FFC00000003FFE00003FFF0000007FFC00000000001FFFE0000001FFFFFFFFFFF00FFF8001FFF007FFC0001FFF0000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000001FFF80000000000100001FFF8000001FFFE1FFF00000FFFFE000180C0000007FFC00000003FFF00007FFF0000007FFC00000000003FFF80000001FFFFFFFFFFF00FFF8001FFF003FFC0003FFE0000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000003FFF80000000000300001FFF8000001FFFC1FFF00007C0000000180C0000007FFC00000003FFF8000FFFE0000007FFC00000000007FFF00000001FFFFFFFFFFF00FFFC003FFF003FFE0003FFE0000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000003FFF00000000000780001FFF0000001FFF80FFF8001FC0000000180C0000007FFC00000001FFFE003FFFE0000007FFC0000000000FFFE00000000FFFFFFFFFFF007FFC003FFE003FFE0007FFE0000003FFE000000000FFF80000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000007FFE00000000001FC0001FFF0000001FFF80FFF8003FC0000000180C0000007FFFFFFFF001FFFFC1FFFFC0000007FFC0000000000FFFFFFFFFF000000007FF80007FFF00FFFE001FFF800FFFC0000003FFE000000000FFF8000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000FFFE00003FC0003FC0003FFF0000001FFF007FFC007FC0000000180C0000007FFFFFFFF000FFFFFFFFFF80000007FFC0000000000FFFFFFFFFF800000007FF80003FFFFFFFFC001FFFC03FFFC001FFFFFFFFFE007FFFFFFFFF8000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000001FFFC0000FFE0007FE0003FFF0000001FFF007FFC007FC0000000180C0000007FFFFFFFF0007FFFFFFFFF80000007FFC0000000000FFFFFFFFFF800000007FF80003FFFFFFFFC000FFFFFFFFF8001FFFFFFFFFE007FFFFFFFFF8000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000003FFF80001FFF001FFF0007FFE0000001FFF007FFE00FFC0000000180C0000007FFFFFFFF0007FFFFFFFFF00000007FFC0000000000FFFFFFFFFF800000007FF80001FFFFFFFF8000FFFFFFFFF8001FFFFFFFFFE007FFFFFFFFF8000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000007FFF80001FFF801FFFC00FFFE0000001FFF003FFE00FFE0000000180C0000007FFFFFFFF0003FFFFFFFFE00000007FFC0000000000FFFFFFFFFF800000007FF80001FFFFFFFF80007FFFFFFFF0001FFFFFFFFFE007FFFFFFFFF800000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000FFFF00001FFF801FFFF07FFFE0000001FFF003FFF00FFFFFFFF00180C0000007FFFFFFFF0001FFFFFFFFC00000007FFC0000000000FFFFFFFFFF800000007FF80000FFFFFFFF00003FFFFFFFE0001FFFFFFFFFE007FFFFFFFFF800000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000001FFFE00003FFF800FFFFFFFFFC0000001FFF001FFF00FFFFFFFFE0180C0000007FFFFFFFF0000FFFFFFFF800000007FFC0000000000FFFFFFFFFF800000007FF800007FFFFFFE00001FFFFFFFC0001FFFFFFFFFE007FFFFFFFFF800000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000003FFFC00003FFF800FFFFFFFFFC0000001FFF001FFF807FFFFFFFF8180C0000007FFFFFFFF00003FFFFFFF000000007FFC0000000000FFFFFFFFFF800000007FF800003FFFFFFC00000FFFFFFF80001FFFFFFFFFE007FFFFFFFFF800000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000007FFF800003FFF8007FFFFFFFF80000001FFF000FFF807FFFFFFFFC180C0000007FFFFFFFF00001FFFFFFC000000007FFC0000000000FFFFFFFFFF800000007FF800001FFFFFF8000003FFFFFE00001FFFFFFFFFE007FFFFFFFFF80000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000001FFFF000003FFF8003FFFFFFFF00000001FFF000FFFC07FFFFFFFFE180C0000007FFFFFFFF000007FFFFF8000000007FFC0000000000FFFFFFFFFF800000007FF8000007FFFFE0000001FFFFFC00001FFFFFFFFFE007FFFFFFFFF80000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000003FFFE000003FFF8001FFFFFFFE00000001FFF0007FFC03FFFFFFFFF180C0000007FFFFFFFF000001FFFFC0000000007FFC0000000000FFFFFFFFFF800000007FF8000001FFFF800000007FFFE000001FFFFFFFFFE007FFFFFFFFF80000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000007FFFC000001FFF8000FFFFFFFC00000001FFF0007FFE01FFFFFFFFF980C0000000000000000000001FFC00000000000000000000000000000000000000000000000000001FF80000000007FF000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000FFFF8000001FFF00003FFFFFF800000001FFF0003FFE007FFFFFFFF980C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000003FFFF0000000FFF00001FFFFFE000000001FFF0003FFF001FFFFFFFF980C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000007FFFE00000007FE000003FFFF8000000001FFF0001FFF001FFFFFFFFD80C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000001F80000007FF80000000000000000000000FFFFFFFFFD80C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F80000FFFD80C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F800007FFD80C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000003FFD80C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF000003FFD80C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF000003FFD80C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF000003FFD80C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF800003FFD80C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF800007FF980C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFC0000FFF980C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFE01FFFF980C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFF180C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFF180C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFE180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFC180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFF8180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFE0180C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFF00180C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFE000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80^FS +^FO48,178^GFA,12220,12220,130,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C00000600000000000000000001C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000001C00000000000000000000000000000000000000000000000000000000000000000000000000000006C00003E00000000000000000001F8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E00000000000000000001F80000000000000000000000000000000000000000000000000000000000000000000000000000006C0000FE00000000000000000001FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FE00000000000000000001FE0000000000000000000000000000000000000000000000000000000000000000000000000000006C0001FE00000000000000000001FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE00000000000000000001FF0000000000000000000000000000000000000000000000000000000000000000000000000000006C0007FE00000000000000000001FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FE00000000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000006C000FFE00000780000000000001FFE00000003C0000000F00000003C000000000000000780000000000000000000000000000000000000000000000000F0000000780000001E0000000000000000FFE00000000000003C00001FFE0000000000000001E0000000000000001E00000000000000000000000000000000000000000006C001FFE00007FF8000007FC0000FFF0000003FFC00000FFF000003FFC000007FC000007FF80007FFFFF800000FF000FFFFFE00000FF0001FFFFFFE000FFF000007FF800001FFE0001FFFFFC00001FFE00003FE000003FFC0000FFF000003F80000001FFE0000000FF00001FFE0000007F800000FF8000003FE000001FF8000000006C003FF80001FFFE00000FFC00003FF800000FFFF00003FFFC0000FFFF00000FFC00001FFFE0007FFFFF800001FE000FFFFFE00000FF0001FFFFFFE003FFFC0001FFFE00007FFF8001FFFFFC00003FF800007FE00000FFFF00003FF800003F80000007FFF8000001FE00007FFF8000007F800001FF8000007FE000001FF8000000006C007FE00003FFFF00001FFC00000FF800001FFFF80007FFFE0001FFFF80001FFC00003FFFF0007FFFFF800001FE000FFFFFE00001FE0001FFFFFFE007FFFE0007FFFF0000FFFFC001FFFFFC00007FE00000FFE00001FFFF80000FF800003F8000000FFFFC000001FE0000FFFFC00000FF000003FF800000FFE000001FF8000000006C007FC00007FFFF80007FFC000007FC00003FFFFC000FFFFF0003FFFFC0007FFC00007FFFF8007FFFFF800003FC000FFFFFE00001FE0001FFFFFFE00FFFFF000FFFFF8001FFFFE001FFFFFC00007FC00003FFE00003FFFFC00007FC00003F8000001FFFFE000003FC0001FFFFE00000FF00000FFF800003FFE000003FF8000000006C00FF80000FFFFFC000FFFC000003FE00007FFFFE001FFFFF8007FFFFE000FFFC0000FFFFFC007FFFFF800007F8000FFFFFE00003FC0001FFFFFFE01FFFFF801FFFFFC003FFFFF001FFFFFC0000FF800007FFE00007FFFFE00003FE00003F8000003FFFFF000007F80003FFFFF00001FE00001FFF800007FFE000003FFC000000006C00FF00001FFDFFC003FFFC000001FE0000FFEFFE003FFBFF800FFEFFE003FFFC0001FFFFFC007FFFFF800007F8000FFFFFE00003F80001FFFFFFE03FF0FF801FF8FFE007FF7FF001FFFFFC0000FF00001FFFE0000FFEFFE00001FE00003F8000007FFFFF000007F80007FF7FF00001FC00007FFF80001FFFE000003FFC000000006C01FE00001FE01FE007FFFC000000FF0000FF00FF003FC03FC00FF00FF007FFFC0001FE03FE000000FF00000FF0000FE000000007F80001FC001FC03FC03FC03FE01FE007F807F801FC00000001FE00003FFFE0000FF00FF00000FF00003F8000007F80FF80000FF00007F807F80003FC0000FFFF80003FFFE000003FFC000000006C01FC00003FC00FE007FDFC000000FF0001FE007F007F801FC01FE007F007FDFC0003FC01FE000001FE00001FE0000FE000000007F00001FC003FC03F801FC03FC00FF00FF003F801FC00000001FC00003FEFE0001FE007F00000FF00003F800000FF007F80001FE0000FF003F80003F80000FFBF80003FEFE000007FFC000000006C03FC00003F8007F007F9FC0000007F0001FC003F807F000FE01FC003F807F9FC0003F800FE000003FC00001FE0000FE00000000FF00001FC003F807F001FC03F8007F00FE001FC01FC00000003FC00003FCFE0001FC003F800007F00003F800000FE003F80001FE0000FE001FC0007F80000FF3F80003FCFE000007EFE000000006C03FC00003F8007F007F1FC0000007F8001FC003F807F000FE01FC003F807F1FC0003F800FF000007F800003FC0000FE00000001FE00001FC007F807F000FE07F0007F00FE001FC01FC00000003FC00003F8FE0001FC003F800007F80003F800000FE003FC0003FC0000FE001FC000FF00000FE3F80003F8FE000007E7E000000006C03F800003F8007F007C1FC0000003F8001FC003F807F000FE01FC003F807C1FC0003F800FF00000FF000007F80000FE00000001FE00001FC007F807F000FE07F0003F80FE001FC01FC00000003F800003E0FE0001FC003F800003F80003F800000FE003FC0007F80000FE001FC000FF00000F83F80003E0FE000007E7E000000006C03F800003F0007F00781FC0000003F8001F8003F807E000FE01F8003F80781FC0003F8007F00001FE000007F80000FE00000003FC00001FC007F007F000FE07F0003F80FC001FC01FC00000003F800003C0FE0001F8003F800003F80003F800000FE001FC0007F80000FC001FC001FE00000F03F80003C0FE00000FE7E000000006C03F800003F0007F00701FC0000003F8001F8003F807E000FE01F8003F80701FC00000000FF00003FC00000FF00000FE00000003F800001FC00FF007F000FC07F0003F80FC001FC01FC00000003F80000380FE0001F8003F800003F80003F80000000003FC000FF00000FC001FC001FC00000E03F8000380FE00000FE7F000000006C07F800003F0007F00401FC0000003F8001F8003F807E000FE01F8003F80401FC00000000FF00007F800001FE00000FE00000007F8000000000FE003F001FC07F0003F80FC001FC01FC00000007F80000200FE0001F8003F800003F80003F80000000003FC001FE00000FC001FC003FC00000803F8000200FE00000FC7F000000006C07F800003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC00000000FE0000FF000001FE00000FE00000007F0000000001FE003F801FC07F0003F80FC001FC01FC00000007F80000000FE0001F8003F800003F80003F80000000003F8001FE00000FC001FC003F800000003F8000000FE00000FC3F000000006C07F000003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC00000000FE0001FFC00003FC00000FFFF80000FF0000000001FC001FC03F807F0007F80FC001FC01FFFF000007F00000000FE0001F8003F800003F80003F80000000003F8003FC00000FC001FC007F800000003F8000000FE00001FC3F000000006C07F000003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC00000001FE0001FFF00007F800000FFFFE0000FE7F80000003FC001FF0FF007F8007F00FC001FC01FFFFC00007F00000000FE0001F8003F800003F80003F80000000007F8007F800000FC001FC007F3FC000003F8000000FE00001FC3F800000006C07F000003F0787F00001FC0000003F8001F83C3F807E0F0FE01F83C3F80001FC00000001FC0001FFF80007F80FC00FFFFF8001FFFFE0000003FC000FFFFE003F800FF00FC1E1FC01FFFFF00007F00000000FE0001F83C3F800003F80003F80000000007F0007F80FC00FC1E1FC00FFFFF000003F8000000FE00001F83F800000006C07F000003F0FC7F00001FC0000003F8001F87E3F807E1F8FE01F87E3F80001FC00000003FC0001FFFE000FF01FE00FFFFFC001FFFFF0000003F80003FFFC003FC01FF00FC3F1FC01FFFFF80007F00000000FE0001F87E3F800003F80003F8000000000FF000FF01FE00FC3F1FC00FFFFF800003F8000000FE00001F81F800000006C07F000003F1FE7F00001FC0000003F8001F8FF3F807E3FCFE01F8FF3F80001FC00000007F80001FFFE001FE01FE00FFFFFE003FFFFF8000007F80001FFF8001FF03FE00FC7F9FC01FFFFFC0007F00000000FE0001F8FF3F800003F80003F8000000001FE001FE01FE00FC7F9FC01FFFFFC00003F8000000FE00003F81F800000006C07F000003F1FE7F00001FC0000003F8001F8FF3F807E3FCFE01F8FF3F80001FC0000000FF80001FFFF001FE01FE00FFFFFE003FFFFFC000007F00007FFFE001FFFFFE00FC7F9FC01FFFFFC0007F00000000FE0001F8FF3F800003F80003F8000000003FE001FE01FE00FC7F9FC01FFFFFE00003F8000000FE00003F81FC00000006C07F000003F1FC7F00001FC0000003F8001F8FE3F807E3F8FE01F8FE3F80001FC0000001FF0000000FF803FC01FE000003FF007FE07FC00000FF0001FFFFF000FFFFFE00FC7F1FC000007FE0007F00000000FE0001F8FE3F800003F80003F8000000007FC003FC01FE00FC7F1FC03FF03FE00003F8000000FE00003F81FC00000006C07F000003F0FC7F00001FC0000003F8001F87E3F807E1F8FE01F87E3F80001FC0000003FE00000007F807F801FE000000FF007F803FE00000FE0003FF9FF8007FFFFC00FC3F1FC000001FE0007F00000000FE0001F87E3F800003F80003F800000000FF8007F801FE00FC3F1FC03FC01FF00003F8000000FE00003F01FC00000006C07F000003F0787F00001FC0000003F8001F83C3F807E0F0FE01F83C3F80001FC0000007FC00000003F807F801FE0000007F007F001FE00001FE0003FC03FC003FFFFC00FC1E1FC000000FE0007F00000000FE0001F83C3F800003F80003F800000001FF0007F801FE00FC1E1FC03F800FF00003F8000000FE00007F00FC00000006C07F000003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC000000FF800000003FC07F001FE0000007F80FF000FE00001FE0007F801FE000FFFF800FC001FC000000FF0007F00000000FE0001F8003F800003F80003F800000003FE0007F001FE00FC001FC07F8007F00003F8000000FE00007F00FE00000006C07F000003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC000001FF000000001FC07F001FE0000003F80FE000FF00001FC0007F000FE0001E7F800FC001FC0000007F0007F00000000FE0001F8003F800003F80003F800000007FC0007F001FE00FC001FC07F0007F80003F8000000FE00007FFFFE00000006C07F800003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC000003FE000000001FC07F001FE0000003F80FE0007F00003FC000FE000FE00000FF000FC001FC0000007F0007F80000000FE0001F8003F800003F80003F80000000FF80007F001FE00FC001FC07F0003F80003F8000000FE00007FFFFE00000006C07F800003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC000007FC000000001FC07FFFFFE0000003F80FE0007F00003F8000FE0007F00000FE000FC001FC0000007F0007F80000000FE0001F8003F800003F80003F80000001FF00007FFFFFE00FC001FC07F0003F80003F8000000FE0000FFFFFE00000006C03F800003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC00000FF8000000001FC07FFFFFE0000003F80FE0007F00007F8000FE0007F00001FE000FC001FC0000007F0003F80000000FE0001F8003F800003F80003F80000003FE00007FFFFFE00FC001FC07F0003F80003F8000000FE0000FFFFFF00000006C03F800003F0007F00001FC0000003F8001F8003F807E000FE01F8003F80001FC00001FF0000000001FC07FFFFFE0000003F80FE0007F00007F8000FE0007F00001FC000FC001FC0000007F0003F80000000FE0001F8003F800003F80003F80000007FC00007FFFFFE00FC001FC07F0003F80003F8000000FE0000FFFFFF00000006C03F800003F8007F00001FC0000003F8001FC003F807F000FE01FC003F80001FC00003FE00001FC001FC07FFFFFE01FC003F80FE0007F0000FF0000FE0007F00003FC000FE001FC03F8007F0003F80000000FE0001FC003F800003F80003F8000000FF800007FFFFFE00FE001FC07F0003F80003F8000000FE0000FFFFFF00000006C03F800003F8007F00001FC0000007F8001FC003F807F000FE01FC003F80001FC00007FC00001FE003FC07FFFFFE01FC003F80FE000FE0000FF0000FE000FF00007F8000FE001FC03F8007F0003F80000000FE0001FC003F800007F80003F8000001FF000007FFFFFE00FE001FC07F0007F00003F8000000FE0001FC007F00000006C03FC00003F800FF00001FC0000007F0001FC007F807F001FE01FC007F80001FC0000FF800000FE003F807FFFFFE01FC007F807F000FE0000FE0000FF000FE00007F8000FE003FC03F800FF0003FC0000000FE0001FC007F800007F00003F8000003FE000007FFFFFE00FE003FC03F8007F00003F8000000FE0001FC003F80000006C01FC00003FC00FE00001FC0000007F0001FE007F007F801FC01FE007F00001FC0001FF000000FF007F8000001FE01FE00FF007F801FE0001FE00007F801FE0000FF0000FF003F803FC01FE0001FC0000000FE0001FE007F000007F00003F8000007FC0000000001FE00FF003F803FC00FF00003F8000000FE0001FC003F80000006C01FE00001FE01FE00001FE000000FF0000FF00FF003FC03FC00FF00FF00001FE0003FF000000FF80FF8000001FE01FF01FF007FC03FC0001FC00007FC03FE0000FF00007F807F803FE03FE0001FE0000000FF0000FF00FF00000FF00003F800000FFC0000000001FE007F807F803FE01FE00003FC000000FF0001FC003F80000006C01FE00001FFFFFC007FFFFFE0001FE0000FFFFFE003FFFFF800FFFFFE007FFFFFE03FFFFFF007FFFFF0000001FE00FFFFFE003FF9FFC0003FC00003FF9FFC0001FE00007FFFFF001FFFFFC0001FE00003FFFFFF00FFFFFE00001FE00003FFFFFC0FFFFFFC000001FE007FFFFF001FFCFFE00FFFFFFC03FFFFFF03F8003F80000006C00FF00000FFFFFC007FFFFFE0001FE00007FFFFE001FFFFF8007FFFFE007FFFFFE03FFFFFF007FFFFF0000001FE00FFFFFE001FFFFF80003FC00003FFFFF80003FC00003FFFFF001FFFFFC0000FF00003FFFFFF007FFFFE00001FE00003FFFFFC0FFFFFFC000001FE003FFFFF000FFFFFC00FFFFFFC03FFFFFF03F8001FC0000006C00FF800007FFFF8007FFFFFE0003FC00003FFFFC000FFFFF0003FFFFC007FFFFFE03FFFFFF003FFFFE0000001FE007FFFFC001FFFFF00007F800001FFFFF80003FC00001FFFFE000FFFFF80000FF80003FFFFFF003FFFFC00003FC00003FFFFFC0FFFFFFC000001FE001FFFFE000FFFFF800FFFFFFC03FFFFFF03F8001FC0000006C007FC00003FFFF0007FFFFFE000FFC00001FFFF80007FFFE0001FFFF8007FFFFFE03FFFFFF001FFFFC0000001FE003FFFF80007FFFE00007F800000FFFFE00007F800000FFFFC0007FFFF000007FC0003FFFFFF001FFFF80000FFC00003FFFFFC0FFFFFFC000001FE000FFFFC0003FFFF000FFFFFFC03FFFFFF03F8001FC0000006C003FF00001FFFE0007FFFFFE001FF800000FFFF00003FFFC0000FFFF0007FFFFFE03FFFFFF000FFFF80000001FE000FFFF00003FFFC00007F0000003FFFC00007F8000007FFF80001FFFE000003FF0003FFFFFF000FFFF00001FF800003FFFFFC0FFFFFFC000001FE0007FFF80001FFFE000FFFFFFC03FFFFFF07F8001FC0000006C001FFE00007FF80007FFFFFE00FFF0000003FFC00000FFF000003FFC0007FFFFFE03FFFFFF0003FFE00000001FE0003FFC00000FFF00000FF0000000FFF00000FF0000001FFE000007FF8000001FFE003FFFFFF0003FFC0000FFF000003FFFFFC0FFFFFFC000001FE0001FFE000007FF8000FFFFFFC03FFFFFF07F0001FE0000006C000FFE00000300000000000001FFE00000001800000006000000018000000000000000000000000800000000000000018000000060000000000000000E0000000000000000C0000000300000000FFE00000000000001800001FFE000000000000000000000000000000000C00000003000000000000000000000000000000000006C000FFE00000000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE00000000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000006C0003FE00000000000000000001FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE00000000000000000001FF8000000000000000000000000000000000000000000000000000000000000000000000000000006C0001FE00000000000000000001FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE00000000000000000001FF0000000000000000000000000000000000000000000000000000000000000000000000000000006C00007E00000000000000000001FC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E00000000000000000001FC0000000000000000000000000000000000000000000000000000000000000000000000000000006C00001E00000000000000000001F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E00000000000000000001F00000000000000000000000000000000000000000000000000000000000000000000000000000006C0000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE^FS +^FO48,284^GFA,28783,28783,107,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000001800000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000018000000000000000000000000C0C00000078000000000000000000007800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E000000000000000000001E000000000000000000000000C0C000001F8000000000000000000007E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E000000000000000000001F800000000000000000000000C0C000007F8000000000000000000007F8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE000000000000000000001FE00000000000000000000000C0C00000FF8000000000000000000007FC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE000000000000000000001FF00000000000000000000000C0C00001FF0000000000000000000003FE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FC000000000000000000000FF80000000000000000000000C0C00003FC000007FC0000003F800000FF00000003FE0000007FC000000FF80000007F0000003FE00003FFFFF0000001F0000FFFFFC000001F00007FFFFFE0000FF8000001FF0000003FE00003FFFFF000000FF0000007F0000003FE000003FC000001E000000001FF0000C0C00007F000001FFF000000FF8000003F8000000FFF800001FFF000003FFE000001FF000000FFF80007FFFFF8000003F0000FFFFFE000003F00007FFFFFF0003FFE000007FFE00000FFF80003FFFFF800001FC000001FF000000FFF800000FE000001F000000007FFC000C0C0000FE000007FFFC00001FF8000001FC000003FFFE00007FFFC0000FFFF800003FF000003FFFE0007FFFFF8000007E0000FFFFFE000007E00007FFFFFF000FFFF80001FFFF00003FFFE0003FFFFF800003F8000003FF000003FFFE000007F000001F00000001FFFF000C0C0001FC00000FFFFE00003FF8000000FE000007FFFF0000FFFFE0001FFFFC00007FF000007FFFF0007FFFFF8000007E0000FFFFFE000007E00007FFFFFF001FFFFC0003FFFF80007FFFF0003FFFFF800007F0000007FF000007FFFF000003F800001F00000003FFFF800C0C0001F800001FF1FF0000FFF80000007E00000FF8FF8001FF1FF0003FE3FE0001FFF00000FFFFF8007FFFFF800000FC0000FFFFFE00000FC00007FFFFFF003FFFFE0007FFFFC000FF8FF8003FFFFF800007E000001FFF00000FF8FF800001F800001F00000007FFFFC00C0C0003F000003F803F8001FEF80000003F00001FC01FC003F803F8007F007F0003FDF00001FC03FC0000003F000001F80000F8000000000F800007C0003F007F80FF000FE00FE001FC01FC003E000000000FC000003FDF00001FC01FC00000FC00001F0000000FE01FE00C0C0003F000003F001F8003FCF80000003F00001F800FC003F001F8007E003F0007F9F00001F800FC0000003F000001F80000F8000000001F800007C0003E007E003F001FC007F001F800FC003E000000000FC000007F9F00001F800FC00000FC00001F0000000FC007E00C0C0007E000007E000FC00FF0F80000001F80003F0007E007E000FC00FC001F801FE1F00003F0007C0000007E000003F00000F8000000001F000007C0007E007C001F001F8003F003F0007E003E000000001F800001FE1F00003F0007E000007E00001F0000001F8003E00C0C0007E000007E000FC00FE0F80000001F80003F0007E007E000FC00FC001F801FC1F00003F0007E000000FC000003F00000F8000000003F000007C0007E00FC001F801F0001F003F0007E003E000000001F800001FC1F00003F0007E000007E00001F0000001F8003F00C0C0007C000007C0007C00FC0F80000000F80003E0003E007C0007C00F8000F801F81F00003E0007E000001F8000007E00000F8000000007E000007C0007C00FC001F803F0001F803E0003E003E000000001F000001F81F00003E0003E000003E00001F0000001F0003F00C0C000FC000007C0007C00F00F80000000FC0003E0003E007C0007C00F8000F801E01F00003E0003E000003F000000FC00000F8000000007E000007C000FC00F8000F803E0000F803E0003E003E000000003F000001E01F00003E0003E000003F00001F0000001F0001F00C0C000FC000007C0007C00E00F80000000FC0003E0003E007C0007C00F8000F801C01F00003E0003E000007E000000FC00000F800000000FC000007C000F800F8000F803E0000F803E0003E003E000000003F000001C01F00003E0003E000003F00001F0000001F0001F00C0C000F8000007C0007C00C00F800000007C0003E0003E007C0007C00F8000F801801F0000000003E00000FC000001F800000F800000000F80000000001F800F8000F803E0000F803E0003E003E000000003E000001801F00003E0003E000001F00001F000000000001F00C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000000003E00001F8000003F000000F800000001F80000000001F800FC001F803E0000F803E0003E003E000000003E000000001F00003E0003E000001F00001F000000000001F00C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000000003E00003F0000003F000000F800000001F00000000001F0007C001F003E0000F803E0003E003E000000003E000000001F00003E0003E000001F00001F000000000001F00C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000000007E00007E0000007E000000F800000003F00000000003F0007C001F003E0000F803E0003E003E000000003E000000001F00003E0003E000001F00001F000000000003F00C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000000007C0000FF0000007E000000FFFC000003E00000000003E0003E003E003E0000F803E0003E003FFF0000003E000000001F00003E0003E000001F00001F000000000003E00C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F000000000FC0000FFE00000FC000000FFFFC00007EFF000000007E0003F80FE003F0001F803E0003E003FFFF000003E000000001F00003E0003E000001F00001F000000000007E00C0C000F8000007C0E07C00000F800000007C0003E0703E007C0E07C00F81C0F800001F000000000FC0000FFF80001F801E000FFFFE0000FFFFC00000007E0001FFFFC003F0001F003E0703E003FFFF800003E000000001F00003E0703E000001F00001F000000000007E00C0C000F8000007C1F07C00000F800000007C0003E0F83E007C1F07C00F83E0F800001F000000001F80000FFFC0001F803F000FFFFF8000FFFFF00000007C00007FFF0001F8003F003E0F83E003FFFFE00003E000000001F00003E0F83E000001F00001F00000000000FC00C0C000F8000007C3F87C00000F800000007C0003E1FC3E007C3F87C00F87F0F800001F000000003F00000FFFE0003F003F000FFFFFC001FFFFF8000000FC00001FFC0001FC007F003E1FC3E003FFFFF00003E000000001F00003E1FC3E000001F00001F00000000001F800C0C000F8000007C3F87C00000F800000007C0003E1FC3E007C3F87C00F87F0F800001F000000003F0000000FF0003E003F0000003FC001FE03FC000000F800007FFF0000FE00FE003E1FC3E000000FF00003E000000001F00003E1FC3E000001F00001F00000000001F800C0C000F8000007C3F87C00000F800000007C0003E1FC3E007C3F87C00F87F0F800001F000000007E00000003F0007E003F0000000FE003F800FC000001F80001FFFFC0007FEFFE003E1FC3E0000003F80003E000000001F00003E1FC3E000001F00001F00000000003F000C0C000F8000007C1F07C00000F800000007C0003E0F83E007C1F07C00F83E0F800001F00000000FC00000001F800FC003F00000007E003F0007E000001F80003F80FE0003FFFFC003E0F83E0000001F80003E000000001F00003E0F83E000001F00001F00000000007E000C0C000F8000007C0E07C00000F800000007C0003E0703E007C0E07C00F81C0F800001F00000001F800000000F800FC003F00000003E003E0003E000001F00007E003F0001FFFFC003E0703E0000000F80003E000000001F00003E0703E000001F00001F0000000000FC000C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F00000003F000000000F801F8003F00000003F007E0003F000003F0000FC001F80007FFF8003E0003E0000000FC0003E000000001F00003E0003E000001F00001F0000000001F8000C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F00000007F000000000FC01F0003F00000001F007E0003F000003E0000F8000F80000F1F8003E0003E00000007C0003E000000001F00003E0003E000001F00001F0000000003F8000C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000000FE000000000FC01F0003F00000001F007C0001F000007E0001F8000FC000003F0003E0003E00000007C0003E000000001F00003E0003E000001F00001F0000000007F0000C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000001FC000000000FC01F0003F00000001F007C0001F000007E0001F00007C000003F0003E0003E00000007C0003E000000001F00003E0003E000001F00001F000000000FE0000C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000003F8000000000FC01FFFFFF00000001F007C0001F00000FC0001F00007C000007E0003E0003E00000007C0003E000000001F00003E0003E000001F00001F000000001FC0000C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F0000007F0000000000FC01FFFFFF00000001F007C0001F00000FC0001F00007C000007C0003E0003E00000007C0003E000000001F00003E0003E000001F00001F000000003F80000C0C000F8000007C0007C00000F800000007C0003E0003E007C0007C00F8000F800001F000000FE00000F8000FC01FFFFFF001E0001F007C0001F00000F80001F00007C00000FC0003E0003E00780007C0003E000000001F00003E0003E000001F00001F000000007F00000C0C000FC000007C0007C00000F80000000FC0003E0003E007C0007C00F8000F800001F000001FC00000F8000FC01FFFFFF003F0001F007C0001F00001F80001F00007C00001F80003E0003E00FC0007C0003F000000001F00003E0003E000003F00001F00000000FE00000C0C000FC000007C0007C00000F80000000FC0003E0003E007C0007C00F8000F800001F000003F800000FC000FC01FFFFFF001F0001F007E0003F00001F80001F0000FC00001F80003E0003E007C0007C0003F000000001F00003E0003E000003F00001F00000001FC00000C0C0007C000007C0007C00000F80000000F80003E0003E007C0007C00F8000F800001F000007F000000FC000F80000003F001F0003F007E0003F00003F00001F8000FC00003F00003E0003E007C000FC0001F000000001F00003E0003E000003E00001F00000003F800000C0C0007E000007E000FC00000F80000001F80003F0007E007E000FC00FC001F800001F00000FE0000007C001F80000003F001F8003E003F0007E00003F00000F8000F800003F00003F0007E007E000F80001F800000001F00003F0007E000007E00001F00000007F000000C0C0007E000003F001F800000F80000001F80001F800FC003F001F8007E003F000001F00000FC0000007E001F80000003F001F8007E003F0007E00003E00000FC001F800007E00001F800FC007E001F80001F800000001F00001F800FC000007E00001F00000007E000000C0C0003F000003F803F800000F80000003F00001FC01FC003F803F8007F007F000001F00001F80000007F003F00000003F000FC00FE001FC01FC00007E000007F007F000007E00001FC01FC003F003F80000FC00000001F00001FC01FC00000FC00001F0000000FC000000C0C0003F000001FC07F000FFFFFFC00003F00000FE03F8001FC07F0003F80FE001FFFFFF803FFFFFF003FC0FF00000003F000FF03FC001FF07F800007E000007FC1FF00000FC00000FE03F8003FC0FF00000FC00001FFFFFF800FE03F800000FC00001FFFFFE01FFFFFF80C0C0001F800000FFFFE000FFFFFFE00007E000007FFFF0000FFFFE0001FFFFC001FFFFFFC03FFFFFF001FFFFE00000003F0007FFFF8000FFFFF80000FC000003FFFFE00001F8000007FFFF0001FFFFE000007E00001FFFFFFC007FFFF000001F800001FFFFFE01FFFFFF80C0C0001FC000007FFFC000FFFFFFE0000FE000003FFFE00007FFFC0000FFFF8001FFFFFFC03FFFFFF000FFFFC00000003F0003FFFF00007FFFF00000FC000001FFFFC00001F8000003FFFE0000FFFFC000007F00001FFFFFFC003FFFE000003F800001FFFFFE01FFFFFF80C0C0000FE000003FFF8000FFFFFFE0001FC000001FFFC00003FFF800007FFF0001FFFFFFC03FFFFFF0007FFF800000003F0001FFFE00001FFFC00000F80000007FFF800003F0000001FFFC00007FFF8000003F80001FFFFFFC001FFFC000007F000001FFFFFE01FFFFFF80C0C00007F000000FFE0000FFFFFFE0003F80000007FF000000FFE000001FFC0001FFFFFFC03FFFFFF0001FFE000000003F00007FF8000007FF000001F80000001FFE000003F00000007FF000001FFE0000001FC0001FFFFFFC0007FF000000FE000001FFFFFE01FFFFFF80C0C00007FC000000E000000000000000FF00000000700000000E00000001C0000000000000000000000000C0000000000000000300000000700000000000000001C0000000000000000700000000C00000001FF00000000000000070000003FC0000000000000000000000C0C00003FF0000000000000000000003FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC000000000000000000000FFC0000000000000000000000C0C00000FF8000000000000000000007FC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE000000000000000000001FF00000000000000000000000C0C000007F8000000000000000000007F8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE000000000000000000001FE00000000000000000000000C0C000001F8000000000000000000007E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E000000000000000000001F800000000000000000000000C0C00000078000000000000000000007800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001E000000000000000000001E000000000000000000000000C0C0000001800000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000018000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C00000000000000F800000FF80000000F8000000FE0000001FC0000007F00000000000001FFF800003FFFFFC01FFFFFFC00F0001E001FFF800003F00078007FFFFF800FFF00000000000000007FC000000FF8000001FF0000000FE0000007FC00007FFFFE00000000000C0C00000000000001F800003FFE0000001F8000003FE0000007FC0000007F00000000000003FFFF80003FFFFFC03FFFFFFE01F8003F003FFFF80007F8007C007FFFFF801FFFF000000000000001FFF000003FFE000007FFC000003FE000001FFF0000FFFFFF00000000000C0C00000000000003F00000FFFF8000003F0000007FE000000FFC000000FF80000000000003FFFFE0003FFFFFC03FFFFFFE01F8003F003FFFFE0007F8007C007FFFFF801FFFFC00000000000007FFFC0000FFFF80001FFFF000007FE000007FFFC000FFFFFF00000000000C0C00000000000003F00001FFFFC000003F000000FFE000001FFC000000FF80000000000003FFFFF0003FFFFFC03FFFFFFE01F8003F003FFFFF0007F8007C007FFFFF801FFFFF0000000000000FFFFE0001FFFFC0003FFFF80000FFE00000FFFFE000FFFFFF00000000000C0C00000000000007E00003FE3FE000007E000003FFE000007FFC000000FF80000000000003FFFFF8003FFFFFC03FFFFFFE01F8003F003FFFFF8007FC007C007FFFFF801FFFFF8000000000001FF1FF0003FE3FE0007FC7FC0003FFE00001FFFFF000FFFFFF00000000000C0C0000000000000FC00007F007F000007C000007FBE00000FF7C000000FF80000000000003F003FC003E0000000003E00001F8003F003F003FC007FC007C007C0000001F807FC000000000003F803F8007F007F000FE00FE0007FBE00003F807F80000007E00000000000C0C0000000000000FC00007E003F00000FC00000FF3E00001FE7C000001F7C0000000000003F000FE003E0000000003E00001F8003F003F000FE007FC007C007C0000001F801FC000000000003F001F8007E003F000FC007E000FF3E00003F001F80000007E00000000000C0C0000000000001F80000FC001F80000F800003FC3E00007F87C000001F7C0000000000003F0007E003E0000000003E00001F8003F003F0007E007FE007C007C0000001F8007E000000000007E000FC00FC001F801F8003F003FC3E00007E000F8000000FC00000000000C0C0000000000001F80000FC001F80001F800003F83E00007F07C000001F7C0000000000003F0003F003E0000000003E00001F8003F003F0003F007FE007C007C0000001F8007E000000000007E000FC00FC001F801F8003F003F83E00007E000FC000001F800000000000C0C0000000000003F00000F8000F80003F000003F03E00007E07C000001E7C0000000000003F0003F003E0000000003E00001F8003F003F0003F007DE007C007C0000001F8003E000000000007C0007C00F8000F801F0001F003F03E00007C000FC000003F000000000000C0C0000000000007E00000F8000F80003F000003C03E00007807C000003E3E0000000000003F0001F003E0000000003E00001F8003F003F0001F007DF007C007C0000001F8003F000000000007C0007C00F8000F801F0001F003C03E00007C0007C000007E000000000000C0C0000000000007E00000F8000F80007E000003803E00007007C000003E3E0000000000003F0001F003E0000000003E00001F8003F003F0001F007CF007C007C0000001F8003F000000000007C0007C00F8000F801F0001F003803E00007C0007C00000FC000000000000C0C000000000000FC00000F8000F80007C000003003E00006007C000003E3E0000000000003F0001F003E0000000003E00001F8003F003F0001F007CF807C007C0000001F8001F000000000007C0007C00F8000F801F0001F003003E0000000007C00001F8000000000000C0C000000000001F800000F8000F8000FC000000003E00000007C000003E3E0000000000003F0001F003E0000000003E00001F8003F003F0001F007CF807C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E0000000007C00003F0000000000000C0C000000000001F800000F8000F8000F8000000003E00000007C000007C1F0000000000003F0001F003E0000000003E00001F8003F003F0001F007C7807C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E0000000007C00007E0000000000000C0C000000000003F000000F8000F8001F8000000003E00000007C000007C1F0000000000003F0003F003E0000000003E00001F8003F003F0003F007C7C07C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E000000000FC0000FC0000000000000C0C000000000003F000000F8000F8001F0000000003E00000007C000007C1F0000000000003F0003F003E0000000003E00001F8003F003F0003F007C7C07C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E000000000F80001FE0000000000000C0C000000000007E000000F8000F8003F7F80000003E00000007C000007C1F0000000000003F0007E003E0000000003E00001F8003F003F0007E007C3C07C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E000000001F80001FFC000000000000C0C00000000000FC00F000F81C0F8007FFFE0000003E00000007C00000F80F8000000000003F000FE003FFFFF000003E00001F8003F003F000FE007C3E07C007FFFFE001F8001F000000000007C0E07C00F81C0F801F0381F000003E000000001F80001FFF000000000000C0C00000000000FC01F800F83E0F8007FFFF8000003E00000007C00000F80F8000000000003F001FC003FFFFF000003E00001F8003F003F001FC007C3E07C007FFFFE001F8001F000000000007C1F07C00F83E0F801F07C1F000003E000000003F00001FFF800000000000C0C00000000001F801F800F87F0F800FFFFFC000003E00000007C00000F80F8000000000003FFFFFC003FFFFF000003E00001F8003F003FFFFFC007C1E07C007FFFFE001F8001F000000000007C3F87C00F87F0F801F0FE1F000003E000000007E00001FFFC00000000000C0C00000000001F001F800F87F0F800FF01FE000003E00000007C00000F80FC0001FFFF0003FFFFF8003FFFFF000003E00001F8003F003FFFFF8007C1F07C007FFFFE001F8001F0003FFFE0007C3F87C00F87F0F801F0FE1F000003E000000007E0000001FE00000000000C0C00000000003F001F800F87F0F801FC007E000003E00000007C00001F007C0003FFFF8003FFFFF0003FFFFF000003E00001F8003F003FFFFF0007C1F07C007FFFFE001F8001F0007FFFF0007C3F87C00F87F0F801F0FE1F000003E00000000FC00000007E00000000000C0C00000000007E001F800F83E0F801F8003F000003E00000007C00001F007C0003FFFF8003FFFFC0003E0000000003E00001F8003F003FFFFC0007C0F07C007C0000001F8001F0007FFFF0007C1F07C00F83E0F801F07C1F000003E00000001F800000003F00000000000C0C00000000007E001F800F81C0F801F0001F000003E00000007C00001F007C0003FFFF8003FFFF00003E0000000003E00001F8003F003FFFF00007C0F87C007C0000001F8001F0007FFFF0007C0E07C00F81C0F801F0381F000003E00000003F000000001F00000000000C0C0000000000FC001F800F8000F803F0001F800003E00000007C00003F007E0003FFFF8003F01F80003E0000000003E00001F8003F003F01F80007C0787C007C0000001F8001F0007FFFF0007C0007C00F8000F801F0001F000003E00000007E000000001F00000000000C0C0000000000F8001F800F8000F803F0001F800003E00000007C00003E003E000000000003F01F80003E0000000003E00001F8003F003F01F80007C07C7C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E0000000FE000000001F80000000000C0C0000000000F8001F800F8000F803E0000F800003E00000007C00003FFFFE000000000003F00FC0003E0000000003E00001F8003F003F00FC0007C07C7C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E0000001FC000000001F80000000000C0C0000000000F8001F800F8000F803E0000F800003E00000007C00003FFFFE000000000003F00FC0003E0000000003E00001F8003F003F00FC0007C03C7C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E0000003F8000000001F80000000000C0C0000000000FFFFFF800F8000F803E0000F800003E00000007C00007FFFFF000000000003F007C0003E0000000003E00001F8003F003F007C0007C03E7C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E0000007F0000000001F80000000000C0C0000000000FFFFFF800F8000F803E0000F800003E00000007C00007FFFFF000000000003F007E0003E0000000003E00001F8003F003F007E0007C03E7C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E000000FE0000000001F80000000000C0C0000000000FFFFFF800F8000F803E0000F800003E00000007C00007FFFFF000000000003F003E0003E0000000003E00001F8003F003F003E0007C01E7C007C0000001F8001F000000000007C0007C00F8000F801F0001F000003E000001FC00001F0001F80000000000C0C0000000000FFFFFF800F8000F803E0000F800003E00000007C00007C001F000000000003F003F0003E0000000003E00001F8003F003F003F0007C01F7C007C0000001F8003F000000000007C0007C00F8000F801F0001F000003E000003F800001F0001F80000000000C0C0000000000FFFFFF800F8000F803F0001F800003E00000007C0000FC001F800000000003F001F0003E0000000003E00001F8003F003F001F0007C01F7C007C0000001F8003E000000000007C0007C00F8000F801F0001F000003E000007F000001F8001F80000000000C0C000000000000001F800F8000F803F0001F800003E00000007C0000F8000F800000000003F001F8003E0000000003E00000F8003E003F001F8007C00F7C007C0000001F8003E000000000007C0007C00F8000F801F0001F000003E00000FE000001F8001F00000000000C0C000000000000001F800FC001F801F8003F000003E00000007C0000F8000F800000000003F000F8003E0000000003E00000F8003E003F000F8007C00FFC007C0000001F8007E000000000007E000FC00FC001F801F8003F000003E00001FC000000F8003F00000000000C0C000000000000001F8007E003F001F8003F000003E00000007C0000F8000F800000000003F000FC003E0000000003E00000FC007E003F000FC007C00FFC007C0000001F800FC000000000003F001F8007E003F000FC007E000003E00001F8000000FC003F00000000000C0C000000000000001F8007F007F000FE00FE000003E00000007C0001F8000FC00000000003F000FC003E0000000003E000007E00FC003F000FC007C007FC007C0000001F803FC000000000003F803F8007F007F000FE00FE000003E00003F0000000FE007E00000000000C0C000000000000001F8003F80FE000FF83FC003FFFFFF007FFFFFE01F00007C00000000003F0007E003FFFFFC00003E000007F83FC003F0007E007C007FC007FFFFF801FFFFF8000000000001FC07F0003F80FE0007F01FC003FFFFFF007FFFFFE007F81FE00000000000C0C000000000000001F8001FFFFC0007FFFFC003FFFFFF807FFFFFF01F00007C00000000003F0007E003FFFFFC00003E000003FFFF8003F0007E007C003FC007FFFFF801FFFFF0000000000000FFFFE0001FFFFC0003FFFF8003FFFFFF807FFFFFE003FFFFC00000000000C0C000000000000001F8000FFFF80003FFFF8003FFFFFF807FFFFFF01F00007C00000000003F0003F003FFFFFC00003E000001FFFF0003F0003F007C003FC007FFFFF801FFFFE00000000000007FFFC0000FFFF80001FFFF0003FFFFFF807FFFFFE001FFFF800000000000C0C000000000000001F80007FFF00000FFFE0003FFFFFF807FFFFFF03F00007E00000000003F0003F003FFFFFC00003E000000FFFE0003F0003F007C003FC007FFFFF801FFFF800000000000003FFF800007FFF00000FFFE0003FFFFFF807FFFFFE000FFFF000000000000C0C000000000000001F80001FFC000003FF80003FFFFFF807FFFFFF03E00003E00000000003F0001F803FFFFFC00003E0000003FF80003F0001F807C001FC007FFFFF801FFFE000000000000000FFE000001FFC000003FF80003FFFFFF807FFFFFE0003FFC000000000000C0C0000000000000000000001C0000000380000000000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000E00000001C000000038000000000000000000000000180000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000F8000000000000000000000000000003C0000000000000001E00000000000000000000000000000001FE0000000001F0000000000000000003C00000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000F8000000000000000000000000000003E0000000000000001F00000000000000000000000000000003FE0000000001F0000000000000000003E00000000000000000000000000000000000000000030000000000000000000000000000000000000C0007E0000000000000F8000000000000000000000000000007E0000000000000003F00000000000000000000000000000007FE0000000001F0000000000000000007E00000000000000000000000000000000000000000030000000000000000000000000000000000000C000FE0000000000000F8000000000000000000000000000007E0000000000000003F0000000000000000000000000000000FFE0000000001F0000000000000000007E00000000000000000000000000000000000000000030000000000000000000000000000000000000C000FF0000000000000F8000000000000000000000000000003E0000000000000001F0000000000000000000000000000000F000000000001F0000000000000000003E00000000000000000000000000000000000000000030000000000000000000000000000000000000C001FF0000000000000F8000000000000000000000000000001C0000000000078000E0000000000000000000000000000000F000000078001F0000000000000000001C001E0000000000000000000000000000000000000030000000000000000000000000000000000000C001FF0000000000000F80000000000000000000000000000000000000000007800000000000000000000000000000000000F000000078001F00000000000000000000001E0000000000000000000000000000000000000030000000000000000000000000000000000000C001EF8000000000000F80000000000000000000000000000000000000000007800000000000000000000000000000000000F000000078001F00000000000000000000001E0000000000000000000000000000000000000030000000000000000000000000000000000000C003EF8000000000000F80000000000000000000000000000000000000000007800000000000000000000000000000000000F000000078001F00000000000000000000001E0000000000000000000000000000000000000030000000000000000000000000000000000000C003E78000000000000F80000000000000000000000000000000000000000007800000000000000000000000000000000000F000000078001F00000000000000000000001E0000000000000000000000000000000000000030000000000000000000000000000000000000C003C7C000000000000F80000000000000000000000000000000000000000007800000000000000000000000000000000000F000000078001F00000000000000000000001E0000000000000000000000000000000000000030000000000000000000000000000000000000C007C7C000000000000F80000000000000000000000000000000000000000007800000000000000000000000000000000000F000000078001F00000000000000000000001E0000000000000000000000000000000000000030000000000000000000000000000000000000C00783C000000000FC0F80001F8000007E000001F8000000000000000F80000F8000000003F00000007C0000000007E00000F0000000F8001F03E000000FC000000000003E000007E0000000F0003E00000000000000000030000000000000000000000000000000000000C00783E000000003FF0F8000FFF00003FFC0000FFF0007C1F03E007C7FF000FFFF01F0001FFE0003E3FF800000003FFC001FFFE0000FFFF01F1FFC00007FF80000003E03FFFC003FFC0007C7FE01FFC0000000000000000030000000000000000000000000000000000000C00F83E00000000FFFCF8001FFFC000FFFF0003FFFC007C7F03E007CFFFC00FFFF01F0003FFF8003E7FFC00000007FFF001FFFE0000FFFF01F3FFE0000FFFE0000003E03FFFC007FFF0007CFFF83FFE0000000000000000030000000000000000000000000000000000000C00F01E00000001FFFEF8003FFFE001FFFF8007FFFE007CFF03E007DFFFE00FFFF01F0007FFFC003EFFFE0000000FFFF801FFFE0000FFFF01F7FFF0001FFFF0000003E03FFFC00FFFF8007DFFFC7FFF0000000000000000030000000000000000000000000000000000000C00F01F00000003FE3EF800FF07F001F83FC00FF0FF007DFF03E007DF3FF00FFFF01F000FF1FE003EF9FF0000001FE3FC01FFFE0000FFFF01F7CFF8007F83F8000003E03FFFC03FC1FC007DF3FCFCFF8000000000000000030000000000000000000000000000000000000C01F01F00000003F007F800FC01F803E007C00FC01F007FFF03E007F803F00078001F001F803F003F803F0000003F007E000F000000078001FC01F8007E00FC000003E001E0003F007E007F007EE01F8000000000000000030000000000000000000000000000000000000C01E00F00000007E003F801F000F803C003801F000F807F8003E007E001F80078001F003E001F803F001F8000007C003F000F000000078001F800FC00F8007C000003E001E0007C003E007E003F800F8000000000000000030000000000000000000000000000000000000C01E00F8000000FC001F801E0007C07C001003E0007807E0003E007E000F80078001F003C000F803E000F80000078001F000F000000078001F0007C00F0003E000003E001E00078001F007C003F8007C000000000000000030000000000000000000000000000000000000C03E00F8000000F8000F803E0007C07C000003E0006007C0003E007C0007C0078001F007C0007803E000F800000F8000F000F000000078001F0007C01F0003E000003E001E000F8001F007C001F0007C000000000000000030000000000000000000000000000000000000C03C007C000000F8000F803C0003C07C000003C0000007C0003E007C0007C0078001F00780007C03E000F800000F0000F800F000000078001F0007C01E0001E000003E001E000F0000F007C001F0007C000000000000000030000000000000000000000000000000000000C03C007C000000F0000F807C0003E07C000007C0000007C0003E007C0003C0078001F00F80003C03E0007800001F00007800F000000078001F0003C03E0001F000003E001E001F0000F807C001F0007C000000000000000030000000000000000000000000000000000000C07C003C000001F0000F807C0003E03E000007C0000007C0003E007C0003C0078001F00F80003C03E0007800001F00007800F000000078001F0003C03E0001F000003E001E001F0000F807C001F0003C000000000000000030000000000000000000000000000000000000C078003E000001F0000F807C0003E03F000007C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03E0001F000003E001E001F0000F807C001F0003C000000000000000030000000000000000000000000000000000000C0F8003E000001F0000F807C0003E01FF00007C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03E0001F000003E001E001F0000F807C001F0003C000000000000000030000000000000000000000000000000000000C0F8003E000001F0000F807FFFFFE01FFF8007C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03FFFFFF000003E001E001FFFFFF807C001F0003C000000000000000030000000000000000000000000000000000000C0FFFFFF000001F0000F807FFFFFE007FFE007C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03FFFFFF000003E001E001FFFFFF807C001F0003C000000000000000030000000000000000000000000000000000000C1FFFFFF000001F0000F807FFFFFE003FFF807C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03FFFFFF000003E001E001FFFFFF807C001F0003C000000000000000030000000000000000000000000000000000000C1FFFFFF000001F0000F807C000000003FFC07C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03E00000000003E001E001F00000007C001F0003C000000000000000030000000000000000000000000000000000000C1FFFFFF800001F0000F807C0000000001FC07C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03E00000000003E001E001F00000007C001F0003C000000000000000030000000000000000000000000000000000000C3E0000F800001F0000F807C00000000007E07C0000007C0003E007C0003E0078001F00F80003E03E0007800001F00007C00F000000078001F0003C03E00000000003E001E001F00000007C001F0003C000000000000000030000000000000000000000000000000000000C3E0000F800001F0000F807C00000000003E07C0000007C0003E007C0003C0078001F00F80003C03E0007800001F00007800F000000078001F0003C03E00000000003E001E001F00000007C001F0003C000000000000000030000000000000000000000000000000000000C3E00007C00000F0000F807C00000000003E07C0000007C0003E007C0007C0078001F00F80007C03E0007800001F0000F800F000000078001F0003C03E00000000003E001E001F00000007C001F0003C000000000000000030000000000000000000000000000000000000C7C00007C00000F8000F803C00000000001E03C0000007C0003E007C0007C0078001F00780007C03E0007800000F0000F800F000000078001F0003C01E00000000003E001E000F00000007C001F0003C000000000000000030000000000000000000000000000000000000C7C00007C00000F8000F803E00030010001E03E0003007C0003E007C0007C0078001F007C0007803E0007800000F8000F000F000000078001F0003C01F00018000003E001E000F8000C007C001F0003C000000000000000030000000000000000000000000000000000000C7C00003E000007C001F801F0003C038003E03F0007807C0003E007E000F80078001F003E000F803E00078000007C001F000F000000078001F0003C00F8001E000003E001E0007C000F007C001F0003C0078007000F0000030000000000000000000000000000000000000CF800003E000007E003F801F8007C07C003E01F000F807C0003E007E001F80078001F003E001F003E00078000007C003E000F000000078001F0003C00FC003E000003E001E0007E001F007C001F0003C00FC01F801F8000030000000000000000000000000000000000000CF800003E000003F007F800FC01F807E007C00FC01F807C0003E007F803F00078001F001F803F003E00078000003F007E000F000000078001F0003C007E00FC000003E001E0003F007E007C001F0003C00FC01FC01F8000030000000000000000000000000000000000000CF000001F000003FFFEF8007F8FF003FC1FC00FF9FF007C0003E007DFFFF0007FE01F000FFBFE003E00078000001FF7FC000F00000007FE01F0003C003FC7F8000003E001FF801FE3FC007C001F0003C01FC01FC03F8000030000000000000000000000000000000000000DF000001F000001FFFCF8003FFFE001FFFF8007FFFE007C0003E007DFFFE0007FE01F0007FFFC003E00078000000FFFF8000F00000007FE01F0003C001FFFF0000003E001FF800FFFF8007C001F0003C01FC01FC03F8000030000000000000000000000000000000000000DF000001F800000FFF8F8001FFFC000FFFF0001FFFC007C0003E007CFFF80003FE01F0003FFF8003E000780000007FFF0000F00000003FE01F0003C000FFFE0000003E000FF8007FFF0007C001F0003C00FC01FC01F8000030000000000000000000000000000000000000DE000000F8000003FF0F80007FF00003FFC0000FFF0007C0003E007C3FF00001FE01F0000FFE0003E000780000001FFC0000F00000001FE01F0003C0003FF80000003E0007F8001FFC0007C001F0003C00FC00F801F8000030000000000000000000000000000000000000C000000000000000780000000F8000007E000000F80000000000007C078000000000000001F0000000000000000003E00000000000000000000000000007C0000000000000000003E0000000000000000070007000E0000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000007800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-turned-203.png b/renderer/src/test/resources/scene2/golden/text-turned-203.png new file mode 100644 index 0000000..780392c Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-turned-203.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-turned-203.zpl b/renderer/src/test/resources/scene2/golden/text-turned-203.zpl new file mode 100644 index 0000000..9cc5153 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-turned-203.zpl @@ -0,0 +1,3 @@ +^XA^PW406^LL203^LH0,0^CI28 +^FO26,26^GFA,6795,6795,45,0000300000000000000003C03FE00003C07C01E03E03E0001FF07FE1E01E01E0000000000000000000000000000000780000000000000003C0FFF00003C03C01E03E07E0003FF87FE1E01E01E0000000000000000000000001C00000780000000000000003C0FFF80003C03C03E07E07E0007FFE7FE1E01E01E0000000000000000000000001C00000780000000000000003C1FDF80003C03E03C07F07F000FEFC1F01E01E01E0000000000000000000000001C00000780000000000000003C1F07C0003C01E03C07F07F000F8180F01E01E01E0000000000000000000000001C00000780000000000000003C1E07C0003C01FFFC07F07F000F0000F01E01E01E0000000000000000000000001C0FFFFF80000000000000003C1E03C0003C01FFF80F70FF000F0000F01E01E01E000000000000000000007FFFFC0FFFFF800000000000003FFC1E03C0003C00FFF80F78E7000F8000F01E01E01E000000000000000000007FFFFC0FFFFF800000000000007FFC1E03C0007C00F0F80F78E7800FFC00F01FFFE01E000000000000000000007FFFFC00000780000000000000FFFC3E03C0007E00F8F00E38E78007FF00F01FFFE01E0000000000000000000078001C00000780000000000001FFFC3E03C000FF0078F00E39E78003FF80F01FFFE01E000000000000000000003C001C00000780000000000001E03C3E03C000FF0078F01E3DC78000FFC0F01FFFE01E000000000000000000001C001C00000780000000000001E03C3E03C001EF8079E01E3DC3C00007C0F01E01E01E000000000000000000001E001C00000780000000000001E03C3E03C003E7803DE01E3DC3C00003C0F01E01E01E000000000000000000000F001C00000300000000000001E03C3E03C003C7C03DE01C1FC3C00003C0F01E01E01E0000000000000000000007001C00000000000000000001F03C3E03C007C3C03FC03C1FC3C00307C0F01E01E01E0000000000000000000000000000000000000000000001FFFC3E03C00783E01FC03C1F83C007FFC7FC1E01E7FFF000000000000000000000000000000000000000000000FFFC3E03C00F81F01FC03C1F81E00FFF87FE1E01E7FFF00000000000000000000000000FFFFF000000000000007FFC3E03C00F01F01F803C0F81E003FF07FE1E01E7FFF00000000000000000000000000FFFFF800000000000001FFC1C03C01F00F00F80380F01E000FC07FC1E01E3FFF000000000000000000007FFE00FFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000001FFFF00FFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000003FFFF80E07078000000000000000000000000000000000000000000000000000000000000000000000000000003C007C0E070780000000000000000000000000000000000000000000000000000000000000000000000000000078001C0E070780000000000000000000000000000000000000000000000000000000000000000000000000000070381C0E070780000000000000000000000000000000000000000000000000000000000000000000000000000070381C0E070780000000000000000000000000000000000000000000000000000000000000000000000000000070381C0E070780000000000000000000000000000000000000000000000000000000000000000000000000000078001C0E07078000000000000000000000000000000000000000000000000000000000000000000000000000003C007C0E07078000000000000000000000000000000000000000000000000000000000000000000000000000003FFFF80E00030000000000000000000000000000000000000000000000000000000000000000000000000000001FFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001C07800000000000000000000000000000000000000000000000000000000000000000000000000000007FFE007C1FE0000000000000000000000000000000000000000000000000000000000000000000000000000001FFFF007C3FF0000000000000000000000000000000000000000000000000000000000000000000000000000003FFFF80F03FF0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000003C007C0E07878000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000078001C0E07838000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000070381C0E07038000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000070381C0E07038000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000070381C0E0F078000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000078001C0F1F1F0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000003C007C07FE1F0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000003FFFF807FC1E0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000001FFFF001F8180000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000007FFE00000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000030000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000078000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000007FFE00000078000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000001FFFF00000078000003FFFFFFFFFFFFFFFFFFFFE03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000003FFFF80000078000003FFFFFFFFFFFF800003FF0007FF00FF81F800007FFC00003FFFFFFFFFFFF8000000000003C007C0000078000003FFFFFFFFFFFF800003FE0003FF00FF81F800007FFC00003FFFFFFFFFFFF80000000000078001C0FFFFF8000003FFFFFFFFFFFF800003FC0001FF007F81F800007FFC00003FFFFFFFFFFFF80000000000070381C0FFFFF8000003FFFFFFFFFFFF800003F80000FF007F81F800007FFC00003FFFFFFFFFFFF80000000000070381C0FFFFF8000003FFFFFFFFFFFF800003F000007F007F81F800007FFC00003FFFFFFFFFFFF80000000000070381C0000078000003FFFFFFFFFFFFFFFC07F01FC07F003F81F80FFFFFFC0FF03FFFFFFFFFFFF80000000000078001C0000078000003FFFFFFFFFFFFFFF807E03FE03F003F81F80FFFFFFC0FE03FFFFFFFFFFFF8000000000003C007C0000078000003FFFFFFFFFFFFFFF80FE03FE03F001F81F80FFFFFFC0FE03FFFFFFFFFFFF8000000000003FFFF80000078000003FFFFFFFFFFFFFFF01FE07FF03F001F81F80FFFFFFC0FE07FFFFFFFFFFFF8000000000001FFFF00000078000003FFFFFFFFFFFFFFE01FC07FF03F020F81F80FFFFFFC0FC07FFFFFFFFFFFF80000000000007FFE00000030000003FFFFFFFFFFFFFFE03FC07FF01F020F81F80FFFFFFFFFC0FFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFFFFC07FC07FF01F020781F80FFFFFFFFFC0FFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFFFF807FC07FF01F030781F80003FFFFFF80FFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFFFF80FFC07FF01F030381F80001FFFFFF81FFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFFFF01FFC07FF01F038381F80001FFFFFF81FFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFFFE01FFC07FF01F038181F80001FFFFFF01FFFFFFFFFFFFF800000000000000000000E000000003FFFFFFFFFFFFFE03FFC07FF01F03C181F80001FFFFFF03FFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFFFC07FFC07FF01F03C181F80003FFFFFE03FFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFFF807FFC07FF01F03E0C1F80FFFFFFFFE03FFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFFF80FFFC07FF01F03E0C1F80FFFFFFFFE07FFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFFF01FFFC07FF01F03E041F80FFFFFFFFC07FFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFFE01FFFE07FF03F03F001F80FFFFFFFFC07FFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFFC03FFFE07FF03F03F001F80FFFFFFFFC0FFFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFFC07FFFE03FE03F03F801F80FFFFFFFF80FFFFFFFFFFFFFF800000000000001C00000E000000003FFFFFFFFFFFF807FFFF01FC07F03F801F80FFFFFFFF80FFFFFFFFFFFFFF800000000000001C000000000000003FFFFFFFFFFFF800003F00F807F03FC01F80000FFFFF81FFFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFF800003F00000FF03FC01F800007FFFF01FFFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFF800003F80000FF03FE01F800007FFFF01FFFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFF800003FC0001FF03FE01F800007FFFF03FFFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFF800003FE0003FF03FF01F800007FFFE03FFFFFFFFFFFFFF8000000000000000000000000000003FFFFFFFFFFFF800003FF800FFF03FF01F800007FFFE03FFFFFFFFFFFFFF80000000000030000001FFF80000003FFFFFFFFFFFFFFFFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000078000003FFFE0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000078000007FFFF0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007800000F800F0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007800000E00078000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007800000E07038000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007FFFFC0E07038000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007FFFFC0E07038000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007FFFFC0E00078000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007800000F800F0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000078000007FFFF0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000078000003FFFE0000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000078000001FFF80000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000007800000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000003000000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF80000000000000000000000000000000000000000000000000000000000000000000000000000000607E003FFFE0000000000000000000000000000000000000000000000000000000000000000000000000000001E0FF807FFFF0000000000000000000000000000000000000000000000000000000000000000000000000000003E1FF80F800F0000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3C0E0007800000000000000000000000000000000000000000000000000000000000000000000000000000783C1C0E070380000000000000000000000000000000000000000000000000000000000000000000000000000070381C0E070380000000000000000000000000000000000000000000000000000000000000000000000000000070381C0E070380000000000000000000000000000000000000000000000000000000000000000000000000000070781C0E000780000000000000000000000000000000000000000000000000000000000000000000000000000078781C0F800F0000000000000000000000000000000000000000000000000000000000000000000000000000003FF03C07FFFF0000000000000000000000000000000000000000000000000000000000000000000000000000003FF0F803FFFE0000000000000000000000000000000000000000000000000000000000000000000000000000001FE0F801FFF80000000000000000000000000000000000000000000000000000000000000000000000000000000780E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFE00000000000000000000000000000000000000000000000000000000000000000000000000000030001C07FFFF00000000000000000000000000000000000000000000000000000000000000000000000000000078381C0F800F00000000000000000000000000000000000000000000000000000000000000000000000000000078381C0E000780000000000000000000000000000000000000000000000000000000000000000000000000000078381C0E070380000000000000000000000000000000000000000000000000000000000000000000000000000078381C0E070380000000000000000000000000000000000000000000000000000000000000000000000000000078381C0E070380000000000000000000000000000000000000000000000000000000000000000000000000000078381C0E000780000000000000000000000000000000000000000000000000000000000000000000000000000078381C0F800F00000000000000000000000000000000000000000000000000000000000000000000000000000078381C07FFFF000000000000000000C00000C000000000000000000000000000000000000000000000000000007FFFFC03FFFE0000000FF000000001C00003C000000003E07C0F87FC007C03C003E07C000000000000000000007FFFFC01FFF80000000FF800000701C00003C000000007F0FE1FC7FC00FE078003E07C000000000000000000007FFFFC0000000000000FFC00000701C00003800000000FF9EF3FE7FC01EF0E0007E0FC000000000000000000003FFFFC0000000000000E1C3C078F81DC0F07C78721E00E39C738E61C01C71C000EE1DC000000000000000000000000000000000000000E1C7F1FDF81FE1FCFCFC7E3F80039C700E63801C71C000CE19C000000000000000000000000000000000000000FF8E71DCF81EF39C7DEE7E7380079C701E03801C73FC000E01C000000000000000000000000000E00380000000FF8E31C0701C738C39C7707180073C701C038FBC73FE7C0E01C000000000000000000003000000E003C0000000FFCFF9F8701C73FE39C7707FC01E1C7078070F9C738E7C0E01C000000000000000000007800000E001E0000000E1CFF8FC701C73FE39C7707FC03C1C70F0070F9C738E7C0E01C000000000000000000007800000E000E0000000E1EE001E701C738039C7707000781C71E00E001C738E000E01C000000000000000000007800000E000F0000000F1CE218E701E738839CE707100F01EF3C00E001EF38E000E01C000000000000000000007800000E00078000000FFC7F1FC781FF1FC38FE703F80FF8FE3FE0E000FE1FE007FCFF800000000000000000007800000FFFFF8000000FF83E0F8381DE0F8387C701F00FF87C3FE1C0007C0F8007FCFF800000000000000000007FFFFC0FFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFC0FFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFC0E00000000000000000000000000000000000000000000000000000000000000000000000000000000007800000E00000000000000000000000000000000000000000000000000000000000000000000000000000000007800000E00000000000000000000000000000000000000000000000000000000000000000000000000000000007800000E00000000000000000000000000000000000000000000000000000000000000000000000000000000007800000E00000000000000000000000000000000000000000000000000000000000000000000000000000000007800000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-turned-300.png b/renderer/src/test/resources/scene2/golden/text-turned-300.png new file mode 100644 index 0000000..998d3a0 Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-turned-300.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-turned-300.zpl b/renderer/src/test/resources/scene2/golden/text-turned-300.zpl new file mode 100644 index 0000000..50722a9 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-turned-300.zpl @@ -0,0 +1,3 @@ +^XA^PW600^LL300^LH0,0^CI28 +^FO40,39^GFA,14430,14430,65,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F0000003C000000000000000000000003F8007FF00000007F003F8001F803FC00FE000000FFE00FFFC0FC007F000FC000000000000000000000000000000000001F0000003C000000000000000000000003F801FFFC0000007F001F8003F803FC00FF000003FFF80FFFC0FC007F000FC000000000000000000000000000000000001F0000003C000000000000000000000003F803FFFE0000007F001FC003F003FC01FF000007FFFE0FFFC0FC007F000FC000000000000000000000000000000000001F0000003C000000000000000000000003F807FFFF0000007F001FC003F003FC01FF00000FFFFF0FFFC0FC007F000FC000000000000000000000000000000000001F0000003C000000000000000000000003F80FFFFF8000007F000FC007F007FE01FF00001FFFFF0FFFC0FC007F000FC000000000000000000000000000000000001F0000003C000000000000000000000003F80FF07F8000007F000FE007E007FE01FF00001FC0FE00FC00FC007F000FC000000000000000000000000000003FFFFFFF0000003C000000000000000000000003F80FE03F8000007F000FE007E007FE03FF80003F803C00FC00FC007F000FC000000000000000000000000000003FFFFFFF0000003C000000000000000000000003F80FC01FC000007F0007FFFFE007FE03FF80003F801800FC00FC007F000FC000000000000000000000000000003FFFFFFFFFFFFFFC000000000000000000000003F81FC01FC000007F0007FFFFC00FFF03EF80003F000000FC00FC007F000FC000000000000000000000000000003FFFFFFFFFFFFFFC000000000000000000000003F81F800FC000007F0007FFFFC00FDF03EF80003F800000FC00FC007F000FC000000000000000000000000000003FFFFFFFFFFFFFFC0000000000000000000000FFF81F800FC000007F0003FFFFC00F9F03CFC0003F800000FC00FC007F000FC000000000000000000000000000003FFFFFFFFFFFFFFC000000000000000000001FFFF81F800FC000007F0003FFFF800F9F07CFC0003FE00000FC00FC007F000FC000000000000000000000000000003E00001FFFFFFFFC000000000000000000007FFFF81F800FC000007F0003F81F800F9F87CFC0001FFF8000FC00FFFFFF000FC000000000000000000000000000003F00001F0000003C00000000000000000000FFFFF81F800FC00000FF8001F81F801F8F87CFC0001FFFE000FC00FFFFFF000FC000000000000000000000000000001F80001F0000003C00000000000000000000FFFFF81F800FC00000FF8001F81F001F8F8787C0000FFFF800FC00FFFFFF000FC000000000000000000000000000000F80001F0000003C00000000000000000001FFFFF81F800FC00001FFC001F83F001F0F8F87E00007FFFC00FC00FFFFFF000FC000000000000000000000000000000FC0001F0000003C00000000000000000001FC03F81F800FC00003FFE000FC3F001F0F8F87E00001FFFE00FC00FFFFFF000FC0000000000000000000000000000007E0001F0000003C00000000000000000003F803F81F800FC00003FFE000FC3E003F0FCF87E000001FFE00FC00FFFFFF000FC0000000000000000000000000000003F0001F0000003C00000000000000000003F803F81F800FC00007F7F000FC7E003F07CF87E0000001FE00FC00FC007F000FC0000000000000000000000000000001F0000F0000003C00000000000000000003F803F81F800FC00007E7F0007E7E003F07DF03F00000007E00FC00FC007F000FC00000000000000000000000000000000000000000003C00000000000000000003F803F81F800FC0000FE3F8007E7C003E07DF03F00000007F00FC00FC007F000FC00000000000000000000000000000000000000000000000000000000000000003F803F81F800FC0000FC3F8007EFC007E07FF03F00000007E00FC00FC007F000FC00000000000000000000000000000000000000000000000000000000000000001F803F81F800FC0001FC1FC003FFC007E03FF03F00003007E00FC00FC007F000FC00000000000000000000000000000000000000000000000000000000000000001FE03F81F800FC0003F80FC003FF8007E03FE03F80007C0FE00FC00FC007F0FFFFF8000000000000000000000000000000000000000000000000000000000000001FFFFF81F800FC0003F80FE003FF8007E03FE01F8000FFFFE0FFFC0FC007F0FFFFFC000000000000000000000000000000000000000000000000000000000000000FFFFF81F800FC0007F007F001FF8007C03FE01F8001FFFFC0FFFC0FC007F0FFFFFC00000000000000000000000000001FFFFE000000000000000000000000000007FFFF81F800FC0007F007F001FF000FC01FE01F8000FFFF80FFFC0FC007F0FFFFFC00000000000000000000000000007FFFFF8FFFFFFFC000000000000000000003FFFF81F800FC000FE003F801FF000FC01FC01F80007FFF00FFFC0FC007F0FFFFFC0000000000000000000000000000FFFFFFCFFFFFFFC000000000000000000000FFFF81F800FC000FE003F800FF000FC01FC01FC0001FFC00FFFC0FC007F0FFFFFC0000000000000000000000000001FFFFFFEFFFFFFFC00000000000000000000000000000000000000000000000000000000000000001C0000000000000000000000000000000000000000000000003FFFFFFEFFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F00003FFFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E00001FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C01E00FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C03E00FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C03E00FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C03E00FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C01E00FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E00001FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F00003FF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFEF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFEF807C03C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFCF807C03C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFF8F800003C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFE0F800003C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFE00F801F8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFF81F807FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFC3F80FFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFE7F81FFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFE7F01FFFC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003F00003FFC03F8FC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003E00001FF803F07C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000007C01E00FF003E03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000007C03E00FF007E03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000007C03E00FF007C03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000007C03E00FF007C03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000007C01E00FF007C03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003E00001FF80FC07C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003F00003FFC1F80FC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003FFFFFFE7FFF83FC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000001FFFFFFE7FFF03F8000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000FFFFFFC3FFF03F0000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000007FFFFF81FFE03E0000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000001FFFFE00FF80180000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000001C00000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000003C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000001FFFFE00000003C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000007FFFFF80000003C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000FFFFFFC0000003C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000001FFFFFFE0000003C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003FFFFFFE0000003C000000001FFFFFFFFFFFFFFFFFFE0000000FFFFC003FFFFE007FFF807FE0000001FFFFF80000003FFFFFFFFFFFFFFFFFF800000000000000003F00003F0000003C000000001FFFFFFFFFFFFFFFFFFC00000007FFF00007FFFE007FFF007FE0000001FFFFF00000003FFFFFFFFFFFFFFFFFF800000000000000003E00001F0000003C000000001FFFFFFFFFFFFFFFFFFC00000007FFC00001FFFE003FFF007FE0000001FFFFF00000003FFFFFFFFFFFFFFFFFF800000000000000007C01E00FFFFFFFFC000000001FFFFFFFFFFFFFFFFFFC00000007FF800000FFFE003FFF007FE0000001FFFFF00000003FFFFFFFFFFFFFFFFFF800000000000000007C03E00FFFFFFFFC000000001FFFFFFFFFFFFFFFFFFC00000007FF0000007FFE001FFF007FE0000001FFFFF00000003FFFFFFFFFFFFFFFFFF800000000000000007C03E00FFFFFFFFC000000001FFFFFFFFFFFFFFFFFFC00000007FE0000003FFE001FFF007FE0000001FFFFF00000003FFFFFFFFFFFFFFFFFF800000000000000007C03E00FFFFFFFFC000000001FFFFFFFFFFFFFFFFFFC00000007FC0000001FFE000FFF007FE0000001FFFFF00000003FFFFFFFFFFFFFFFFFF800000000000000007C01E00FFFFFFFFC000000001FFFFFFFFFFFFFFFFFFC00000007F80000001FFE000FFF007FE0000001FFFFF00000003FFFFFFFFFFFFFFFFFF800000000000000003E00001F0000003C000000001FFFFFFFFFFFFFFFFFFE00000007F8003E000FFE0007FF007FE0000001FFFFF00FFF803FFFFFFFFFFFFFFFFFF800000000000000003F00003F0000003C000000001FFFFFFFFFFFFFFFFFFFFFFF800FF001FF800FFE0007FF007FE00FFFFFFFFFF00FFF003FFFFFFFFFFFFFFFFFF800000000000000003FFFFFFE0000003C000000001FFFFFFFFFFFFFFFFFFFFFFF001FF003FFE007FE0003FF007FE00FFFFFFFFFF00FFF007FFFFFFFFFFFFFFFFFF800000000000000001FFFFFFE0000003C000000001FFFFFFFFFFFFFFFFFFFFFFF001FF003FFE007FE0003FF007FE00FFFFFFFFFF00FFF007FFFFFFFFFFFFFFFFFF800000000000000000FFFFFFC0000003C000000001FFFFFFFFFFFFFFFFFFFFFFE003FE007FFF007FE0001FF007FE00FFFFFFFFFF00FFE007FFFFFFFFFFFFFFFFFF8000000000000000007FFFFF80000003C000000001FFFFFFFFFFFFFFFFFFFFFFC007FE007FFF003FE0001FF007FE00FFFFFFFFFF00FFE00FFFFFFFFFFFFFFFFFFF8000000000000000001FFFFE00000003C000000001FFFFFFFFFFFFFFFFFFFFFFC007FE00FFFF003FE0000FF007FE00FFFFFFFFFF00FFE00FFFFFFFFFFFFFFFFFFF80000000000000000000000000000003C000000001FFFFFFFFFFFFFFFFFFFFFF800FFE00FFFF803FE0100FF007FE00FFFFFFFFFF00FFC00FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFF001FFC00FFFF803FE0180FF007FE00FFFFFFFFFFFFFFC01FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFF001FFC00FFFF803FE01807F007FE00FFFFFFFFFFFFFF801FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFE003FFC00FFFF801FE01C07F007FE00FFFFFFFFFFFFFF801FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFC007FFC00FFFF801FE01C03F007FE000000FFFFFFFFFF803FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFC007FFC00FFFF801FE01C03F007FE000000FFFFFFFFFF003FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFF800FFFC00FFFF801FE01E01F007FE000000FFFFFFFFFF003FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFF001FFFC00FFFF801FE01E01F007FE000000FFFFFFFFFF007FFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFF001FFFC00FFFF801FE01F00F007FE000000FFFFFFFFFE007FFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFFE003FFFC00FFFF801FE01F00F007FE000000FFFFFFFFFE007FFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFFC007FFFC00FFFF801FE01F807007FE000000FFFFFFFFFE00FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFFC007FFFC00FFFF801FE01F807007FE000000FFFFFFFFFC00FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFF800FFFFC00FFFF801FE01F807007FE000000FFFFFFFFFC00FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFF001FFFFC00FFFF801FE01FC03007FE00FFFFFFFFFFFFF801FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFE001FFFFC00FFFF801FE01FC03007FE00FFFFFFFFFFFFF801FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFE003FFFFC00FFFF803FE01FE01007FE00FFFFFFFFFFFFF801FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFFC007FFFFE00FFFF803FE01FE01807FE00FFFFFFFFFFFFF003FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFF800FFFFFE00FFFF803FE01FF00807FE00FFFFFFFFFFFFF003FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFF800FFFFFE00FFFF003FE01FF00007FE00FFFFFFFFFFFFF007FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFF001FFFFFE007FFF003FE01FF80007FE00FFFFFFFFFFFFE007FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFE003FFFFFE007FFF007FE01FF80007FE00FFFFFFFFFFFFE007FFFFFFFFFFFFFFFFFFFF800000000000000000000F800001F0000000000001FFFFFFFFFFFFFFFFFFE003FFFFFF003FFE007FE01FFC0007FE00FFFFFFFFFFFFE00FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFC007FFFFFF001FFC007FE01FFC0007FE00FFFFFFFFFFFFC00FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFF8007FFFFFF800FF800FFE01FFE0007FE00FFFFFFFFFFFFC00FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFF800000007F80000000FFE01FFE0007FE0000001FFFFFFF801FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFF800000007FC0000001FFE01FFF0007FE0000001FFFFFFF801FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFF800000007FC0000003FFE01FFF0007FE0000001FFFFFFF801FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFF800000007FE0000003FFE01FFF8007FE0000001FFFFFFF003FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFF800000007FF0000007FFE01FFF8007FE0000001FFFFFFF003FFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFF800000007FF800000FFFE01FFF8007FE0000001FFFFFFF003FFFFFFFFFFFFFFFFFFFFF800000000000000003C00000000000000000000001FFFFFFFFFFFFFFFFFF800000007FFE00003FFFE01FFFC007FE0000001FFFFFFE007FFFFFFFFFFFFFFFFFFFFF800000000000000003C00000007FFFF80000000001FFFFFFFFFFFFFFFFFF800000007FFF8000FFFFE01FFFC007FE0000001FFFFFFE007FFFFFFFFFFFFFFFFFFFFF800000000000000003C0000001FFFFFE0000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C0000003FFFFFF0000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C0000007FFFFFF8000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C0000007FFFFFFC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C000000FC0000FC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C000000F800007C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003FFFFFFFF007803E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003FFFFFFFF007C03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003FFFFFFFF007C03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003FFFFFFFF007C03E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003FFFFFFFF007803E000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C000000F800007C000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C000000FC0000FC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C0000007FFFFFFC000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C0000007FFFFFF8000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C0000003FFFFFF0000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C0000001FFFFFE0000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C00000007FFFF80000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000003C00000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001801FF007FFFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C07FF81FFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FC0FFFC3FFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FC0FFFE7FFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FC1FFFE7FFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F01F83FFC0000FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E03F01FF800007C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C03E00FF007803E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C03E00FF007C03E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C03E00FF007C03E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C07E00FF007C03E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C07C00FF007803E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0FC01FF800007C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F1FC03FFC0000FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFF80FE7FFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFF81FE7FFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF01FC3FFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FE01F81FFFFFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F801F007FFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C00001F07FFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C00001F1FFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01F3FFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01F7FFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01F7FFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FFC0000FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FF800007C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FF007803E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FF007C03E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FF007C03E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FF007C03E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FF007803E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C03E01FF800007C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFC0000FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFF7FFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFF7FFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFF3FFFFFF0000000000000000000000000180000001E000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFF1FFFFFE00000000003FF000000000000180000003E0000000000001F800FC00FC07FF80001F8003800001E000F000000000000000000000000000000000000000007FFFF800000000003FF800000000C0018000000300000000000003FC01FE01FE07FF80003FC007000003E001F000000000000000000000000000000000000000000000000000000000301C00000000C00180000003000000000000070E038703870601800070E00E0000076003B000000000000000000000000000000000000000000000000000000000300C00000000C001800000030000000000000E06030387030603800060701C00000E60073000000000000000000000000000000000000000000000000000000000300C00000000C0018000000300000000000004070701820386030000E0303800001C600E3000000000000000000000000000000000000000000000000000000000300C07F01FC3F8019F00FE0FE07E06307F0000070601800386070000C0303000001060083000000000000000000000000000000000000000000000000000000000300C0FF83FE3F801FFC1FF0FE1FF06F0FF8000070601800380060000C0306000000060003000000000000000000000000000000003C00000000000000000000000301C1C1C3060C001E0C3838303838781C1C000060601C00300060000C0386780000060003000000000000000000000000000000003C000000F0000F800000000003FF0180C3000C001C0E301830301870180C0000E0601C007000E0000C038EFC0000060003000000000000000000000000000000003C000000F8000FC00000000003FF8180C3000C001806301830301C70180C0000C0601C006000C0000C038F0E0000060003000000000000000000000000000000003C000000F80007E0000000000301C380E3800C001806701C30700C60380E000180601C00C001C07F0C038E0707F0060003000000000000000000000000000000003C000000F80003F0000000000300E3FFE1F80C0018067FFC30700C603FFE000380601C01C001807F0C038C0307F0060003000000000000000000000000000000003C000000F80001F0000000000300E3FFC07E0C0018067FF830700C603FFC000600601803000180000C030C030000060003000000000000000000000000000000003C000000F80001F8000000000300638000060C001806700030700C603800001C0060180E000300000C030C030000060003000000000000000000000000000000003C000000F80000FC000000000300E18000070C001806300030301C60180000380060181C000300000C030C030000060003000000000000000000000000000000003FFFFFFFF800007C000000000300E18080030C001C0E30103030186018080070003038380007000006070E030000060003000000000000000000000000000000003FFFFFFFFFFFFFFC000000000301C1C1C7060C001C0C3838303838601C1C00E00038707000060000070E06070000060003000000000000000000000000000000003FFFFFFFFFFFFFFC0000000003FF80FF83FE0F801FFC1FF0301FF0600FF800FFF01FE07FF80E000003FC03FE0001FFF0FFF80000000000000000000000000000003FFFFFFFFFFFFFFC0000000003FF007F01FC078019F80FE0300FE06007F000FFF00FC07FF80C000001F801F80001FFF0FFF80000000000000000000000000000003FFFFFFFFFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000FFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000FFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003C000000F800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000^FS +^XZ diff --git a/renderer/src/test/resources/scene2/golden/text-turned-600.png b/renderer/src/test/resources/scene2/golden/text-turned-600.png new file mode 100644 index 0000000..73c8969 Binary files /dev/null and b/renderer/src/test/resources/scene2/golden/text-turned-600.png differ diff --git a/renderer/src/test/resources/scene2/golden/text-turned-600.zpl b/renderer/src/test/resources/scene2/golden/text-turned-600.zpl new file mode 100644 index 0000000..ab9d160 --- /dev/null +++ b/renderer/src/test/resources/scene2/golden/text-turned-600.zpl @@ -0,0 +1,5 @@ +^XA^PW1200^LL600^LH0,0^CI28 +^FO81,79^GFA,11830,11830,130,0000000000001FF80000000000000000000000000000000000000000000000000000000007FFC000000000000000000000000000000000000000000000000000000000000000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF800000000000000000000000000000000000000000000000FFF800000FFFFFC000000000000007FF800000FFF8000000FFF80001FFF800003FFF80000000000007FFFF80000FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF800003FFFFFF000000000000007FF800000FFF8000000FFF80003FFFC00003FFF8000000000003FFFFFE0000FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF80000FFFFFFFC00000000000007FF800000FFFC000000FFF80003FFFC00007FFF800000000000FFFFFFF8000FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF80001FFFFFFFE00000000000007FF8000007FFC000001FFF00003FFFC00007FFF800000000001FFFFFFFE000FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF80003FFFFFFFF00000000000007FF8000007FFC000001FFF00003FFFC00007FFF800000000003FFFFFFFF000FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF80007FFFFFFFF80000000000007FF8000007FFC000001FFF00003FFFE00007FFFC00000000007FFFFFFFFC00FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF8000FFFFFFFFFC0000000000007FF8000003FFE000001FFE00007FFFE0000FFFFC0000000000FFFFFFFFFE00FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF8000FFFFFFFFFE0000000000007FF8000003FFE000003FFE00007FFFE0000FFFFC0000000001FFFFFFFFFF00FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF8001FFFFFFFFFE0000000000007FF8000003FFE000003FFE00007FFFE0000FFFFC0000000003FFFFFFFFFF80FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF8001FFFFFFFFFF0000000000007FF8000001FFF000003FFC00007FFFE0000FFFFE0000000003FFFFFFFFFF00FFFFFFF003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF8003FFFF03FFFF0000000000007FF8000001FFF000007FFC0000FFFFF0001FFFFE0000000003FFFE03FFFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF8003FFF8007FFF0000000000007FF8000001FFF000007FFC0000FFFFF0001FFFFE0000000007FFF0007FFC0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000003FE0000000000001FF800000000000000000000000000000000000000000000000FFF8003FFF0003FFF8000000000007FF8000000FFF800007FF80000FFFFF0001FFFFE0000000007FFE0001FF80000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000007FE0000000000001FF800000000000000000000000000000000000000000000000FFF8007FFE0001FFF8000000000007FF8000000FFF80000FFF80000FFFFF0001FFFFE0000000007FFC00007F00000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFE0000000000001FF800000000000000000000000000000000000000000000000FFF8007FFC0000FFF8000000000007FF8000000FFFFFFFFFFF80001FFFFF8001FFFFF000000000FFF800003E00000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF800000000000000000000000000000000000000000000000FFF8007FFC0000FFF8000000000007FF80000007FFFFFFFFFF00001FFDFF8003FF7FF000000000FFF800001C00000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF800000000000000000000000000000000000000000000000FFF8007FF800007FF8000000000007FF80000007FFFFFFFFFF00001FFDFF8003FF7FF000000000FFF800000800000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF800000000000000000000000000000000000000000000000FFF8007FF800007FFC000000000007FF80000007FFFFFFFFFF00001FF9FF8003FE7FF000000000FFF800000000000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF800000000000000000000000000000000000000000000000FFF8007FF800007FFC000000000007FF80000003FFFFFFFFFE00001FF9FFC003FE7FF800000000FFF800000000000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF800000000000000000000000000000000000000000000000FFF800FFF800007FFC000000000007FF80000003FFFFFFFFFE00003FF9FFC007FE3FF800000000FFF800000000000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF800000000000000000000000000000000000000000000000FFF800FFF800007FFC000000000007FF80000003FFFFFFFFFE00003FF8FFC007FE3FF800000000FFFC00000000000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF80000000000000000000000000000000000000000007FFFFFFF800FFF800003FFC000000000007FF80000001FFFFFFFFFC00003FF8FFC007FE3FF800000000FFFC00000000000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF8000000000000000000000000000000000000000007FFFFFFFF800FFF800003FFC000000000007FF80000001FFFFFFFFFC00003FF0FFC007FC3FFC000000007FFF00000000000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFFFEFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FFFFFFFFF800FFF800003FFC00000000000FFFC0000001FFFFFFFFFC00007FF0FFE00FFC3FFC000000007FFFF0000000000FFF00003FFE000007FFC000003FFE000000000000000000000000000000000000000000000000000000000003FF80000000007FEFFFFFFFFFFFFFFF800000000000000000000000000000000000000003FFFFFFFFF800FFF800003FFC00000000000FFFC0000000FFFFFFFFF800007FF07FE00FFC3FFC000000007FFFFFE00000000FFF00003FFFFFFFFFFFC000003FFE000000000000000000000000000000000000000000000000000000000003FF80000000003FE0000000000001FF800000000000000000000000000000000000000007FFFFFFFFF800FFF800003FFC00000000001FFFE0000000FFF0007FF800007FF07FE00FFC1FFC000000003FFFFFFE0000000FFF00003FFFFFFFFFFFC000003FFE000000000000000000000000000000000000000000000000000000000003FFC0000000003FE0000000000001FF80000000000000000000000000000000000000000FFFFFFFFFF800FFF800003FFC00000000001FFFE0000000FFF8007FF800007FF07FE00FF81FFC000000003FFFFFFFC000000FFF00003FFFFFFFFFFFC000003FFE000000000000000000000000000000000000000000000000000000000001FFE0000000003FE0000000000001FF80000000000000000000000000000000000000001FFFFFFFFFF800FFF800003FFC00000000003FFFF00000007FF800FFF00000FFE07FF00FF81FFE000000001FFFFFFFF000000FFF00003FFFFFFFFFFFC000003FFE000000000000000000000000000000000000000000000000000000000000FFE0000000003FE0000000000001FF80000000000000000000000000000000000000003FFFFFFFFFF800FFF800003FFC00000000007FFFF80000007FF800FFF00000FFE07FF01FF81FFE000000001FFFFFFFF800000FFF00003FFFFFFFFFFFC000003FFE0000000000000000000000000000000000000000000000000000000000007FF0000000003FE0000000000001FF80000000000000000000000000000000000000003FFFFFFFFFF800FFF800003FFC00000000007FFFF80000007FF800FFF00000FFE03FF01FF81FFE000000000FFFFFFFFE00000FFF00003FFFFFFFFFFFC000003FFE0000000000000000000000000000000000000000000000000000000000007FF8000000003FE0000000000001FF80000000000000000000000000000000000000007FFFFFFFFFF800FFF800003FFC0000000000FFFFFC0000003FFC00FFE00000FFE03FF01FF80FFE0000000007FFFFFFFE00000FFF00003FFFFFFFFFFFC000003FFE0000000000000000000000000000000000000000000000000000000000003FFC000000003FE0000000000001FF80000000000000000000000000000000000000007FFFFFFFFFF800FFF800003FFC0000000000FFFFFC0000003FFC01FFE00000FFE03FF81FF00FFF0000000001FFFFFFFF00000FFF00003FFFFFFFFFFFC000003FFE0000000000000000000000000000000000000000000000000000000000001FFC000000003FE0000000000001FF80000000000000000000000000000000000000007FFF0000FFF800FFF800003FFC0000000001FFFFFE0000003FFC01FFE00001FFC03FF83FF00FFF00000000007FFFFFFF80000FFF00003FFFFFFFFFFFC000003FFE0000000000000000000000000000000000000000000000000000000000000FFE000000003FE0000000000001FF8000000000000000000000000000000000000000FFFC0000FFF800FFF800003FFC0000000001FFFFFE0000003FFE01FFC00001FFC01FF83FF00FFF00000000001FFFFFFF80000FFF00003FFFFFFFFFFFC000003FFE0000000000000000000000000000000000000000000000000000000000000FFF000000003FE0000000000001FF8000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC0000000003FFFFFF0000001FFE03FFC00001FFC01FF83FF00FFF000000000003FFFFFFC0000FFF00003FFFFFFFFFFFC000003FFE00000000000000000000000000000000000000000000000000000000000007FF800000003FE0000000000001FF8000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC0000000007FFDFFF8000001FFE03FFC00001FFC01FF83FE007FF0000000000000FFFFFC0000FFF00003FFE000007FFC000003FFE00000000000000000000000000000000000000000000000000000000000003FF800000003FE0000000000001FF8000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC0000000007FFDFFF8000001FFF03FF800003FFC01FFC7FE007FF800000000000007FFFC0000FFF00003FFE000007FFC000003FFE00000000000000000000000000000000000000000000000000000000000003FFC00000003FE0000000000001FF8000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC000000000FFF8FFFC000000FFF03FF800003FF800FFC7FE007FF800000000000000FFFE0000FFF00003FFE000007FFC000003FFE00000000000000000000000000000000000000000000000000000000000001FFE00000003FE0000000000001FF8000000000000000000000000000000000000001FFF80000FFF800FFF800003FFC000000000FFF8FFFC000000FFF07FF800003FF800FFC7FE007FF8000000000000007FFE0000FFF00003FFE000007FFC000003FFE00000000000000000000000000000000000000000000000000000000000000FFF00000003FE0000000000001FF8000000000000000000000000000000000000001FFF80000FFF800FFF800003FFC000000001FFF07FFE000000FFF07FF000003FF800FFC7FC007FF8000000000000003FFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF8000000000000000000000000000000000000001FFF80000FFF800FFF800003FFC000000001FFF03FFE0000007FF87FF000007FF800FFE7FC003FFC000000000000003FFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC000000003FFE03FFF0000007FF8FFF000007FF800FFEFFC003FFC000000000000003FFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC000000007FFE01FFF0000007FF8FFE000007FF0007FEFFC003FFC000000000000003FFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC000000007FFC01FFF8000003FFCFFE000007FF0007FEFFC003FFC000000000600003FFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF80000FFF800FFF800003FFC00000000FFFC00FFFC000003FFCFFE000007FF0007FFFF8003FFC000000000F00003FFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFC0000FFF800FFF800003FFC00000000FFF800FFFC000003FFDFFC00000FFF0007FFFF8001FFE000000001F80007FFE0000FFF00003FFE000007FFC000003FFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFE0000FFF800FFF800003FFC00000001FFF0007FFE000001FFFFFC00000FFF0003FFFF8001FFE000000003FE000FFFC0000FFF00003FFE000007FFC000003FFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFF800FFF800003FFC00000001FFF0007FFE000001FFFFFC00000FFE0003FFFF8001FFE000000007FF803FFFC0000FFF00003FFE000007FFC01FFFFFFFFFFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFF800FFF800003FFC00000003FFE0003FFF000001FFFFF800000FFE0003FFFF0001FFE00000000FFFFFFFFFC00FFFFFFF003FFE000007FFC01FFFFFFFFFFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFFF800FFF800003FFC00000003FFE0003FFF000000FFFFF800001FFE0003FFFF0001FFF00000001FFFFFFFFF800FFFFFFF003FFE000007FFC01FFFFFFFFFFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFFF800FFF800003FFC00000007FFC0001FFF800000FFFFF800001FFE0001FFFF0000FFF00000003FFFFFFFFF800FFFFFFF003FFE000007FFC01FFFFFFFFFFE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFF800FFF800003FFC0000000FFFC0001FFFC00000FFFFF000001FFE0001FFFF0000FFF00000003FFFFFFFFF000FFFFFFF003FFE000007FFC01FFFFFFFFFFE00000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFF80000000000000000000000000000000000000000FFFFFFFFFF800FFF800003FFC0000000FFF80000FFFC000007FFFF000001FFC0001FFFE0000FFF00000001FFFFFFFFE000FFFFFFF003FFE000007FFC01FFFFFFFFFFE00000000000000000000000000000000000000000000000000000000003FFFFFFFFF000FFFFFFFFFFFFFFF800000000000000000000000000000000000000007FFFFFFFFF800FFF800003FFC0000001FFF800007FFE000007FFFF000003FFC0001FFFE0000FFF80000000FFFFFFFFC000FFFFFFF003FFE000007FFC01FFFFFFFFFFE0000000000000000000000000000000000000000000000000000000001FFFFFFFFFFC00FFFFFFFFFFFFFFF800000000000000000000000000000000000000003FFFFFFFFF800FFF800003FFC0000001FFF000007FFE000007FFFE000003FFC0001FFFE0000FFF800000007FFFFFFF8000FFFFFFF003FFE000007FFC01FFFFFFFFFFE0000000000000000000000000000000000000000000000000000000007FFFFFFFFFFF00FFFFFFFFFFFFFFF800000000000000000000000000000000000000001FFFFFFFFF800FFF800003FFC0000003FFF000003FFF000003FFFE000003FFC0000FFFE00007FF800000001FFFFFFF0000FFFFFFF003FFE000007FFC01FFFFFFFFFFE000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFF80FFFFFFFFFFFFFFF8000000000000000000000000000000000000000007FFFFFFFF800FFF800003FFC0000003FFE000003FFF000003FFFE000003FFC0000FFFE00007FF800000000FFFFFFC0000FFFFFFF003FFE000007FFC01FFFFFFFFFFE000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFC0FFFFFFFFFFFFFFF8000000000000000000000000000000000000000000FFFFFFFF800FFF800003FFC0000007FFE000001FFF800003FFFC000007FF80000FFFC00007FF8000000001FFFFE00000FFFFFFF003FFE000007FFC01FFFFFFFFFFE000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFE0FFFFFFFFFFFFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFF0FFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFF8FFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFF8FFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFCFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFE000000003FFCFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFC000000000FFEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000007FEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000007FEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE00007F00003FEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0000FF80003FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FE0000FF80001FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FC0001FF80001FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FC0001FFC0001FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FC0001FFC0001FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FC0001FF80001FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FE0000FF80001FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0000FF80003FFFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE00007F00003FEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000007FEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF00000000007FEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF8000000000FFEFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFE000000003FFCFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFCFF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFF8FF80001FF0000FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFF8FF80001FF0000FF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFF0FF80001FF0000FF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFE0FF80001FF0000FF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFC0FF80000000000FF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFF80FF80000000000FF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFF00FF80000000000FF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFF000^FS +^FO80,180^GFA,31571,31571,131,0007C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FC000003FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFC00001FFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFF8000001FFC00007FFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFE000003FFC0001FFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFF800007FFC0003FFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFC0000FFFC0007FFFFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFE0001FFFC000FFFFFFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFF0001FFFC000FFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFFFFFF8003FFFC001FFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFC003FFE0003FFFFFFF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000007FFFFFFFFFFFFFC003FF80003FFF0FFF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFFFFFFFFFFFFFE007FF00007FFC03FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFF000000001FFE007FE00007FF800FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFE0000000007FF007FE00007FF000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF007FC0000FFE0007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF00FFC0000FFE0007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00003F80001FF00FFC0000FFE0007FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00007FC0001FF80FF80000FFC0003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FF00007FC0000FF80FF80001FFC0003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFC0000FF80FF80001FFC0003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFE0000FF80FF80001FFC0003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFE0000FF80FF80001FF80007FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFC0000FF80FFC0003FF80007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FF00007FC0000FF807FC0003FF80007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00007FC0001FF807FC0003FF8000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00003F80001FF007FE0007FF0001FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF007FF000FFF0003FF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF007FF801FFF003FFF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFC0000000007FF003FFE07FFE003FFF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFF000000001FFE003FFFFFFFE003FFF0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFFFFFFFFFFFFFE001FFFFFFFC003FFF0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000007FFFFFFFFFFFFFC001FFFFFFFC003FFE0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000007FFFFFFFFFFFFFC000FFFFFFF8003FFC0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000003FFFFFFFFFFFFF80007FFFFFF0003FF80000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000001FFFFFFFFFFFFF00003FFFFFE0003FF00000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000FFFFFFFFFFFFE00001FFFFFC0003FC00000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000007FFFFFFFFFFFC00000FFFFF00003F000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000003FFFFFFFFFFF8000003FFFC000030000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000000FFFFFFFFFFE00000007FF0000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000001FFFFFFFFF800000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000001FFFFFFFFF800000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000000FFFFFFFFFFE00000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000003FFFFFFFFFFF80000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000007FFFFFFFFFFFC0000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000FFFFFFFFFFFFE0000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000001FFFFFFFFFFFFF0000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000003FFFFFFFFFFFFF8000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000007FFFFFFFFFFFFFC000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000007FFFFFFFFFFFFFC000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFFFFE0000001FFFFFFFFF000007FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFFFFFFFFFFFFFE000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFFFF000000007FFFFFFFF000003FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFF000000001FFE000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFFFC000000001FFFFFFFF000003FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFE0000000007FF000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFFF80000000007FFFFFFF000001FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF007FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFFE00000000001FFFFFFF000001FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF007FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFFC00000000000FFFFFFF000001FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00003F80001FF007FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFF8000000000007FFFFFF000000FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00007FC0001FF807FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFF0000000000003FFFFFF000000FFFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FF00007FC0000FF807FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFE0000000000001FFFFFF0000007FFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFC0000FF807FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFFC0000000000000FFFFFF0000007FFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFE0000FF807FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFF80000000000000FFFFFF0000003FFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFE0000FF807FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFF000000000000007FFFFF0000003FFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FE0000FFC0000FF807FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFF000000000000003FFFFF0000001FFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000003FF00007FC0000FF807FFFFFFFFFFFFFFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFE000000000000003FFFFF0000001FFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00007FC0001FF800000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFE000000000000001FFFFF0000000FFFFFE00007FFFF000000000000003FFFFFFFFFC000000000000003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF00003F80001FF000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFFC0000007F8000000FFFFF0000000FFFFFE00007FFFF000000000000003FFFFFFFFFC0001FFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000FFFF8000007FFF000000FFFFF00000007FFFFE00007FFFF000000000000007FFFFFFFFFC0003FFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000003FF000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000FFFF800001FFFFC000007FFFF00000007FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFC0000000007FF000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFF800003FFFFF000007FFFF00000003FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFF000000001FFE000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFF000007FFFFF800007FFFF00000003FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000FFFFFFFFFFFFFFE000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000003FFFF00000FFFFFFC00003FFFF00000001FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000007FFFFFFFFFFFFFC000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFE00001FFFFFFC00003FFFF00000001FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000007FFFFFFFFFFFFFC000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFE00001FFFFFFE00001FFFF00000001FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000003FFFFFFFFFFFFF8000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFE00003FFFFFFE00001FFFF00000000FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000001FFFFFFFFFFFFF0000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFC00003FFFFFFF00001FFFF00000000FFFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000FFFFFFFFFFFFE0000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFC00007FFFFFFF00001FFFF000000007FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000007FFFFFFFFFFFC0000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFC00007FFFFFFF80000FFFF000000007FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000003FFFFFFFFFFF80000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFC00007FFFFFFF80000FFFF000000003FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000000FFFFFFFFFFE00000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFF800007FFFFFFF80000FFFF000060003FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000001FFFFFFFFF800000000000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFF80000FFFFFFFF80000FFFF000060001FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFC00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFF80000FFFFFFFF80000FFFF000070001FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFF80000FFFFFFFF800007FFF000070000FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFC0003FFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFF80000FFFFFFFF800007FFF000078000FFFE00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFF80000FFFFFFFF800007FFF0000780007FFE00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFF80000FFFFFFFF800007FFF0000780007FFE00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFF00000FFFFFFFF800007FFF00007C0003FFE00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFF00000FFFFFFFF800007FFF00007C0003FFE00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFF00000FFFFFFFF800007FFF00007E0001FFE00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFF00000FFFFFFFF800007FFF00003E0001FFE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFF00000FFFFFFFF800003FFF00003E0001FFE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFF00000FFFFFFFF800003FFF00003F0000FFE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFFF00000FFFFFFFF800003FFF00003F0000FFE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFFF00000FFFFFFFF800003FFF00003F80007FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFF00000FFFFFFFF800003FFF00003F80007FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFFF00000FFFFFFFF800003FFF00003F80003FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFF00000FFFFFFFF800003FFF00003FC0003FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000000000000000000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFF00000FFFFFFFF800003FFF00003FC0001FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000000000000000000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFFFF00000FFFFFFFF800003FFF00003FE0001FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFF00000FFFFFFFF800003FFF00003FE0000FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFF00000FFFFFFFF800003FFF00003FF0000FE00007FFFF0000000000000FFFFFFFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFFFF00000FFFFFFFF800003FFF00003FF00007E00007FFFF0000000000000FFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFF00000FFFFFFFF800003FFF00003FF80007E00007FFFF0000000000000FFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFF00000FFFFFFFF800003FFF00003FF80007F00007FFFF0000000000000FFFFFFFFFFFFFFFFFFC00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFFFFF00000FFFFFFFF800003FFF00003FFC0003F00007FFFF0000000000000FFFFFFFFFFFFFFFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFFF00000FFFFFFFF800007FFF00003FFC0003F00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFFF00000FFFFFFFF800007FFF00003FFE0001F00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFFFFF00000FFFFFFFF800007FFF00003FFE0001F00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFFF00000FFFFFFFF800007FFF00003FFF0001F00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFFF80000FFFFFFFF800007FFF00003FFF0000F00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFFFFFF80000FFFFFFFF800007FFF00003FFF8000F00007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFFFF80000FFFFFFFF800007FFF00003FFF8000700007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFFFF80000FFFFFFFF800007FFF00003FFFC000700007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFFFFFF80000FFFFFFFF80000FFFF00003FFFC000700007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFFFF80000FFFFFFFF80000FFFF00003FFFC000300007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFC00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFFFFC00007FFFFFFF80000FFFF00003FFFE000300007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFFFFFFFC00007FFFFFFF80000FFFF00003FFFE000000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFFFFFC00007FFFFFFF80000FFFF00003FFFF000000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFFFFFC00007FFFFFFF00001FFFF00003FFFF000000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFF80000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFFFFFFFC00003FFFFFFF00001FFFF00003FFFF800000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFFFFFE00003FFFFFFE00001FFFF00003FFFF800000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00001FFFFFFFFFFFFE00001FFFFFFE00003FFFF00003FFFFC00000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFF00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF80000000000000FF80000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800001FFFFFFFFFFFFE00001FFFFFFC00003FFFF00003FFFFC00000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF800000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000003FFFFFFFFFFFFF00000FFFFFFC00003FFFF00003FFFFE00000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000000000000000000000000000000000000FF800000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000007FFFFFFFFFFFFF000007FFFFF800007FFFF00003FFFFE00000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFE00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE000007FFFFFFFFFFFFF800003FFFFF000007FFFF00003FFFFF00000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFC00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000FFFFFFFFFFFFFF800000FFFFC000007FFFF00003FFFFF00000007FFFF00001FFFFFFFFFFFFFFFFFFFFFFFFC00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFC000003FFF000000FFFFF00003FFFFF80000007FFFF000000000000007FFFFFFFFFFFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFC0000007F0000000FFFFF00003FFFFF80000007FFFF000000000000003FFFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFE000000000000001FFFFF00003FFFFFC0000007FFFF000000000000003FFFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFE000000000000003FFFFF00003FFFFFC0000007FFFF000000000000003FFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFF000000000000003FFFFF00003FFFFFC0000007FFFF000000000000003FFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFF000000000000007FFFFF00003FFFFFE0000007FFFF000000000000003FFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFF80000000000000FFFFFF00003FFFFFE0000007FFFF000000000000003FFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFC0000000000000FFFFFF00003FFFFFF0000007FFFF000000000000003FFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFE0000000000001FFFFFF00003FFFFFF0000007FFFF000000000000003FFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFF0000000000003FFFFFF00003FFFFFF8000007FFFF000000000000003FFFFFFFFFFFFFC00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFF8000000000007FFFFFF00003FFFFFF8000007FFFF000000000000003FFFFFFFFFFFFFC00003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFFC00000000000FFFFFFF00003FFFFFFC000007FFFF000000000000003FFFFFFFFFFFFFC00007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFFE00000000003FFFFFFF00003FFFFFFC000007FFFF000000000000003FFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFFF80000000007FFFFFFF00003FFFFFFE000007FFFF000000000000003FFFFFFFFFFFFF800007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF800000000000000000FFFFFFFFFC000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFFFC000000001FFFFFFFF00003FFFFFFE000007FFFF000000000000003FFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF800000000000000003FFFFFFFFFF800000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFFFF000000007FFFFFFFF00003FFFFFFF000007FFFF000000000000003FFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000000FFFFFFFFFFFE00000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0000000000000007FFFFFFFE0000001FFFFFFFFF00003FFFFFFF000007FFFF000000000000003FFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000001FFFFFFFFFFFF00000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000003FFFFFFFFFFFF80000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000007FFFFFFFFFFFFC0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000000FFFFFFFFFFFFFE0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000001FFFFFFFFFFFFFF0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000001FFFFFFFFFFFFFF0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000003FFFFFFFFFFFFFF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000003FFC000000007FF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000007FF0000000001FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000007FE0000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000007FE0000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000007FC0000FE00007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF800000000000000FFC0001FF00007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF00FF80001FF00007FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF00FF80001FF80003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF00FF80003FF80003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF00FF80003FF80003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF00FF80001FF80003FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF00FF80001FF00007FE000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF00FFC0001FF00007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF007FC0000FE00007FC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF007FE0000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FFFFFFFFFFFFFFF007FE0000000000FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000007FF0000000003FFC000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000003FFC000000007FF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000003FFFFFFFFFFFFFF8000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000001FFFFFFFFFFFFFF0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000001FFFFFFFFFFFFFF0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000000FFFFFFFFFFFFFE0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000007FFFFFFFFFFFFC0000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000003FFFFFFFFFFFF80000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000001FFFFFFFFFFFF00000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF80000000000000000FFFFFFFFFFFE00000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF800000000000000003FFFFFFFFFF800000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF800000000000000000FFFFFFFFFC000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000001FF8000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FF00000003FFFFFFFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600001FFFE000000FFFFFFFFFFFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007E00007FFFF800001FFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE0001FFFFFC00003FFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FE0003FFFFFE00007FFFFFFFFFFFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE0007FFFFFF0000FFFFFFFFFFFFFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFE000FFFFFFF8001FFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFE001FFFFFFFC001FFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFE001FFFFFFFC003FFFFFFFFFFFFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFE003FFFFFFFE003FFC000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFE003FFF03FFE007FF0000000001FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFE007FFC00FFF007FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFE0007FF8007FF007FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFC0007FF0003FF007FC0000FE00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF8000FFE0001FF00FFC0001FF00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FFE0001FF00FF80001FF00007FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FFE0001FF80FF80001FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF0000FFC0000FF80FF80003FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0001FFC0000FF80FF80003FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0001FFC0000FF80FF80001FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0001FFC0000FF80FF80001FF00007FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FE0001FF80000FF80FFC0001FF00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FF0003FF80001FF807FC0000FE00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0003FF80001FF807FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0003FF80001FF007FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF8007FF00003FF007FF0000000003FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF800FFF00003FF003FFC000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFE01FFF00007FF003FFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFF87FFE0000FFE001FFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFE0003FFE001FFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFFC001FFFE000FFFFFFFFFFFFFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFFF8001FFFC0007FFFFFFFFFFFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFF8001FFFC0003FFFFFFFFFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFF0001FFF80001FFFFFFFFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFE0001FFF00000FFFFFFFFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007FFFFC0001FFE000003FFFFFFFFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFF00001FFC000000FFFFFFFFFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFC00001FF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FE000001FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001F00000^FS +^FO80,431^GFA,11830,11830,130,000FFFFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFFFFFFF8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000001FF00FFFFFFFFFFFE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000001FF01FFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF00000000001FF03FFFFFFFFFFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF07FFFFFFFFFFFFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF0FFFFFFFFFFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF1FFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF1FFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF3FFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF3FFC000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FF0000000001FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FC0000FE00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFFC0001FF00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFF80001FF00007FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFF80001FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFF80003FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFF80003FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFF80001FF80003FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFF80001FF00007FE0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FFFFC0001FF00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FC0000FE00007FC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FE0000000000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF7FF0000000003FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF0000FF80001FF3FFC000000007FF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF3FFFFFFFFFFFFFF80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF1FFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF1FFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF0FFFFFFFFFFFFFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF07FFFFFFFFFFFFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF03FFFFFFFFFFFF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF01FFFFFFFFFFFF00000000000000000000000000000000000000000000000000078000000000000003F800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF00FFFFFFFFFFFE00000000000000000000000000000000000000000000000000078000000000000007F800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF003FFFFFFFFFF8000000000000000000003FFFF000000000000000000000000007800000000000000FF800000000000000000000000001FF800001FF800000FFC0007FFFFF8000000003FF00000007C00000000003FC000003FC00000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF000FFFFFFFFFC0000000000000000000003FFFFE00000000000000000000000007800000000000000FF800000000000000000000000007FFE00007FFE00003FFF0007FFFFFC00000000FFFC000001F800000000007FC000007FC00000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF00000000000000000000000000000000003FFFFF800000000000000001C0000007800000000000001E000000000000000000000000001FFFF0000FFFF0000FFFF8007FFFFFC00000001FFFE000003F00000000000FFC00000FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003FFFFF800000000000000001E0000007800000000000001E000000000000000000000000003FFFF8001FFFF8001FFFFC007FFFFFC00000003FFFF000007E00000000001FFC00001FFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E001FC00000000000000001E0000007800000000000001E000000000000000000000000003F00FC001F00FC001F807E00780007800000003E01F80000FC00000000003F7C00003F7C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0007E00000000000000001E0000007800000000000001E000000000000000000000000007C007C003E007E003E003E0078000F800000007C00FC0001F800000000007E7C00007E7C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0003E00000000000000001E0000007800000000000001E0000000000000000000000000078003E007C003E003C001F0078000F80000000F8007C0003F00000000000FC7C0000FC7C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0003E00000000000000001E0000007800000000000001E00000000000000000000000000F8003E007C001E007C001F0078001F00000000F8003C0007E00000000001F87C0001F87C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0001F00000000000000003E0000007800000000000001E00000000000000000000000000F0003E0078001F0078001F0078001F00000000F0003E0007C00000000003F07C0003F07C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0001F00003800000380003E000000780E000000380001E000007000000000001C000000030001E00F8000F0018000F0078001E00000001F0001E000F800000000007E07C0007E07C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0001F0003FF00003FF803FFF80000787FC00003FF001FFF8007FE0003C1F001FF800000000001E00F8000F0000000F0078003E00000001F0001E000F000000000003C07C0003C07C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0001F000FFFC000FFFC03FFF8000079FFF0000FFFC01FFF801FFF8003C7F007FFE00000000001E00F0000F8000000F0000003C00000001E0001F001F000000000001007C0001007C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0001E001FFFE001FFFE03FFF800007BFFF8001FFFE01FFF803FFFC003CFF00FFFF00000000001E00F0000F8000000F0000007C00000001E0001F003E000000000000007C0000007C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E0003E003F03F003F03F03FFF800007BC3FC003F03F01FFF807F0FE003DFF01F81F80000000003E00F0000F8000001F0000007C00000001E0001F003E000000000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF800000000000000000000000000000000000000000000003E0003E007C00F803C00F003E0000007F007C007C00F801E000FC01F003DF003E007C0000000003E01F0000F8000001F000000F800000003E0001F003C000000000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC0000000FFF0000000000000000000003E0007C0078007807C006003E0000007C003E0078007801E000F000F803F0003C003C0000000003C01F0000F8000001E000000F800000003E0001F007C7FE000000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000007FF8000000000000000000003E003F800F8007C078000003E0000007C001E00F8007C01E001F0007803E0007C003E0000000007C01F0000F8000003E000000F000000003E0001F0078FFF000000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000003FFC000000000000000000003FFFFE000F0003C078000003E00000078001F00F0003C01E001E0007C03C00078001E000000000FC01F0000F8000007E000001F000000003E0001F00FBFFFC00000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000001FFC000000000000000000003FFFFE001F0003E078000003E00000078000F01F0003E01E003E0003C03C000F8001F000000000F801F0000F8000007C000001F000000003E0001F00FBC3FC00000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000001FFE000000000000000000003FFFFF801E0003E07C000003E00000078000F01E0003E01E003C0003C03C000F0001F000000001F001F0000F800000F8000003E0003FFF03E0001F00FF007E00FFFC00007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000FFF000000000000000000003E003FC01E0003E03E000003E00000078000F01E0003E01E003C0003C03C000F0001F000000003E001F0000F800001F0000003E0003FFF03E0001F00FC003F00FFFC00007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC000000007FF000000000000000000003E0003E01E0003E03F800003E00000078000F81E0003E01E003C0003E03C000F0001F000000007E001F0000F800003F0000003C0003FFF03E0001F00FC001F00FFFC00007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC000000003FF800000000000000000003E0001F01FFFFFE01FFE0003E00000078000F81FFFFFE01E003C0003E03C000FFFFFF00000000FC001F0000F800007E0000007C0003FFF03E0001F00F8001F00FFFC00007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC000000003FFC00000000000000000003E0000F01FFFFFE00FFFC003E00000078000F81FFFFFE01E003C0003E03C000FFFFFF00000001F8001F0000F80000FC000000780003FFF03E0001F00F8000F80FFFC00007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC000000001FFE00000000000000000003E0000F81FFFFFE003FFE003E00000078000F81FFFFFE01E003C0003E03C000FFFFFF00000003F0000F0000F80001F8000000F8000000001E0001F00F0000F80000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC000000000FFE00000000000000000003E0000F81E000000007FF003E00000078000F81E0000001E003C0003E03C000F0000000000007C0000F0000F80003E0000000F8000000001E0001F00F0000F80000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC0000000007FF00000000000000000003E0000F81E0000000003F803E00000078000F81E0000001E003C0003E03C000F000000000001F80000F0000F8000FC0000001F0000000001E0001F00F0000F80000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC0000000007FF80000000000000000003E0000F81E0000000000F803E00000078000F01E0000001E003C0003C03C000F000000000003F00000F8000F0001F80000001F0000000001F0001E00F0000F80000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC0000000003FFC0000000000000000003E0000F81E00000000007803E00000078000F01E0000001E003C0003C03C000F000000000007E00000F8000F0003F00000001E0000000001F0001E00F0000F80000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC0000000001FFC0000000000000000003E0000F81F00000000007803E00000078000F01F0000001E003E0003C03C000F80000000000FC0000078001F0007E00000003E0000000000F0003E00F8000F00000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FE0000000001FFC0000000000000000003E0000F00F00010000007803E00000078001F00F0001001E001E0007C03C000780008000001F8000007C001F000FC00000003C0000000000F8003E0078001F00000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000003E0001F00F80038030007803E0000007C001E00F8003801E001F0007803C0007C001C000003F0000007C003E001F800000007C0000000000F8007C007C001F00000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000003E0003F0078007C078007803E0000007C003E0078007C01E000F000F803C0003C003E000007E0000003E003E003F000000007C00000000007C007C007C003E00000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000003E0007E007E00F80FC00F803E0000007E007C007E00F801E000FC01F003C0003F007C00000FC0000003F00FC007E00000000F800000000007E01F8003F007E00000000007C0000007C00000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000003FFFFFC003F83F807F03F003FF000007BC3FC003F83F801E0007F07E003C0001FC1FC00000FFFFFF801FC3F8007FFFFFC000F800000000003F87F0001FC3FC00000001FFFFFF01FFFFFF000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000003FFFFF8001FFFF003FFFE001FF000007BFFF8001FFFF001E0003FFFC003C0000FFFF800000FFFFFF800FFFF8007FFFFFC000F000000000001FFFF0000FFFF800000001FFFFFF01FFFFFF000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000003FFFFF0000FFFC000FFFC001FF0000079FFF0000FFFC001E0001FFF8003C00007FFE000000FFFFFF8007FFE0007FFFFFC001F000000000000FFFC00007FFF000000001FFFFFF01FFFFFF000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000003FFFFC00003FF80007FF8000FF00000787FC00003FF8001E00007FE0003C00001FFC000000FFFFFF8001FFC0007FFFFFC001F0000000000003FF800001FFC000000001FFFFFF01FFFFFF000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000000000000000078000007800000000000000E000000780000000000F000000000003C000000000000000003C0000000000000000000000000000780000001C000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FFFFFFFFFFFFFFF7FFFFFFFFFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FFFFFFFFFFFFFFC0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF80000000000007FC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001FF8000000000000^FS +^XZ