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

Jeff McKenna noreply at github.com
Tue May 25 09:37:50 PDT 2021


  Branch: refs/heads/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


  Commit: fe3c28aec0dfd14f1625b3f63e1afddd513bf19b
      https://github.com/MapServer/MapServer/commit/fe3c28aec0dfd14f1625b3f63e1afddd513bf19b
  Author: Jeff McKenna <jmckenna at gatewaygeomatics.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

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

  Log Message:
  -----------
  Merge pull request #6340 from MapServer/backport-6324-to-branch-7-6

[Backport branch-7-6] Try to fallback to using a question mark if a glyph is missing in a font


Compare: https://github.com/MapServer/MapServer/compare/3305bb0fbeb5...fe3c28aec0df


More information about the mapserver-commits mailing list