Messages posted by: patrick.corless  XML
Profile for patrick.corless -> Messages posted by patrick.corless [1939] Go to Page: Previous  1, 2, 3 , ... 128, 129, 130 Next 
Author Message
The OS version can not read embedded fonts that are CID encoded and sometimes the PDF does not include a toUnicode mapping which makes is pretty much impossible to figure out which characters to show without the encoding font.

Have you tried the 6.2.5 Pro trial version?
The ICEpdf api does not allow a user to create a PDF document from scratch, you can use other api's for that like iText. You can use ICEpdf to annotate an existing document using various annotation tools provided in the viewer RI. For more information, http://www.icesoft.org/wiki/display/PDF/Understand+the+ICEpdf+Viewer+work+area . You can open the utility pane at any time and select the annotation tab to see all the tools.
As you seen quite a bit of work has been done this component since 5.0. However we're not seeing the problem on our test systems using 6.3. Can you give me a little more information on your environment.
Your likely missing some of the required supporting image jars. You can check the 6.3 release's dependency graph.
As for 6.3.1 shooting for the end of the month, hopefully sooner.
I've been working with a supported client to try and fix the sticky properties introduced in 6.3. As part of PDF-1249 I've made some changes how the property manager should be used with respect to the SwingViewBuilder.

I'm sure I'll get some more flack on this issue but basically you'll need to revert you code to what it looked like pre 6.3:

prop.setBoolean(PropertiesManager.PROPERTY_SHOW_TOOLBAR_ANNOTATION, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_TOOLBAR_FIT, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_TOOLBAR_ROTATE, Boolean.TRUE)
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_TOOLBAR_ZOOM, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_TOOLBAR_PAGENAV, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_TOOLBAR_TOOL, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_TOOLBAR_UTILITY, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_KEYBOARD_SHORTCUTS, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_STATUSBAR, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_STATUSBAR_STATUSLABEL, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_STATUSBAR_VIEWMODE, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITYPANE_ANNOTATION, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITYPANE_BOOKMARKS, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITYPANE_LAYERS, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITYPANE_SEARCH, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITYPANE_THUMBNAILS, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITY_OPEN, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITY_SAVE, Boolean.FALSE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITY_PRINT, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITY_SEARCH, Boolean.TRUE);
 prop.setBoolean(PropertiesManager.PROPERTY_SHOW_UTILITY_UPANE, Boolean.FALSE);
 prop.setInt(PropertiesManager.PROPERTY_DEFAULT_PAGEFIT, DocumentViewController.PAGE_FIT_WINDOW_HEIGHT);
 prop.set(PropertiesManager.PROPERTY_IMAGING_REFERENCE_TYPE, ImageReferenceFactory.ImageReference.BLURRED.toString());

I've made a very small change to org.icepdf.ri.common.views.AbstractPageViewComponent which I believe will fix the pixelated buffer you are seeing.

Any chance I can get you to update the file via SVN and try out the fix? I still can't reproduce it with my viewer component example.
I've tried to reproduce this using our viewer component but haven't had any luck. Can you list all the component configuration you're using to build the component. Also is it in a swing app, swt, javafx, windows, linux, etc.

I have a feeling that the page view isn't repainting after scaling for the height fit repaint. There are quite a few paint events that get fired during the loading process. Once I get a test case it would be nice to clean the extra events up.
Have a fix for this and it will be in the next release.
Thanks, I'll take a look.
Take a look at http://www.icesoft.org/JForum/posts/list/23376.page I work with a fellow on how to apply a patch and build the the opensource project from source.

Once the patch is applied (http://jira.icesoft.org/browse/PDF-1243), you will consistently see the application of your selected image reference type.

If you build off the trunk (http://anonsvn.icesoft.org/repo/icepdf/trunk/icepdf/) the PDF-1243 patch is already applied. The trunk is currently very stable.
The fix has been applied to the OS repo on the trunk. If you can't wait for an official release applying the patch to the 6.3.0 tag is relatively simple as the fix is a one liner.
Found a concurrency issue between our image pool and image proxy. Created http://jira.icesoft.org/browse/PDF-1243 for it. Fix ill be in 6.3.1.
I haven't created it yet as we are still evaluating feedback from some clients. The consensus so far is that the we need an application backing store but still have session properties that can be easily fed into the SwingBuilder.

6.3.0 moved away from the older Properties class and now uses "new in JDK 1.4" Preferences api. The sticky issues are related more to viewer setting that are part of the preferences panel that used to be set with system properties.

I would recommend you set the image reference property for all your applications. In 6.3 it would looks something like this.

 PropertiesManager properties = PropertiesManager.getInstance();
 properties.getPreferences().putFloat(PropertiesManager.PROPERTY_DEFAULT_ZOOM_LEVEL, 1.25f);
                         ImageReferenceFactory.ImageReference.BLURRED.toString() );
Once the property is set it will be sticky and can't be overridden by the system property which is the main issue.

Loading the PDF again will enable the blurred rendering. Otherwise once the image reference is changed it won't take effect until the page needs to be re-initialized.
Profile for patrick.corless -> Messages posted by patrick.corless [1939] Go to Page: Previous  1, 2, 3 , ... 128, 129, 130 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team