Problem using neoPdfNeoTable! Photo is attached problem. - Forum

Forum Navigation
You need to log in to create posts and topics.

Problem using neoPdfNeoTable! Photo is attached problem.

Page 1 of 2Next

Hello and good time ...!
I have a problem using neoPdfNeoTable! The created file does not support my fonts! Photo attached! Thanks for the tip! Thank you

Uploaded files:
  • You need to login to have access to uploads.

@javadrajabihakami how are you loading the necessary fonts into your project?
Have you already read this?:

https://visualneo.com/forum/topic/using-font-in-android-app

Regards.

Hello and good time ...! And thanks for your guidance!
But I have not succeeded yet! I will add pictures to add fonts! Please guide me! thank you

Uploaded files:
  • You need to login to have access to uploads.

@javadrajabihakami take a close look at the .ttf file names: they are not the same in CSS than in file name.
Also note you should compile the project in order to your fonts be copied to the correct location.
And avoid space character in file names.

More information about working with fonts here:
https://css-tricks.com/snippets/css/using-font-face/
https://www.w3schools.com/css/css3_fonts.asp

Regards.

Thank you for your response, dear friend! Do I have to convert my fonts to js file for use in pdf! It is very difficult and confusing to work with these fonts! Everything I do does not work! My other posts are displayed correctly! But it does not show the table well!

@javadrajabihakami perhaps @asmat could help you. I know he has successfuly added arabic characters in neoTable.
He will receive a notification email and, if he has time, will answer here for sure.

thank you ! I am waiting for @asmat! But from which folder does pdf get its required fonts? js or fonts
Well my fonts are available in both folders but it does not work! I do not know where my work problem comes from! Anyway, thank you very much dear friend!

Uploaded files:
  • You need to login to have access to uploads.

@javadrajabihakami I have now understood your problem!
The problem is using neoPDF fonts:

  1. Go to
    https://fontconverter.visualneo.com/
  2. Upload and generate your own font in .js format.
  3. Download and save the .js file within your hard drive.
  4. Go to menu Project > Properties > Libraries/Files
  5. Press "File" button and add your previously generated .js font.

Done, now you are ready to use the new font within neoPDF.
Let me know if this solves your problem.

Regards.

Quote from luishp on February 25, 2021, 1:49 pm

@javadrajabihakami I have now understood your problem!
The problem is using neoPDF fonts:

  1. Go to
    https://fontconverter.visualneo.com/
  2. Upload and generate your own font in .js format.
  3. Download and save the .js file within your hard drive.
  4. Go to menu Project > Properties > Libraries/Files
  5. Press "File" button and add your previously generated .js font.

Done, now you are ready to use the new font within neoPDF.
Let me know if this solves your problem.

Regards.

I added fonts! Example image submitted but the table entries are still broken

Uploaded files:
  • You need to login to have access to uploads.

Sample project with Persian table + Persian font converted to: js

font name : BYekan-normal.js

Uploaded files:
  • You need to login to have access to uploads.

@javadrajabihakami sorry, maybe neoPdfneoTable command is not compatible with external fonts.
I have to investigate it.

bless you! hope to God ! Maybe it will help for an updated and more useful plugin! I am still waiting to receive the result of this discussion ...

Hello and good time ...! Dear Professor! I ask you to check the neopdftable plugin and make the necessary corrections regarding support from other languages! Thank you for your kindness ...

hi, @javadrajabihakami

I think the bug is in your windows

Regards

 

Uploaded files:
  • You need to login to have access to uploads.

@farhad2008 the problem is getting neoTable into neoPdf using neoPdfneoTable command.
I mean, it's on the final PDF where the table characters are wrong.

@javadrajabihakami I have updated neoPDF plugin with the last html2canvas library version. Please uninstall your current neoPDF plugin from menu Options > Add/Remove plugins, then download, install and test the attached plugin.

Let me know if it works.

Thank you!

Uploaded files:
  • You need to login to have access to uploads.

@javadrajabihakami you can use also neoPdfHtmlTable instead of neoPdfneoTable to render a neoTable generated HTML table into a PDF. Please take a look at the attached sample. I think this will work for you. Let me know if you have any doubts.

Regards.

Uploaded files:
  • You need to login to have access to uploads.

Hello and thank you for your kindness!
Unfortunately, I still have a problem! Shows Persian language well in the table! But when downloading the pdf file, everything breaks down and displays the Persian language in an unknown way! I do not know where the problem comes from! Thank you again ...

Uploaded files:
  • You need to login to have access to uploads.

Hello and good time dear friends ...!
Please work together to solve this problem! Because this is very important and practical for me! Thank you all good!

Hello and good time ...! I am still waiting for the right solution to solve this problem! I will be very happy if he finds a greatness and guides me in this regard! thanks all ...

hi,@javadrajabihakami

جواد جان سلام

من دارم یه پلاگین جدید می نویسم که بتونه فارسی رو هم به خوبی پی دی اف کنه

I am writing a new plugin that can make Persian PDF well.

این هم نمونه پی دی اف این پلاگینه:

 

 

Uploaded files:
  • You need to login to have access to uploads.
Page 1 of 2Next