PDF page not rendering properly if the page is changed

2018-11-28 Thread Радомир Хаџић via gtk-app-devel-list
Hello. I've sent as an attachment a code for a very simple PDF viewer. It is not that well written but that's because I wanted it to be simple and easy to understand. The purpose of the program is to illustrate a problem that I'm having with my larger project. The problem is that if a user

Re: PDF page not rendering properly if the page is changed

2018-11-28 Thread Germán Poo-Caamaño
On Wed, 2018-11-28 at 17:17 +0100, Радомир Хаџић via gtk-app-devel-list wrote: > Hello. > > I've sent as an attachment a code for a very simple PDF viewer. It is > not that well written but that's because I wanted it to be simple and > easy to understand. The purpose of the program is to

Re: PDF page not rendering properly if the page is changed

2018-11-28 Thread Eric Cashon via gtk-app-devel-list
Didn't get an attachment either. Try something like the following and see if it makes any difference. ...     GtkWidget *da=gtk_drawing_area_new();     //Request a large drawing area.     gtk_widget_set_size_request(da, 1, 1);     GtkWidget *scroll=gtk_scrolled_window_new(NULL,