Skip to main content

qvp_flutter 0.6.0 copy "qvp_flutter: ^0.6.0" to clipboard
qvp_flutter: ^0.6.0 copied to clipboard

Flutter wrapper for the QVP vector mushaf engine (dart:ffi over libqvp_ffi).

0.6.0 #

  • Engine 0.6.0: justified passages and a surah's basmalah as a passage reach QvpKit first; this package binds passages next (issue #102). Nothing changes here.

0.5.0 #

  • Under justified, a row that cannot reach both margins is centred instead of starting at the right margin: the last row of a block, a single word, or a row whose gaps would have to stretch past max_stretch. Hung off the right margin, it read as a ragged column.
  • The reflow knobs of QvpLayoutSpec are read on a printed page too (reflow_zoom 0): they are what the zoom control reflows the page with. A C host that zeroes the spec and pinches now reflows ragged (fill 0), greedy (breaks 0) and with printed gaps (gaps 0); 255, 255 and 1 ask for the engine's defaults, which every wrapper already writes.
  • On a reflowed row, a medallion is centred between the word it closes and the next one with the signs each carries, such as the quarter star (۞) that opens the next ayah. Measured on the letters alone, it sat against the star with the space on its other side.
  • A pinch keeps the host's fill, breaks and gaps from the first step. The C layer dropped the reflow knobs while reflow_zoom was 0, so the layout the zoom control made inside a pinch always took the engine's defaults.

0.3.0 #

  • Engine 0.3.0: the reader's zoom control (zoomPinch, zoomToStep, and the mode, spec, carried, at-step and is-zoomed calls), a page reflowed onto rows of the screen's own width when the reader zooms in, layoutDrawList, layoutPrintedHeight, sidewaysDrag and swipePages, and the surahFrames and bannerZoom layout knobs.
  • surahHeaders and surahHeadersView: the box a surah frame fills and the title ink inside it, for a host that draws its own frame.
  • Fixed: QvpPage.zoomSpec carries bannerZoom through.

0.2.2 #

  • The package includes the Android engine and is available from pub.dev.

0.2.0 #

  • ABI 0.2: the header and every wrapper follow the naming standard (hit tests, rectangles, verbs, discriminators, full words, layout, one-byte booleans, the engine/format version split). No alias is kept; the old → new table is in the root CHANGELOG.md and docs/API-PARITY.md.

0.1.1 #

  • Line spacing only ever opens up. The printed pitch is the floor: lineSpacing below 1, a negative lineGap, or a fillHeight that would need to tighten now lay the page out exactly as printed, so the lines can never collapse into one another. The text width was never adjustable and stays fitted to the viewport.

0.1.0 #

  • First release: page loading, hit-testing, layout, styles, highlights, selection, masks, search and crop over the Rust engine.
0
likes
0
points
883
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter wrapper for the QVP vector mushaf engine (dart:ffi over libqvp_ffi).

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter

More

Packages that depend on qvp_flutter

Packages that implement qvp_flutter