[mapserver-commits] [MapServer/MapServer] cf4756: When a font is missing a glyph we try to fallback ...

Even Rouault noreply at github.com
Tue May 25 08:59:59 PDT 2021


  Branch: refs/heads/backport-6324-to-branch-7-6
  Home:   https://github.com/MapServer/MapServer
  Commit: cf4756ec0c748c6656f3ca7d0ec7aef2ddf1265b
      https://github.com/MapServer/MapServer/commit/cf4756ec0c748c6656f3ca7d0ec7aef2ddf1265b
  Author: Krister Wicksell <krister.wicksell at sokigo.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M fontcache.c

  Log Message:
  -----------
  When a font is missing a glyph we try to fallback to using a question mark

As it is now MapServer will fail to render if a layer is using characters that's not available in the font. This commit resolves this by trying to fallback to using a question mark in these situations.


  Commit: 0bbf943df3d81579f883f45d08ceb72f84f4236b
      https://github.com/MapServer/MapServer/commit/0bbf943df3d81579f883f45d08ceb72f84f4236b
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M fontcache.c

  Log Message:
  -----------
  msGetGlyphByIndex() / msGetGlyphOutline(): tweak debug/error messages


  Commit: 53ee29ed152edb5f940faad254ee38a8c9120513
      https://github.com/MapServer/MapServer/commit/53ee29ed152edb5f940faad254ee38a8c9120513
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    A msautotest/renderers/expected/font-fail-missing-glyph.png
    M msautotest/renderers/font-fail.map
    M textlayout.c

  Log Message:
  -----------
  check_single_font(): use quotation mark when msGetGlyphIndex() fails to retrieve the glyph


Compare: https://github.com/MapServer/MapServer/compare/cf4756ec0c74%5E...53ee29ed152e


More information about the mapserver-commits mailing list