Skip to contentSkip to conversation

Turkish vga font

PATCH A. Alper ATICI 2 participants 2 messages Sep 26, 2003 – Sep 28, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

Here's a cp857 font for xdosemu.
You can use it by setting $_X_font to "vgatr", also make sure you have the following lines set:

$_layout = "tr"
$_internal_char_set = "cp857"

To have it installed via the usual "make install" command, the file vga-cp857.bdf should reside under etc and the attached diff be applied.

Alper

etc/dosemu.alias +1 -0
diff -ur dosemu-1.1.5/etc/dosemu.alias my/etc/dosemu.alias
@@ -4,3 +4,4 @@
 vga10x20     -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp866
 vga-ua       -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp1125
 vga10x20-ua  -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp1125
+vgatr        -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp857
src/arch/linux/Makefile.main +2 -0
diff -ur dosemu-1.1.5/src/arch/linux/Makefile.main my/src/arch/linux/Makefile.main
@@ -216,7 +216,9 @@
 		bdftopcf $(REALTOPDIR)/etc/vga11x19.bdf | gzip -c -9 > $(DESTDIR)$(x11fontdir)/vga11x19.pcf.gz; \
 		bdftopcf $(REALTOPDIR)/etc/vga-cp866.bdf | gzip -c -9 > $(DESTDIR)$(x11fontdir)/vga-cp866.pcf.gz; \
 		bdftopcf $(REALTOPDIR)/etc/vga10x20-cp866.bdf | gzip -c -9 > $(DESTDIR)$(x11fontdir)/vga10x20-cp866.pcf.gz; \
+		bdftopcf $(REALTOPDIR)/etc/vga-cp857.bdf | gzip -c -9 > $(DESTDIR)$(x11fontdir)/vga-cp857.pcf.gz; \
 		chmod 0644 $(DESTDIR)$(x11fontdir)/vga11x19.pcf.gz $(DESTDIR)$(x11fontdir)/vga-cp866.pcf.gz \
+          $(DESTDIR)$(x11fontdir)/vga-cp857.pcf.gz \
           $(DESTDIR)$(x11fontdir)/vga10x20-cp866.pcf.gz; \
 		if [ ! -f $(DESTDIR)$(x11fontdir)/fonts.alias ]; then \
 		  $(INSTALL) -m 0644 $(REALTOPDIR)/etc/dosemu.alias $(DESTDIR)$(x11fontdir)/fonts.alias; \
#1 lore raw
Quoted 9 lines · A. Alper ATICI

Here's a cp857 font for xdosemu.
You can use it by setting $_X_font to "vgatr", also make sure you have the following lines set:

$_layout = "tr"
$_internal_char_set = "cp857"

To have it installed via the usual "make install" command, the file vga-cp857.bdf should reside under etc and the attached diff be applied.

Thanks! One day I will probably collect some of the fonts that are floating around and make it into a seperate "vgafonts" archive; having them all in the main DOSEMU source would really make it a lot bigger.

Bart