pdf_harfbuzz 0.1.0
pdf_harfbuzz: ^0.1.0 copied to clipboard
A companion package for dart_pdf that provides HarfBuzz text shaping for complex scripts.
We analyzed this package 14 hours ago, and awarded it 40 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: pdf_harfbuzz.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: pdf_harfbuzz, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Homepage URL doesn't exist.
At the time of the analysis https://github.com/DavBfr/dart_pdf/tree/master/pdf_harfbuzz was unreachable. Make sure that the website is reachable via HEAD requests.
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
0 out of 6 API elements (0.0 %) 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_harfbuzz, pdf_harfbuzz.HarfBuzzShaper, pdf_harfbuzz.HarfBuzzShaper.HarfBuzzShaper.new, pdf_harfbuzz.HarfBuzzShaper.bindings, pdf_harfbuzz.HarfBuzzShaper.dispose.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 20 issues. Showing the first 2:
ERROR: Undefined class 'ShapedRun'.
lib/src/harfbuzz_shaper.dart:32:3
╷
32 │ ShapedRun shape(String text, ByteData fontData) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/harfbuzz_shaper.dart
ERROR: The name 'ShapedGlyph' isn't a type, so it can't be used as a type argument.
lib/src/harfbuzz_shaper.dart:75:21
╷
75 │ final glyphs = <ShapedGlyph>[];
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/harfbuzz_shaper.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.2.0 |
2.2.0 | 2.2.0 | |
meta |
>=1.3.0 <2.0.0 |
1.19.0 | 1.19.0 | |
pdf |
^3.13.0 |
3.13.0 | 3.13.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.3.0 | |
barcode |
- | 2.2.9 | 2.2.9 | |
bidi |
- | 2.0.13 | 2.0.13 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
image |
- | 4.10.0 | 4.10.0 | |
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 | |
qr |
- | 3.0.2 | 4.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
xml |
- | 7.0.1 | 7.0.1 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_CLASS-lib/src/harfbuzz_shaper.dart:32:3- Undefined class 'ShapedRun'.NON_TYPE_AS_TYPE_ARGUMENT-lib/src/harfbuzz_shaper.dart:75:21- The name 'ShapedGlyph' isn't a type, so it can't be used as a type argument.UNDEFINED_METHOD-lib/src/harfbuzz_shaper.dart:105:9- The method 'ShapedGlyph' isn't defined for the type 'HarfBuzzShaper'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Dart 3.13.1.
Check the analysis log for details.