Image pixel size inconsistency

Hi, I have 16x16 texture I am loading using Gtkmm Image. Surprsingly, the rendered image pixel size is 14X14, and some unwanted distortion occurs. Following is my code, am I doing something wrong?

int main(int argc, char* argv[]) {
	Gtk::Main kit(argc, argv);
	Gtk::Window window;
	Gtk::Box vbox(Gtk::ORIENTATION_VERTICAL);
	window.add(vbox);
	Gtk::Image image;
	image.set("texture.jpg");
	vbox.add(image);
	window.show_all();
	Gtk::Main::run(window);
	return EXIT_SUCCESS;
}

Updating that the inconsistency only occurs on windows, Linux is fine. Is this a bug?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.