[Scummvm-tracker] [ScummVM :: Bugs] #12623: TRECISION: œ (o+e ligature) missing from French subtitles

ScummVM :: Bugs trac at scummvm.org
Thu Jul 1 12:01:06 UTC 2021


#12623: TRECISION: œ (o+e ligature) missing from French subtitles
------------------------+-----------------------------------------------
Reporter:  Kurufinwe21  |       Owner:  Kurufinwe21
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  Engine: Trecision
 Version:               |  Resolution:
Keywords:               |        Game:  Nightlong: Union City Conspiracy
------------------------+-----------------------------------------------
Comment (by Kurufinwe21):

 Also, I forgot that, in the code snippets above, the sizes of the arrays
 need to be updated, and also when those arrays are used later on.

 So it should be:
 {{{
         static const int8 fix140[69] = {
                 2, 6, 0, 1,
                 1, 1, 6, 0, 1,
                 0, 1, 1, 0, 2, 2, 0, 2, 0, 1,
                 0, 1, 1, 0, 2, 2, 0, 1, 0, 2,
                 0, 1, 1, 0, 2, 3, 0, 1, 0, 1,
                 0, 1, 1, 0, 2, 2, 0, 1, 0, 2,
                 0, 1, 1, 0, 2, 2, 0, 2, 0, 1,
                 1, 1, 6, 0, 1,
                 2, 6, 0, 1,
                 9
         };

         static const int8 fix156[64] = {
                 9,
                 9,
                 2, 2, 0, 1, 2, 0, 2,
                 1, 1, 2, 0, 1, 2, 0, 1, 0, 1,
                 0, 1, 1, 0, 2, 1, 0, 2, 1, 0, 1,
                 0, 1, 1, 0, 2, 4, 0, 1,
                 0, 1, 1, 0, 2, 1, 0, 3, 0, 1,
                 1, 1, 2, 0, 1, 3, 0, 1,
                 2, 2, 0, 1, 3, 0, 1,
                 9
         };

         delete _fonts[140]._data;
         delete _fonts[156]._data;
         _fonts[140]._width = _fonts[156]._width = 9;
         _fonts[140]._data = new int8[69];
         _fonts[156]._data = new int8[64];

         memcpy(_fonts[140]._data, fix140, 69);
         memcpy(_fonts[156]._data, fix156, 64);
 }}}

 (Once again, I cannot test this myself.)
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12623#comment:7>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list