diff -Nru gv-3.5.8.orig/README.I18N gv-3.5.8/README.I18N --- gv-3.5.8.orig/README.I18N 1970-01-01 01:00:00.000000000 +0100 +++ gv-3.5.8/README.I18N 2005-05-23 19:45:33.000000000 +0200 @@ -0,0 +1,28 @@ +GV I18N Fontset Patch for Japanese + Keio University in Japan + 1998 Yasuyuki Furukawa + +This patch make gv to support Japanese NLS. + + if you can not see Japanese GV, please install + 10/12pt kanji fonts to X Window System, or edit + file `$(SRC)/source/gv_font_res-I18N_mb.dat' and + recompile. + +NEED: + Xaw3d 1.4, 1.5 has a fatal bug in MultiSrc.c line 735-740. + This GV's patch need Xaw3d library patched follow: + +diff -Ncr xc/lib/Xaw3d/MultiSrc.c xc-fix/lib/Xaw3d/MultiSrc.c +*** xc/lib/Xaw3d/MultiSrc.c Fri May 15 04:03:23 1998 +--- xc-fix/lib/Xaw3d/MultiSrc.c Fri Dec 18 09:59:52 1998 +*** 735,740 **** +--- 735,741 ---- + + if ( string_set || (old_src->multi_src.type != src->multi_src.type) ) { + RemoveOldStringOrFile(old_src, string_set); ++ src->multi_src.allocated_string = old_src->multi_src.allocated_string; + file = InitStringOrFile(src, string_set); + + /* Load pieces does this logic for us, but it shouldn't. Its messy.*/ + diff -Nru gv-3.5.8.orig/config.Unix gv-3.5.8/config.Unix --- gv-3.5.8.orig/config.Unix 1997-06-07 00:00:00.000000000 +0200 +++ gv-3.5.8/config.Unix 2005-05-23 19:45:33.000000000 +0200 @@ -115,6 +115,13 @@ #endif XCOMM -------------------------------------------------------------------- +XCOMM --- Fontset support for I18N (multibyte charactor) +XCOMM -------------------------------------------------------------------- +#define I18N_MB +#define NLS +LINGUAS = ja_JP.eucJP + +XCOMM -------------------------------------------------------------------- XCOMM --- Compiler flags. XCOMM -------------------------------------------------------------------- XCOMM CC = gcc diff -Nru gv-3.5.8.orig/source/Imakefile gv-3.5.8/source/Imakefile --- gv-3.5.8.orig/source/Imakefile 1997-06-21 00:00:00.000000000 +0200 +++ gv-3.5.8/source/Imakefile 2005-05-23 19:45:33.000000000 +0200 @@ -154,12 +154,19 @@ USER_DEFS_9 = -DUSE_FALLBACK_STYLES #endif +#ifdef I18N_MB + I18NMB = -I18N_mb + I18N_DEFS = -DI18N_MB +#else +#undef NLS +#endif + SYS_LIBS_1 = -lm XawClientLibs USER_DEFINES = $(USER_DEFS_0) $(USER_DEFS_1) $(USER_DEFS_2) $(USER_DEFS_3)\ $(USER_DEFS_4) $(USER_DEFS_5) $(USER_DEFS_6) $(USER_DEFS_7)\ $(USER_DEFS_8) $(USER_DEFS_9) $(USER_DEFS_10) $(USER_DEFS_11)\ - $(USER_DEFS_12) $(USER_DEFS_13) $(USER_DEFS_14) $(USER_DEFS_15) + $(USER_DEFS_12) $(USER_DEFS_13) $(USER_DEFS_14) $(USER_DEFS_15) $(I18N_DEFS) SRCS = $(SRCS_0) $(SRCS_1) $(SRCS_2) $(SRCS_3) $(SRCS_4) $(SRCS_5)\ $(SRCS_6) $(SRCS_7) $(SRCS_8) $(SRCS_9) $(SRCS_10) $(SRCS_11)\ $(SRCS_12) $(SRCS_13) $(SRCS_14) $(SRCS_15) @@ -175,7 +182,11 @@ DEPLIBS = XawClientDepLibs INSTDATFLAGS = -m 0644 +#ifdef I18N_MB +GV_FONT_RES_DAT = gv_font_res-I18N_mb.dat +#else GV_FONT_RES_DAT = gv_font_res.dat +#endif GV_MAKE_RES_DAT = gv_make_res.dat GV_MISC_RES_DAT = gv_misc_res.dat GV_USER_RES_DAT = gv_user_res.dat @@ -216,6 +227,26 @@ InstallNonExec($(GV_USER_AD),$(GV_LIBDIR)) InstallNonExec($(GV_CLASS_AD),$(GV_LIBDIR)) InstallAppDefaults($(GV_CLASS_NAME)) + +#ifdef NLS +install:: $(GV_SYSTEM_AD) + @for LNG in $(LINGUAS);do \ + [ -f gv_nls_$$LNG.dat ] || continue; \ + cat $(GV_SYSTEM_AD) > GV_$$LNG.ad; \ + cat gv_nls_$$LNG.dat >> GV_$$LNG.ad; \ + [ -d $(DESTDIR)$(SHAREDIR)/$$LNG/app-defaults ] || \ + $(MKDIRHIER) $(DESTDIR)$(SHAREDIR)/$$LNG/app-defaults; \ + $(INSTALL) $(INSTALLFLAGS) \ + GV_$$LNG.ad $(DESTDIR)$(SHAREDIR)/$$LNG/app-defaults/GV; \ + done + +clean:: + @for LNG in $(LINGUAS);do \ + [ -f GV_$$LNG.ad ] && rm -f GV_$$LNG.ad; \ + done + +#endif + #ifndef USE_FALLBACK_STYLES InstallNonExec($(GV_STYLE_1_DAT),$(GV_LIBDIR)) #endif diff -Nru gv-3.5.8.orig/source/Vlist.c gv-3.5.8/source/Vlist.c --- gv-3.5.8.orig/source/Vlist.c 1997-06-07 00:00:00.000000000 +0200 +++ gv-3.5.8/source/Vlist.c 2005-05-23 19:45:33.000000000 +0200 @@ -317,12 +317,21 @@ if (s) { char *nl = strchr(s,'\n'); if (nl) *nl = '\0'; +#ifdef I18N_MB + XmbDrawString(XtDisplay(w), XtWindow(w), + vw->label.fontset, vw->label.normal_GC, + vw->label.label_x, + vw->label.label_y+entry*vw->label.label_height/vw->vlist.entries + - XExtentsOfFontSet(vw->label.fontset)->max_logical_extent.y +1, + s, (int)strlen(s)); +#else XDrawString(XtDisplay(w), XtWindow(w), vw->label.normal_GC, vw->label.label_x, vw->label.label_y+entry*(vw->label.font->max_bounds.ascent + vw->label.font->max_bounds.descent) + vw->label.font->max_bounds.ascent, s, (int)strlen(s)); +#endif if (nl) *nl = '\n'; } ENDMESSAGE1(PaintEntryString) diff -Nru gv-3.5.8.orig/source/callbacks.c gv-3.5.8/source/callbacks.c --- gv-3.5.8.orig/source/callbacks.c 1997-06-21 00:00:00.000000000 +0200 +++ gv-3.5.8/source/callbacks.c 2005-05-23 19:45:33.000000000 +0200 @@ -764,12 +764,6 @@ BEGINMESSAGE(cb_openFile) XawFileSelectionRemoveButton(FileSel, 3); - n=0; - XtSetArg(args[n], XtNtitle, "Open File"); ++n; - XtSetValues(FileSel_popup, args, n); - n=0; - XtSetArg(args[n], XtNlabel, "Open File"); ++n; - XtSetValues(button, args, n); XtRemoveAllCallbacks(button, XtNcallback); XtAddCallback(button, XtNcallback,cb_doOpenFile,NULL); diff -Nru gv-3.5.8.orig/source/dialog.c gv-3.5.8/source/dialog.c --- gv-3.5.8.orig/source/dialog.c 1997-06-07 00:00:00.000000000 +0200 +++ gv-3.5.8/source/dialog.c 2005-05-23 19:45:33.000000000 +0200 @@ -271,7 +271,11 @@ # define DIALOG_POPUP_TEXT_MIN_WIDTH 100 String os; Dimension lm,rm,bw,nw; +#ifdef I18N_MB + XFontSet fontset; +#else XFontStruct *font; +#endif BEGINMESSAGE(DialogPopupSetText) if (!s) {INFMESSAGE(no text) ENDMESSAGE(DialogPopupSetText) return;} @@ -279,7 +283,11 @@ response = XtNameToWidget(DIALOG_POPUP, "*dialog_text"); n=0; +#ifdef I18N_MB + XtSetArg(args[n], XtNfontSet, &fontset); n++; +#else XtSetArg(args[n], XtNfont, &font); n++; +#endif XtSetArg(args[n], XtNleftMargin, &lm); n++; XtSetArg(args[n], XtNrightMargin, &rm); n++; XtSetArg(args[n], XtNborderWidth, &bw); n++; @@ -287,8 +295,13 @@ XtSetArg(args[n], XtNwidth, &width); n++; XtGetValues(response, args, n); n=0; +#ifdef I18N_MB + nw= XmbTextEscapement( fontset, s, strlen(s)) +#else nw= ((font->max_bounds.width+font->min_bounds.width)*((Dimension)strlen(s))+1)/2 +#endif +lm+rm+DIALOG_POPUP_FREE_SPACE+2*bw; + if (nwwidth) { INFIMESSAGE(new width,nw) diff -Nru gv-3.5.8.orig/source/gv_font_res-I18N_mb.dat gv-3.5.8/source/gv_font_res-I18N_mb.dat --- gv-3.5.8.orig/source/gv_font_res-I18N_mb.dat 1970-01-01 01:00:00.000000000 +0100 +++ gv-3.5.8/source/gv_font_res-I18N_mb.dat 2005-05-23 19:46:28.000000000 +0200 @@ -0,0 +1,52 @@ + +!########## gv_font_res_linux.dat +GV*international: True + +!##### Fonts + +GV*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*SmeBSB.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.processButton.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.Label*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.Button*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.locator*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.dateButton*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.titleButton*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.prevPage*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV.?.nextPage*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*newtoc.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*fileSel*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*fileSel*button1.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*fileSel*button2.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*fileSel*button3.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*fileSel*button4.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*fileSel*pathtext*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionsetupPopup*Label*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionsetupPopup*confirmButton.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionsetupPopup*Switch*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionsetupPopup*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionsetupPopup*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongvPopup*Label*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongvPopup*Switch*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongvPopup*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongvPopup*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionfsPopup*Label*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionfsPopup*Switch*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionfsPopup*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optionfsPopup*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongsPopup*Label*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongsPopup*Switch*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongsPopup*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*optiongsPopup*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*dialogPopup*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*dialogPopup*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*dialogPopup*message*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*notePopup*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*notePopup*message*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*confirmPopup*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*confirmPopup*Button.fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*versionPopup*Label*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*versionPopup*versionTexta*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*versionPopup*versionTextb*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* +GV*infoPopup*Text*fontSet: -efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,* diff -Nru gv-3.5.8.orig/source/gv_misc_res.dat gv-3.5.8/source/gv_misc_res.dat --- gv-3.5.8.orig/source/gv_misc_res.dat 1997-06-21 00:00:00.000000000 +0200 +++ gv-3.5.8/source/gv_misc_res.dat 2005-05-23 19:45:33.000000000 +0200 @@ -220,6 +220,10 @@ GV*optionsetupPopup*mediasFrame.forcedWidth: 240 GV*optionsetupPopup*mediasFrame.forcedHeight: 400 +!##### FileSet Popup + +GV*fileSelPopup.title: Open File + !##### Panner GV*pannerFrame.frameType: sunken @@ -317,6 +321,7 @@ GV*filters.label: Filters: GV*dirs.label: Directories GV*button1.label: Cancel +GV*button2.label: Open File GV*rescan.label: Rescan Directory GV*screenSizeLabel.label: Screen Size (mm) diff -Nru gv-3.5.8.orig/source/gv_nls_ja_JP.eucJP.dat gv-3.5.8/source/gv_nls_ja_JP.eucJP.dat --- gv-3.5.8.orig/source/gv_nls_ja_JP.eucJP.dat 1970-01-01 01:00:00.000000000 +0100 +++ gv-3.5.8/source/gv_nls_ja_JP.eucJP.dat 2005-05-23 19:45:33.000000000 +0200 @@ -0,0 +1,202 @@ +! +!** Copyright (C) 1995, 1996, 1997 Johannes Plass +! +! This program is free software; you can redistribute it and/or modify +! it under the terms of the GNU General Public License as published by +! the Free Software Foundation; either version 2 of the License, or +! (at your option) any later version. +! +! This program is distributed in the hope that it will be useful, +! but WITHOUT ANY WARRANTY; without even the implied warranty of +! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +! GNU General Public License for more details. +! +! You should have received a copy of the GNU General Public License +! along with this program; if not, write to the Free Software +! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +! +! Author: Johannes Plass (plass@thep.physik.uni-mainz.de) +! Department of Physics +! Johannes Gutenberg-University +! Mainz, Germany +! +! +! gv_ja_JP.eucJP.ad +! Japanese NLS label for gv by +! 1998 Yasuyuki Furukawa (yasu@on.cs.keio.ac.jp) +! + + +!##### Zoom Popup + +GV*zoomPopup.title: GV - ³ÈÂç²èÌÌ + +!##### Info Popup + +GV*infoPopup.title: GhostScript¥á¥Ã¥»¡¼¥¸ + +!##### Dialog Popup + +GV*dialogPopup.title: ¥À¥¤¥¢¥í¥° + +!##### Note Popup + +GV*notePopup.title: ¥á¥Ã¥»¡¼¥¸ + +!##### Confirm Popup + +GV*confirmPopup.title: ³Îǧ + +!##### OptionsSetup Popup + +GV*optionfsPopup.title: ¥Õ¥¡¥¤¥ëÁªÂò¥ª¥×¥·¥ç¥ó + +!##### OptionsGS Popup + +GV*optiongsPopup.title: Ghostscript¥ª¥×¥·¥ç¥ó + +!##### OptionsGV Popup + +GV*optiongvPopup.title: GV¥ª¥×¥·¥ç¥ó + +!##### OptionsSetup Popup + +GV*optionsetupPopup.title: ¥»¥Ã¥È¥¢¥Ã¥×¥ª¥×¥·¥ç¥ó + +!##### FileSet Popup + +GV*fileSelPopup.title: ¥Õ¥¡¥¤¥ë¤ò³«¤¯ + +!################################################ +!##### Labels +!################################################ + +GV*cancel.Label: ¥­¥ã¥ó¥»¥ë +GV*dismiss.Label: ÊĤ¸¤ë +GV*apply.label: ŬÍÑ +GV*copyright.Label: Ãøºî¸¢ +GV*quit.Label: ½ªÎ» +GV*fileButton.Label: ¥Õ¥¡¥¤¥ë +GV*open.Label: ³«¤¯ ... +GV*reopen.Label: ºÆ¥ª¡¼¥×¥ó +GV*update.Label: ¹¹¿· +GV*printAllPages.Label: ʸ¾Ï°õºþ ... +GV*printMarkedPages.Label: ¥Þ¡¼¥¯¤·¤¿¥Ú¡¼¥¸¤Î°õºþ... +GV*saveAllPages.Label: ʸ¾ÏÊݸ ... +GV*saveMarkedPages.Label: ¥Þ¡¼¥¯¤·¤¿¥Ú¡¼¥¸¤ÎÊݸ... +GV*stateButton.Label: ´Ä¶­ÀßÄê +GV*stop.Label: ³ä¤ê¹þ¤ßÄä»ß +GV*dsc.Label: ʸ½ñ¹½Â¤¤Ë¤è¤ë¥¹¥Ú¥¯¥ÈÄ´À° +GV*eof.Label: EOF¥³¥á¥ó¥È¤ò̵»ë +GV*antialias.Label: ¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹ +GV*watchFile.Label: ¼«Æ°¥Õ¥¡¥¤¥ë¹¹¿· +GV*showTitle.Label: ¥¿¥¤¥È¥ëɽ¼¨ +GV*pixmap.Label: Backing Pixmap +GV*size.Label: ¼«Æ°¥µ¥¤¥ºÊѹ¹ +GV*watch.Label: ¼«Æ°¥Õ¥¡¥¤¥ë¹¹¿· +GV*optionsgv.Label: GV¥ª¥×¥·¥ç¥ó... +GV*optionsfs.Label: ¥Õ¥¡¥¤¥ëÁªÂò¥ª¥×¥·¥ç¥ó... +GV*optionsgs.Label: Ghostscript¥ª¥×¥·¥ç¥ó... +GV*optionssetup.Label: ¥»¥Ã¥È¥¢¥Ã¥×¥ª¥×¥·¥ç¥ó... +GV*pageButton.Label: ¥Ú¡¼¥¸ +GV*next.Label: ¼¡¤Ø +GV*show.Label: ºÆɽ¼¨ +GV*prev.Label: Á°¤Ø +GV*center.Label: Ãæ±û +GV*pageButton*current.Label: ¸½ºß¤Î¥Ú¡¼¥¸¤ò¥Þ¡¼¥¯/²ò½ü +GV*pageButton*even.Label: ¶ö¿ô¥Ú¡¼¥¸¤ò¥Þ¡¼¥¯/²ò½ü +GV*pageButton*odd.Label: ´ñ¿ô¥Ú¡¼¥¸¤ò¥Þ¡¼¥¯/²ò½ü +GV*pageButton*unmark.Label: Á´¥Þ¡¼¥¯²ò½ü +GV*processButton.Label: \ ¼Â¹Ô +GV*mark.Label: ¥Þ¡¼¥¯ +GV*prevPage.Label: << +GV*nextPage.Label: >> +GV*unmark.Label: ¥Þ¡¼¥¯²ò½ü +GV*automatic.Label: ¼«Æ° +GV*portrait.Label: ¥Ý¡¼¥È¥ì¡¼¥È +GV*landscape.Label: ¥é¥ó¥É¥¹¥±¡¼¥× +GV*upsidedown.Label: ¾å²¼È¿Å¾ +GV*seascape.Label: µÕ¥é¥ó¥É¥¹¥±¡¼¥× +GV*swap.Label: ¥é¥ó¥É¥¹¥±¡¼¥×ÊÑ´¹ +GV*toggleCurrent.label: ¸½ºß¤Î¥Ú¡¼¥¸¥Þ¡¼¥¯/²ò½ü +GV*toggleEven.label: ¶ö¿ô¥Ú¡¼¥¸¥Þ¡¼¥¯/²ò½ü +GV*toggleOdd.label: ´ñ¿ô¥Ú¡¼¥¸¥Þ¡¼¥¯/²ò½ü +GV*unmarkAll.label: Á´¥Þ¡¼¥¯²ò½ü +GV*printAll.label: Á´°õºþ +GV*printMarked.label: ¥Þ¡¼¥¯Éôʬ°õºþ +GV*saveAll.label: Á´Êݸ +GV*saveMarked.label: ¥Þ¡¼¥¯ÉôʬÊݸ +GV*openFile.label: ³«¤¯ +GV*redisplay.label: ºÆɽ¼¨ +GV*updateFile.label: ¥Õ¥¡¥¤¥ë¹¹¿· +GV*checkFile.label: ¥Õ¥¡¥¤¥ë¥Á¥§¥Ã¥¯ + +GV*filters.label: ¥Õ¥£¥ë¥¿: +GV*dirs.label: ¥Ç¥£¥ì¥¯¥È¥ê +GV*button1.label: ¥­¥ã¥ó¥»¥ë +GV*button2.label: ¥Õ¥¡¥¤¥ë¤ò³«¤¯ +GV*rescan.label: ¥Ç¥£¥ì¥¯¥È¥êºÆÆɹþ +GV*screenSizeLabel.label: ²èÌÌ¥µ¥¤¥º[mm] + +GV*versionPopup*versionDone*label: ÊĤ¸¤ë +GV*dialogPopup*cancel.label: ¥­¥ã¥ó¥»¥ë +GV*notePopup*done.label: λ²ò + +GV*confirmPopup*cancel.label: ¥­¥ã¥ó¥»¥ë +GV*confirmPopup*done.label: ½ªÎ» +GV*save.label: Êݸ + +GV*optiongvPopup*mediaLabel.label: \ Íѻ極¥¤¥º \ +GV*optiongvPopup*fmediaLabel.label: ȽÊÌÉÔÌÀ»þ¤ÎÍѻ極¥¤¥º +GV*optiongvPopup*orientLabel.label: \ ÍÑ»æ¤Î¸þ¤­ \ +GV*optiongvPopup*forientLabel.label: ȽÊÌÉÔÌÀ»þ¤ÎÍÑ»æ¸þ¤­ +GV*optiongvPopup*magLabel.label: ³ÈÂç½Ì¾® +GV*optiongvPopup*antialias.label: ¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹ +GV*optiongvPopup*respectDSC.label: DSC¤òÍ­¸ú +GV*optiongvPopup*eof.label: EOF¤ò̵»ë +GV*optiongvPopup*autoResize.label: ²ÄÊÑ¥µ¥¤¥º +GV*optiongvPopup*swapLandscape.label: ¥é¥ó¥É¥¹¥±¡¼¥×ÊÑ´¹ +GV*optiongvPopup*scalesLabel.label: \ ¥¹¥±¡¼¥ë \ + +GV*miscmenuLabel.label: ¤½¤Î¾¥á¥Ë¥å¡¼¥¨¥ó¥È¥ê +GV*magmenuLabel.label: ³ÈÂç¥á¥Ë¥å¡¼¥¨¥ó¥È¥ê +GV*mediasLabel.label: ¥á¥Ç¥£¥¢¤ÎÂ礭¤µ +GV*confirmLabel.label: ½ªÎ»»þ¤Î³Îǧ +GV*misc.label: ¤½¤Î¾ +GV*scrolling.label: ¥¹¥¯¥í¡¼¥ëȿž +GV*eyeGuide.label: ¥¹¥¯¥í¡¼¥ë¥¬¥¤¥É +GV*confirmPrint.label: °õºþ»þ¤Î³Îǧ +GV*uncompressLabel.label: °µ½ÌŸ³« +GV*autoCenter.label: ¼«Æ°Åª¤ËÃæ±û¤Ø +GV*printCommandLabel.label: °õºþ¥³¥Þ¥ó¥É +GV*scratchDirLabel.label: ¥¹¥¯¥é¥Ã¥Á¥Ç¥£¥ì¥¯¥È¥ê +GV*saveDirLabel.label: Êݸ¥Ç¥£¥ì¥¯¥È¥ê +GV*scalesLabel.label: ¥¹¥±¡¼¥ë +GV*scaleBaseLabel.label: ¥¹¥±¡¼¥ë¥Ù¡¼¥¹ + +GV*safer.label: ¤è¤ê°ÂÁ´¤Ë +GV*quiet.label: ½ªÎ» +GV*defaults.label: ¥·¥¹¥Æ¥àɸ½àÃÍ +GV*scanLabel.label: PDFÆɤ߹þ¤ß +GV*convLabel.label: PDFÊÑ´¹ +GV*gsLabel.label: Postscript¥¨¥ó¥¸¥ó +GV*x11devLabel.label: ¥Ç¥Ð¥¤¥¹ +GV*x11alphadevLabel.label: ¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¥Ç¥Ð¥¤¥¹ +GV*argumentsLabel.label: °ú¿ô + +GV*filtersLabel.label: ¥Õ¥¡¥¤¥ëÁªÂò¥Õ¥£¥ë¥¿ +GV*dirsLabel.label: ¥Õ¥¡¥¤¥ëÁªÂò¥Ç¥£¥ì¥¯¥È¥ê +GV*filterLabel.label: ɸ½à¥Õ¥£¥ë¥¿ + +GV*miscMenu.update.label: ¥Õ¥¡¥¤¥ë¹¹¿· +GV*miscMenu.redisplay.label: ºÆɽ¼¨ +GV*miscMenu.stop.label: ³ä¤ê¹þ¤ßÄä»ß +GV*miscMenu.toggle_current.label: ¸½ºß¤Î¥Ú¡¼¥¸¥Þ¡¼¥¯/²ò½ü +GV*miscMenu.toggle_odd.label: ´ñ¿ô¥Ú¡¼¥¸¥Þ¡¼¥¯/²ò½ü +GV*miscMenu.toggle_even.label: ¶ö¿ô¥Ú¡¼¥¸¥Þ¡¼¥¯/²ò½ü +GV*miscMenu.unmark.label: Á´¥Þ¡¼¥¯²ò½ü +GV*miscMenu.print_all.label: Á´°õºþ +GV*miscMenu.print_marked.label: ¥Þ¡¼¥¯Éôʬ°õºþ +GV*miscMenu.save_all.label: Á´Êݸ +GV*miscMenu.save_marked.label: ¥Þ¡¼¥¯ÉôʬÊݸ + diff -Nru gv-3.5.8.orig/source/gv_nls_ko.dat gv-3.5.8/source/gv_nls_ko.dat --- gv-3.5.8.orig/source/gv_nls_ko.dat 1970-01-01 01:00:00.000000000 +0100 +++ gv-3.5.8/source/gv_nls_ko.dat 2005-05-23 19:45:33.000000000 +0200 @@ -0,0 +1,202 @@ +! +!** Copyright (C) 1995, 1996, 1997 Johannes Plass +! +! This program is free software; you can redistribute it and/or modify +! it under the terms of the GNU General Public License as published by +! the Free Software Foundation; either version 2 of the License, or +! (at your option) any later version. +! +! This program is distributed in the hope that it will be useful, +! but WITHOUT ANY WARRANTY; without even the implied warranty of +! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +! GNU General Public License for more details. +! +! You should have received a copy of the GNU General Public License +! along with this program; if not, write to the Free Software +! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +! +! Author: Johannes Plass (plass@thep.physik.uni-mainz.de) +! Department of Physics +! Johannes Gutenberg-University +! Mainz, Germany +! +! +! gv_euc-kr.ad +! Korean NLS label for gv by +! 1999 Sang-Jin Hwang, (hsjlinux@netian.com) +! + + +!##### Zoom Popup + +GV*zoomPopup.title: GV - È®´ë + +!##### Info Popup + +GV*infoPopup.title: °í½ºÆ® ½ºÅ©¸³Æ® ¸Þ½ÃÁö + +!##### Dialog Popup + +GV*dialogPopup.title: ´ÙÀÌ¾Ë·Î±× + +!##### Note Popup + +GV*notePopup.title: ¸Þ½ÃÁö + +!##### Confirm Popup + +GV*confirmPopup.title: È®ÀÎ + +!##### OptionsSetup Popup + +GV*optionfsPopup.title: ÆÄÀÏ ¼±Åà ¿É¼Ç + +!##### OptionsGS Popup + +GV*optiongsPopup.title: °í½ºÆ® ½ºÅ©¸³Æ® ¿É¼Ç + +!##### OptionsGV Popup + +GV*optiongvPopup.title: GV ¿É¼Ç + +!##### OptionsSetup Popup + +GV*optionsetupPopup.title: ¼³Á¤ ¿É¼Ç + +!##### FileSet Popup + +GV*fileSelPopup.title: ÆÄÀÏ ¿­±â + +!################################################ +!##### Labels +!################################################ + +GV*cancel.Label: Ãë¼Ò +GV*dismiss.Label: ´Ý±â +GV*apply.label: Àû¿ë +GV*copyright.Label: ÀúÀÛ±Ç +GV*quit.Label: Á¾·á +GV*fileButton.Label: ÆÄÀÏ +GV*open.Label: ¿­±â ... +GV*reopen.Label: Àç¿­±â +GV*update.Label: °æ½Å +GV*printAllPages.Label: ¹®¼­ Àμâ ... +GV*printMarkedPages.Label: ¸¶Å©ÇÑ ÆäÀÌÁö Àμâ ... +GV*saveAllPages.Label: ¹®¼­ ÀúÀå ... +GV*saveMarkedPages.Label: ¸¶Å©ÇÑ ÆäÀÌÁö ÀúÀå ... +GV*stateButton.Label: ȯ°æ ¼³Á¤ +GV*stop.Label: ÁßÁö +GV*dsc.Label: ¹®¼­ ±¸Á¶È­ +GV*eof.Label: EOF ÁÖ¼® ¹«½Ã +GV*antialias.Label: ¸Å²ô·¯¿î È­¸é ó¸® +GV*watchFile.Label: ÀÚµ¿ ÆÄÀÏ°æ½Å +GV*showTitle.Label: ŸÀÌƲ Ç¥½Ã +GV*pixmap.Label: Backing Pixmap +GV*size.Label: ÀÚµ¿ Å©±â Á¶Àý +GV*watch.Label: ÀÚµ¿ ÆÄÀÏ°æ½Å +GV*optionsgv.Label: GV ¿É¼Ç ... +GV*optionsfs.Label: ÆÄÀÏ ¼±Åà ¿É¼Ç ... +GV*optionsgs.Label: °í½ºÆ® ½ºÅ©¸³Æ® ¿É¼Ç ... +GV*optionssetup.Label: ¼³Á¤ ¿É¼Ç ... +GV*pageButton.Label: ÆäÀÌÁö +GV*next.Label: ´ÙÀ½ +GV*show.Label: È­¸é Àç½ÃÀÛ +GV*prev.Label: ÀÌÀü +GV*center.Label: Áß°£ +GV*pageButton*current.Label: ÇöÀçÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*pageButton*even.Label: ¦¼öÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*pageButton*odd.Label: Ȧ¼öÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*pageButton*unmark.Label: Àü ¸¶Å© ÇØÁ¦ +GV*processButton.Label: \ ÁøÇàÁß +GV*mark.Label: ¥Þ¸¶Å© +GV*prevPage.Label: << +GV*nextPage.Label: >> +GV*unmark.Label: Ç¥½Ã ¾ÈÇÔ +GV*automatic.Label: ÀÚµ¿ +GV*portrait.Label: Portrait +GV*landscape.Label: Landscape +GV*upsidedown.Label: »óÇÏ ¹ÝÀü +GV*seascape.Label: Seascape +GV*swap.Label: Landscapeº¯È¯ +GV*toggleCurrent.label: ÇöÀçÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*toggleEven.label: ¦¼öÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*toggleOdd.label: Ȧ¼öÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*unmarkAll.label: ¸ðµÎ Ç¥½Ã ¾ÈÇÔ +GV*printAll.label: ¸ðµÎ Àμâ +GV*printMarked.label: ¸¶Å©ºÎºÐ Àμâ +GV*saveAll.label: ¸ðµÎ ÀúÀå +GV*saveMarked.label: Ç¥½Ã ÀúÀå +GV*openFile.label: ¿­±â +GV*redisplay.label: È­¸é Àç½ÃÀÛ +GV*updateFile.label: ÆÄÀÏ°æ½Å +GV*checkFile.label: ÆÄÀÏ È®ÀÎ¥¯ + +GV*filters.label: ÇÊÅÍ¿: +GV*dirs.label: µð·ºÅ丮 +GV*button1.label: Ãë¼Ò +GV*button2.label: ÆÄÀÏ ¿­±â +GV*rescan.label: µð·ºÅ丮 °Ë»ö +GV*screenSizeLabel.label: ȸ¸é »çÀÌÁî¥[mm] + +GV*versionPopup*versionDone*label: Ãë¼Ò +GV*dialogPopup*cancel.label: Ãë¼Ò +GV*notePopup*done.label: ¿¹ + +GV*confirmPopup*cancel.label: Ãë¼Ò +GV*confirmPopup*done.label: Á¾·á +GV*save.label: ÀúÀå + +GV*optiongvPopup*mediaLabel.label: \ ¿ëÁö »çÀÌÁî \ +GV*optiongvPopup*fmediaLabel.label: ºÒÆǸí½ÃÀÇ ¿ëÁö »çÀÌÁî +GV*optiongvPopup*orientLabel.label: \ Í ¿ø »óÅ \ +GV*optiongvPopup*forientLabel.label: À© »óÅ·Πº¹±Í +GV*optiongvPopup*magLabel.label: È®´ëÃà¼Ò +GV*optiongvPopup*antialias.label: ´Ùµë±â +GV*optiongvPopup*respectDSC.label: DSC¸¦ À¯È¿ +GV*optiongvPopup*eof.label: EOF¸¦ ¹«½Ã +GV*optiongvPopup*autoResize.label: °¡º¯ »çÀÌÁî +GV*optiongvPopup*swapLandscape.label: Landscapeº¯È¯ +GV*optiongvPopup*scalesLabel.label: \ ½ºÄÉÀÏ \ + +GV*miscmenuLabel.label: ±âŸ ¸Þ´º +GV*magmenuLabel.label: È®´ë ¸Þ´º ¸ñ·Ï +GV*mediasLabel.label: ¹Ìµð¾î Å©±â +GV*confirmLabel.label: È®ÀÎ Á¾·á +GV*misc.label: ±âŸ +GV*scrolling.label: ½ºÅ©·Ñ ¹ÝÀü +GV*eyeGuide.label: ½ºÅ©·Ñ °¡À̵å +GV*confirmPrint.label: Àμâ½Ã È®ÀÎ +GV*uncompressLabel.label: ¾ÐÃà Àü°³ +GV*autoCenter.label: ÀÚµ¿ÀûÀ¸·Î Áß¾ÓÀ¸·Î +GV*printCommandLabel.label: Àμ⠸í·É¾î +GV*scratchDirLabel.label: ½ºÅ©·¹Ä¡ µð·ºÅ丮 +GV*saveDirLabel.label: µð·ºÅ丮 ÀúÀå +GV*scalesLabel.label: ½ºÄÉÀÏ +GV*scaleBaseLabel.label: ±âº» ½ºÄÉÀÏ + +GV*safer.label: º¸´Ù ¾ÈÀüÇÏ°Ô +GV*quiet.label: Á¾·á +GV*defaults.label: ½Ã½ºÅÛ Ç¥ÁØ°ª +GV*scanLabel.label: PDF °Ë»ö +GV*convLabel.label: PDF º¯È¯ +GV*gsLabel.label: ÀÎÅÍ·´Æ® +GV*x11devLabel.label: µð¹ÙÀ̽º +GV*x11alphadevLabel.label: µð¹ÙÀ̽º Á¶Á¤¹ +GV*argumentsLabel.label: Àμö + +GV*filtersLabel.label: ÆÄÀÏ ¼±Åà ÇÊÅÍ¥¿ +GV*dirsLabel.label: ÆÄÀÏ ¼±Åà µð·ºÅ丮 +GV*filterLabel.label: ±âº» ÇÊÅÍ + +GV*miscMenu.update.label: ÆÄÀÏ°æ½Å +GV*miscMenu.redisplay.label: È­¸é ÀçÁ¶Á¤ +GV*miscMenu.stop.label: ÀÎÅÍ·´Æ® ÁßÁö +GV*miscMenu.toggle_current.label: ÇöÀçÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*miscMenu.toggle_odd.label: Ȧ¼öÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*miscMenu.toggle_even.label: ¦¼öÆäÀÌÁö ¸¶Å©/ÇØÁ¦ +GV*miscMenu.unmark.label: ¸ðµÎ Ç¥½Ã ¾ÈÇÔ +GV*miscMenu.print_all.label: ¸ðµÎ Àμâ +GV*miscMenu.print_marked.label: ¸¶Å© ºÎºÐ Àμâ +GV*miscMenu.save_all.label: ¸ðµÎ ÀúÀå +GV*miscMenu.save_marked.label: Ç¥½Ã ÀúÀå + diff -Nru gv-3.5.8.orig/source/info.c gv-3.5.8/source/info.c --- gv-3.5.8.orig/source/info.c 1997-04-26 00:00:00.000000000 +0200 +++ gv-3.5.8/source/info.c 2005-05-23 19:45:33.000000000 +0200 @@ -64,6 +64,22 @@ static Bool infoPopupVisible = False; static int info_length; +#ifdef I18N_MB +static int FontSetWidth( XFontSet fnt ) { + XRectangle ink_array_return, logical_array_return; + XRectangle overall_ink_return, overall_logical_return; + int num_chars_return; + XmbTextPerCharExtents( fnt, "A", 1, + &ink_array_return, + &logical_array_return, 1, + &num_chars_return, + &overall_ink_return, + &overall_logical_return ); + return( overall_logical_return.width ); +} +#define FontSetHeight(fnt) (XExtentsOfFontSet(fnt)->max_logical_extent.height) +#endif + /*############################################################################### cb_popupInfoPopup ###############################################################################*/ @@ -178,7 +194,11 @@ Cardinal n; Dimension bottomMargin, leftMargin, rightMargin, topMargin; Dimension width, height; +#ifdef I18N_MB + XFontSet fontset; +#else XFontStruct *font; +#endif BEGINMESSAGE(makeInfoPopup) @@ -209,15 +229,24 @@ XtAddCallback(infodismiss, XtNcallback, cb_popdownInfoPopup,NULL); n=0; +#ifdef I18N_MB + XtSetArg(args[n], XtNfontSet, &fontset); n++; +#else XtSetArg(args[n], XtNfont, &font); n++; +#endif XtSetArg(args[n], XtNbottomMargin, &bottomMargin); n++; XtSetArg(args[n], XtNleftMargin, &leftMargin); n++; XtSetArg(args[n], XtNrightMargin, &rightMargin); n++; XtSetArg(args[n], XtNtopMargin, &topMargin); n++; XtGetValues(infotext,args,n); +#ifdef I18N_MB + width = FontSetWidth(fontset) * 80 + leftMargin + rightMargin; + height = FontSetHeight(fontset) * 22 + topMargin + bottomMargin; +#else width = font->max_bounds.width * 80 + leftMargin + rightMargin; height = (font->ascent + font->descent) * 22 + topMargin + bottomMargin; +#endif n=0; XtSetArg(args[0], XtNwidth, width); n++; diff -Nru gv-3.5.8.orig/source/main.c gv-3.5.8/source/main.c --- gv-3.5.8.orig/source/main.c 1997-06-21 00:00:00.000000000 +0200 +++ gv-3.5.8/source/main.c 2005-05-23 19:45:33.000000000 +0200 @@ -257,6 +257,33 @@ /*### initializing toolkit and the application context #################*/ +#ifdef I18N_MB + /* + Make sure that LC_NUMERIC is POSIX. + LC_NUMERIC must not use locales like de_DE.UTF-8 or de_DE@eurowhere + the decimal separator is ',' or gv will fail with the + message "**** Unable to open the initial device, quitting." + */ + if (getenv("LC_ALL")) { + char *locale; + locale = getenv("LC_ALL"); + unsetenv("LC_ALL"); + setenv("LC_CTYPE", locale, 1); + setenv("LC_NUMERIC", locale, 1); + setenv("LC_TIME", locale, 1); + setenv("LC_COLLATE", locale, 1); + setenv("LC_MONETARY", locale, 1); + setenv("LC_MESSAGES", locale, 1); + setenv("LC_PAPER", locale, 1); + setenv("LC_NAME", locale, 1); + setenv("LC_ADDRESS", locale, 1); + setenv("LC_TELEPHONE", locale, 1); + setenv("LC_MEASUREMENT", locale, 1); + setenv("LC_IDENTIFICATION", locale, 1); + } + setenv("LC_NUMERIC", "POSIX", 1); + XtSetLanguageProc(NULL, NULL, NULL); +#endif INFMESSAGE(initializing toolkit and the application context) XtToolkitInitialize(); app_con = XtCreateApplicationContext(); diff -Nru gv-3.5.8.orig/source/misc_private.c gv-3.5.8/source/misc_private.c --- gv-3.5.8.orig/source/misc_private.c 1997-06-07 00:00:00.000000000 +0200 +++ gv-3.5.8/source/misc_private.c 2005-05-23 19:45:33.000000000 +0200 @@ -72,18 +72,32 @@ if (text) { /* most of the following comes from X11/Xaw/Label.c */ Position x,y; INFSMESSAGE(update_label,text) +#ifdef I18N_MB + y = w->label.label_y - XExtentsOfFontSet(w->label.fontset)->max_logical_extent.y; +#else y = w->label.label_y + w->label.font->max_bounds.ascent; +#endif if (w->label.justify == XtJustifyCenter) { unsigned int width; int len = (int) strlen(text); +#ifdef I18N_MB + XFontSet fs = w->label.fontset; + width = XmbTextEscapement(fs, text, (int)len ); +#else XFontStruct *fs = w->label.font; if (w->label.encoding) width = XTextWidth16 (fs, (XChar2b*)text, (int)(len/2) ); else width = XTextWidth (fs, text , (int)(len) ); +#endif x = (Position) ((w->core.width-width)/2); } else { x = w->label.internal_width + w->threeD.shadow_width; } +#ifdef I18N_MB + XmbDrawString(XtDisplay(widget), XtWindow(widget), + w->label.fontset, w->label.normal_GC, + x, y, text, (int)(strlen(text))); +#else if (w->label.encoding) { XDrawString16(XtDisplay(widget), XtWindow(widget), w->label.normal_GC, @@ -93,6 +107,7 @@ w->label.normal_GC, x, y, text, (int)(strlen(text))); } +#endif } ENDMESSAGE1(update_label)