- Posts: 1
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Form-Filling Checkbox Display Problem
- asleepingdor
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.70
12 years 4 months ago #4477
by asleepingdor
Form-Filling Checkbox Display Problem was created by asleepingdor
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 : )
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 : )
IP: 192.168.0.158
12 years 4 months ago #4479
by nermeen
Replied by nermeen on topic Form-Filling Checkbox Display Problem
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:
as you can see, it's using a checkmark not '4'..
Make sure that you have the following code in Global.Init:
Code:
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;
- Semenovich
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
IP: 192.168.0.71
11 years 5 months ago #7309
by Semenovich
Replied by Semenovich on topic Form-Filling Checkbox Display Problem
I had the same problem. The problem was solved when I move assets from the radaee library to my main project.
Time to create page: 0.427 seconds