ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Generating and previewing PDF in Angular 10 - Custom Fonts & Icons - Using virtual file system (VFS)

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2020
  • pdfmake is the client/server side PDF printing in pure JavaScript.
    ng2-pdf-viewer i sthe angular component for the viewing the pdf file.
    Links of the libraries using :
    pdfmake : pdfmake.org/#/
    pdf viewer : www.npmjs.com/package/ng2-pdf...
    And also attaching github repo of the reference.
    github.com/Anand-Paul/example...

ความคิดเห็น • 12

  • @itamcen7983
    @itamcen7983 2 ปีที่แล้ว

    Thanks it's really help ..Keep it up men

  • @ctt6710
    @ctt6710 2 ปีที่แล้ว

    Awesome!

  • @josephkaiba6882
    @josephkaiba6882 2 ปีที่แล้ว

    Hi guys, any idea on how to use specific fonts for certain components and maintain the default font on other components in angular?

  • @tickettool2741
    @tickettool2741 3 ปีที่แล้ว

    hi i am using this package in react project and installed it using "npm i pdfmake" but i am not getting that example folder

  • @natandsantos96
    @natandsantos96 ปีที่แล้ว

    How I use vfs_fonts.js in API TypeScript project?

  • @user-cn2re2rn9m
    @user-cn2re2rn9m 10 หลายเดือนก่อน

    Does the fonts reflects to the other users if we uploaded it on github?

  • @atvantic0660
    @atvantic0660 3 ปีที่แล้ว

    why i run npm run build:vfs: no file generate?

    • @inprogressdev2187
      @inprogressdev2187  3 ปีที่แล้ว

      it will update the file in the build directory, that is vfs_fonts.js, here you can see the custom fonts that you added.

    • @atvantic0660
      @atvantic0660 3 ปีที่แล้ว

      @@inprogressdev2187 i follow the video delete the roboto fonts and add NotoSansSC .tff into examples folder and run build:vfs: and check the vfs_fonts.js in build directory it only show the roboto fonts

    • @inprogressdev2187
      @inprogressdev2187  3 ปีที่แล้ว

      @chun wei soo : if not could you check by deleting all the fonts in examples/fonts/ and also delete the vfs_fonts.js in the build/ again. And then insert your custom fonts to the examples/fonts/ and run the command "npm run build:vfs:". i think it will generate in the build/vfs_fonts.js file as a object. could check that. I have tried it now also, am getting the perfect result.

    • @atvantic0660
      @atvantic0660 3 ปีที่แล้ว

      @@inprogressdev2187 not working. i check your video you using 0.1.68 and i download the 0.1.68 version and follow your tutorial the package.json only have the build, test and playground under script only the 0.1.70 version have build:vfs under script in package.json

    • @ankitaahuja9866
      @ankitaahuja9866 3 ปีที่แล้ว

      install npm using npm i thn i works.. I face same issue