James Turner
27410761f3
Lots of UTF8 path correctness fixes
2020-03-12 14:23:44 +00:00
Richard Harrison
7ab07eb1c0
Ensure fonts list cleared in destructor.
...
This is part of work trying to track down a segfault that is caused after a replay session (F-15).
2019-01-26 18:20:52 +01:00
James Turner
85f75dee4f
Fix a couple of potential crashes on exit.
...
- Font cache shutdown explicitly
- Pending GUI snapshot cleared explicitly
Both of these are dependencies on the osgViewer / GLContext.
2016-12-10 23:24:09 +00:00
Erik Hofman
7ed4a5162e
Replace auto_ptr with unique_ptr
2016-12-07 11:03:54 +01:00
James Turner
6d0c2070fd
Use future-proof SGPath APIs.
...
Remove uses of .str(), .c_str() and some other methods of SGPath.
Pass SGPath directly where possible, or explicitly convert to the
appropriate 8-bit encoding.
2016-06-28 10:08:38 +01:00
James Turner
16814800ce
Use Paths instead of strings.
2016-06-22 17:36:05 +01:00
James Turner
fc9c43b48d
Remove FontCache from globals.
...
- access via a singleton instead.
2016-01-03 12:00:15 -06:00
ThorstenB
ec739a17c2
Fix compiler warning
...
(access beyond array bounds)
2012-07-17 19:32:05 +02:00
ThorstenB
056b85bc1f
Add Latin1 character subset to default FG font.
...
Copies HELVETICA_12 from PLIB to FG, adding some more chars needed for
Latin1/ISO-8859-1 (West European languages).
(SANS_12B and HELVETICA_14 also support Latin1, but not the other default
PLIB fonts).
2012-04-21 19:06:11 +02:00
James Turner
a05ea36acb
Restructure GUI code, isolate PLIB in source files, to ease future refactoring and alternative GUI layers.
2011-11-19 20:25:51 +00:00