}
static char *fontpaths[]={
+ "/usr/share/fonts",
"/usr/X11R6/lib/X11/fonts/msttcorefonts",
"/usr/X11R6/lib/X11/fonts/truetype",
"/usr/share/fonts/truetype",
dbg(1,("font : %s\n",fontpath));
if (!FT_New_Face( gr->library, fontpath, 0, &font->face ))
break;
+ sprintf(fontpath,"%s/NcrBI4nh.ttf",*filename);
+ dbg(1,("font : %s\n",fontpath));
+ if (!FT_New_Face( gr->library, fontpath, 0, &font->face ))
+ break;
filename++;
}
if (! *filename) {
{ "ZoomInAction", GTK_STOCK_ZOOM_IN, _n("ZoomIn"), NULL, NULL, G_CALLBACK(zoom_in_action) },
{ "RefreshAction", GTK_STOCK_REFRESH, _n("Refresh"), NULL, NULL, G_CALLBACK(refresh_action) },
{ "RoadbookAction", GTK_STOCK_JUSTIFY_FILL, _n("Roadbook"), NULL, NULL, G_CALLBACK(roadbook_action) },
+#ifdef GTK_STOCK_INFO
{ "InfoAction", GTK_STOCK_INFO, _n("Info"), NULL, NULL, G_CALLBACK(info_action) },
+#else
+ { "InfoAction", NULL, _n("Info"), NULL, NULL, G_CALLBACK(info_action) },
+#endif /*GTK_STOCK_INFO*/
{ "DestinationAction", "flag_icon", _n("Destination"), NULL, NULL, G_CALLBACK(destination_action) },
{ "RouteClearAction", NULL, _n("Clear"), NULL, NULL, G_CALLBACK(route_clear_action) },
{ "Test", NULL, _n("Test"), NULL, NULL, G_CALLBACK(destination_action) },
{ "CursorAction", "cursor_icon",_n("Cursor"), NULL, NULL, G_CALLBACK(cursor_action),TRUE },
{ "TrackingAction", NULL ,_n("Tracking"), NULL, NULL, G_CALLBACK(tracking_action),TRUE },
{ "OrientationAction", "orientation_icon", _n("Orientation"), NULL, NULL, G_CALLBACK(orient_north_action),FALSE },
+#ifdef GTK_STOCK_FULLSCREEN
{ "FullscreenAction",GTK_STOCK_FULLSCREEN, _n("Fullscreen"), NULL, NULL, G_CALLBACK(window_fullscreen_action), FALSE }
+#else
+ { "FullscreenAction", NULL, _n("Fullscreen"), NULL, NULL, G_CALLBACK(window_fullscreen_action), FALSE }
+#endif /*GTK_STOCK_FULLSCREEN*/
};
static guint n_toggleentries = G_N_ELEMENTS (toggleentries);