Coder Social home page Coder Social logo

Comments (4)

dwarring avatar dwarring commented on July 29, 2024 1

This module wasn't handling FontConfig failing to find a match. Added FreeMono.ttf as a resource and as a fallback font.

Fixed in latest build http://sparrowhub.io:2222/report/444

from pdf-font-loader-raku.

dwarring avatar dwarring commented on July 29, 2024

output from running tests form the shell:

alpine@ip-172-31-76-44:~/git/PDF-Font-Loader-raku$ uname -a
Linux ip-172-31-76-44 5.15.5-0-virt #1-Alpine SMP Fri, 26 Nov 2021 11:51:30 +0000 aarch64 Linux
alpine@ip-172-31-76-44:~/git/PDF-Font-Loader-raku$ prove6 -I.
t/cmap-fixed.t ............... ok 
t/cmap-utf16.t ............... ok 
t/cmap-utf32.t ............... ok 
t/cmap-utf8.t ................ ok 
t/cmap-variable.t ............ ok 
t/fontobj.t .................. ok 
t/load-font.t ................ ok   
t/pdf-text-align.t ........... ok 
t/reuse-cid.t ................ ok 
t/reuse-type1.t .............. ok 
Type check failed in assignment to $match; expected FontConfig:D but got FontConfig (FontConfig) (perhaps Nil was assigned to a :D which had no default?)
  in method find-font at /home/alpine/git/PDF-Font-Loader-raku/lib/PDF/Font/Loader.rakumod (PDF::Font::Loader) line 92
  in method load-font at /home/alpine/git/PDF-Font-Loader-raku/lib/PDF/Font/Loader.rakumod (PDF::Font::Loader) line 52
  in method load-font at /home/alpine/git/PDF-Font-Loader-raku/lib/PDF/Font/Loader.rakumod (PDF::Font::Loader) line 64
  in block <unit> at t/reuse-unembedded.t line 14

t/reuse-unembedded.t ......... Dubious, test returned 255
All 2 subtests passed 
t/subset.t ................... ok 
t/threads.t .................. ok 
t/type1-add-encoding.t ....... ok   
t/type1-encoding.t ........... ok 
t/type1-encoding_issue#12.t .. ok 
t/type1-stream.t ............. ok 
t/type1.t .................... ok 
t/type3-basic.t ..............1/8Type check failed in assignment to $match; expected FontConfig:D but got FontConfig (FontConfig) (perhaps Nil was assigned to a :D which had no default?)
  in method find-font at /home/alpine/git/PDF-Font-Loader-raku/lib/PDF/Font/Loader.rakumod (PDF::Font::Loader) line 92
  in method load-font at /home/alpine/git/PDF-Font-Loader-raku/lib/PDF/Font/Loader.rakumod (PDF::Font::Loader) line 52
  in method load-font at /home/alpine/git/PDF-Font-Loader-raku/lib/PDF/Font/Loader.rakumod (PDF::Font::Loader) line 64
  in block <unit> at t/type3-basic.t line 19

# You planned 8 tests, but ran 1
t/type3-basic.t .............. Dubious, test returned 255
All 8 subtests passed 
All tests successful.

Test Summary Report
-------------------
t/reuse-unembedded.t  (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/type3-basic.t  (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 8 tests but ran 1.
Files=19, Tests=130,  190 wallclock secs
Result: FAILED
alpine@ip-172-31-76-44:~/git/PDF-Font-Loader-raku$ 

from pdf-font-loader-raku.

melezhik avatar melezhik commented on July 29, 2024

I guess this is the same as on SparkyCI, but with more verbose output …

from pdf-font-loader-raku.

melezhik avatar melezhik commented on July 29, 2024

Good!

from pdf-font-loader-raku.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.