fltk/visualc
Matthias Melcher c9908d97e3 THIS FIX CONTAINS TWO MORE FILES THAT MUST BE COMPILED. I would
like to ask the maintainers of the build environments to please
add these files to the setup:

  src/fl_encoding_latin1.cxx
  src/fl_encoding_mac_roman.cxx

I ADDED SOME DOCUMENTATION THAT NEEDS TO BE FIXED. Beeing not a
native English speaker, I have a hard time writing documentation.
Would someone please update my babbeling in 
documentation/drawing.html? Thanks.

This commit fixes some very basic problems with OS X's code page in
preparation for the compose-character keyboard fix. It also fixes
issues with MS Windows and X11 not rendering the characters
in the Western (Latin-1) set between 0x80 and 0x9F. In the original
ISO font, they were unused, but are now assigned to international
characters like the Euro currency sign.

This patch also tries to fix one basic flaw with FLTK 1 and
font encoding. I will not put much more work into this because
FLTK 1.2 and FLTK 2 fix the problem entirely by using UTF-8
instead of 8-bit "C"-style strings.

All these changes are only meaningful for foreign language
users or users of special characters like the Euro, the Degree
or the Permille symbol. A short explanation follows.

Max OS X uses a different code page than X11 and Win32. This means
that all characters above 0x7f have an entirely different meaning.
If your source code contains international characters, your 
text will appear different if you change to another OS. This patch
provides two functions that convert text with international
characters from the character set of the source code into the
local character set. Two more functions are provided to convert
them back. The functions are fl_latin1_to_local (source is in Win32 
or X11), fl_mac_roman_to_local (source was written on OS X) and the 
corresponding fl_local_to_latin1 and fl_local_to_mac_roman, which
are very useful if yoou want to store strings with intl. characters
that will be moved between systems.

All this is assuming a "Western" code page as it is common in
the Americas and most of Europe. User of other languages will have 
to use FLTK 2.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-18 13:07:42 +00:00
..
.cvsignore CVS ignore files... 2001-12-21 15:37:39 +00:00
adjuster.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
arc.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
ask.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
bitmap.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
boxtype.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
browser.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
button.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
buttons.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
checkers.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
clock.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
colbrowser.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
color_chooser.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
config.h Attempt to make 'localeconv()' part of the configuration process. VC6 works, but I'll need feedback for all other platforms... . Trying OS X in a few minutes. 2005-07-24 18:41:30 +00:00
cube.dsp Fix WIN32 build. 2002-01-09 15:23:11 +00:00
CubeView.dsp Fix WIN32 build. 2002-01-09 15:23:11 +00:00
cursor.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
curve.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
demo.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
doublebuffer.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
editor.dsp Fix WIN32 build. 2002-01-09 15:23:11 +00:00
fast_slow.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
file_chooser.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
fltk.dsw Added Sudoku test program to the VisualC 6 IDE files 2005-12-01 08:48:49 +00:00
fltk.lib.dsp THIS FIX CONTAINS TWO MORE FILES THAT MUST BE COMPILED. I would 2006-04-18 13:07:42 +00:00
fltkdll.dsp Add Fl::screen_count() and Fl::screen_xywh() APIs to support multi- 2005-03-31 16:01:24 +00:00
fltkforms.dsp Documentation updates (STR #245, STR #250, STR #277, STR #281) 2004-03-01 02:05:02 +00:00
fltkgl.dsp Documentation updates (STR #245, STR #250, STR #277, STR #281) 2004-03-01 02:05:02 +00:00
fltkimages.dsp WIN32 compile fixes... 2004-10-19 18:21:55 +00:00
fluid.dsp STR #783: added zlib to fluid path 2005-04-02 18:37:42 +00:00
fonts.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
forms.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
fractals.dsp Fix WIN32 build. 2002-01-09 15:23:11 +00:00
fullscreen.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
gl_overlay.dsp Fix WIN32 build. 2002-01-09 15:23:11 +00:00
glpuzzle.dsp Fix WIN32 build. 2002-01-09 15:23:11 +00:00
hello.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
help.dsp Fl_Help_View::topline() incorrectly set the changed() flag (STR 2004-12-03 02:48:22 +00:00
iconize.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
image.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
inactive.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
input_choice.dsp Added VisualC 6 IDE file for new Fl_Input_Choice test 2005-02-24 21:58:25 +00:00
input.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
jpeg.dsp WIN32 compile fixes... 2004-10-19 18:21:55 +00:00
keyboard.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
label.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
libpng.dsp Fl_Help_View::topline() incorrectly set the changed() flag (STR 2004-12-03 02:48:22 +00:00
line_style.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
mandelbrot.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
menubar.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
message.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
minimum.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
navigation.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
output.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
overlay.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
pack.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
pixmap_browser.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
pixmap.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
preferences.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
radio.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
resize.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
resizebox.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
scroll.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
shape.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
subwindow.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
sudoku.dsp Added Multimedia library to Sudoku for VisualC6 2005-12-11 00:22:00 +00:00
symbols.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
tabs.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
threads.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
tile.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
tiled_image.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
valuators.dsp Remove extraneous fltk.lib from linker options, since we use the VC++ 2005-01-04 15:17:02 +00:00
zlib.dsp WIN32 compile fixes... 2004-10-19 18:21:55 +00:00