Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Form-Filling Checkbox Display Problem 10 years 5 months ago #4477

  • asleepingdor
  • asleepingdor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 10 years 5 months ago #4479

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
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 9 years 7 months ago #7309

  • Semenovich
  • Semenovich's Avatar
  • Offline
  • New Member
  • New Member
  • 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