pdf_harfbuzz 0.1.0 copy "pdf_harfbuzz: ^0.1.0" to clipboard
pdf_harfbuzz: ^0.1.0 copied to clipboard

A companion package for dart_pdf that provides HarfBuzz text shaping for complex scripts.

40/ 160
pub points
10
downloads

We analyzed this package 14 hours ago, and awarded it 40 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: pdf_harfbuzz,
    • contains a version property, and,
    • does not contain a publish_to property.
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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
0
likes
40
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A companion package for dart_pdf that provides HarfBuzz text shaping for complex scripts.

Topics

#pdf #harfbuzz #shaping #text #typography

License

Apache-2.0 (license)

Dependencies

ffi, meta, pdf

More

Packages that depend on pdf_harfbuzz