pdf_text_shaper 1.1.0
pdf_text_shaper: ^1.1.0 copied to clipboard
HarfBuzz-powered complex-script text shaping for the Dart pdf package, with Unicode-preserving PDF output.
We analyzed this package 5 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
13 out of 89 API elements (14.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: pdf_text_shaper.HarfBuzzShaper, pdf_text_shaper.HarfBuzzShaper.HarfBuzzShaper.new, pdf_text_shaper.HarfBuzzShaper.shape, pdf_text_shaper.ShapedFont, pdf_text_shaper.ShapedFont.ShapedFont.fromBytes.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:pdf_text_shaper/pdf_text_shaper.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Invalid use of a private type in a public API.
lib/src/widgets/shaped_text.dart:41:33
╷
41 │ void restoreContext(covariant _ShapedTextContext context) {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/widgets/shaped_text.dart
INFO: 'y' is deprecated and shouldn't be used. Use bottom instead.
lib/src/widgets/shaped_text.dart:119:20
╷
119 │ bounds.y + bounds.height - _ascent - lineIndex * _lineHeight;
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/widgets/shaped_text.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
^1.4.1 |
1.4.1 | 1.4.1 | |
ffi |
^2.2.0 |
2.2.0 | 2.2.0 | |
harfbuzz_ffi |
^0.5.0 |
0.5.0 | 0.5.0 | |
pdf |
^3.13.0 |
3.13.0 | 3.13.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.2.0 | |
async |
- | 2.13.1 | 2.13.1 | |
barcode |
- | 2.2.9 | 2.2.9 | |
bidi |
- | 2.0.13 | 2.0.13 | |
code_assets |
- | 1.2.1 | 2.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
hooks |
- | 2.2.0 | 2.2.0 | |
image |
- | 4.9.2 | 4.9.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
native_toolchain_c |
- | 0.19.3 | 0.19.4 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.5.2 | 6.5.2 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
qr |
- | 3.0.2 | 4.0.0 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.1.
Check the analysis log for details.