Form-Filling Checkbox Display Problem - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Form-Filling Checkbox Display Problem

Form-Filling Checkbox Display Problem 5 years 3 days ago #4477

  • asleepingdor
  • asleepingdor's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi,
I am trying the form-filling function using pdfviewer-sdk 2.9.4.
But When I try to check a checkbox, a '4' displays instead of a tick symbol.

I have searched the forum and found in SDK-2.9.3beta5 there is "ZapfsGEAR font" included in the demo project.
So, would like to know is the above font included and can be referenced?
Or can there be other ways to treat the checkbox? (e.g. using a "X" to replace the tick symbol)

Thanks : )

Please Log in or Create an account to join the conversation.

Form-Filling Checkbox Display Problem 5 years 3 days ago #4479

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
This is a screenshot taken from pdfviewer-sdk 2.9.4
as you can see, it's using a checkmark not '4'..

Make sure that you have the following code in Global.Init:
sub = new File(fonts_path);
		if( !sub.exists() )
		{
			try
	    	{
				InputStream src = assets.open("rdf013");
    			FileOutputStream dst = new FileOutputStream( new File(fonts_path) );
   				while( (read = src.read( buf )) > 0 )
   					dst.write( buf, 0, read );
   				dst.close();
   				src.close();
   				dst = null;
   				src = null;
	    	}
			catch(Exception e)
			{
			}
		}
		sub = null;

Attachments:

Please Log in or Create an account to join the conversation.

Form-Filling Checkbox Display Problem 4 years 1 month ago #7309

  • Semenovich
  • Semenovich's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
I had the same problem. The problem was solved when I move assets from the radaee library to my main project.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum