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

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


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: a82083c2de03cedafd48f86f99b127483b2d899a
      https://github.com/MapServer/MapServer/commit/a82083c2de03cedafd48f86f99b127483b2d899a
  Author: Krister Wicksell <krister.wicksell at sokigo.com>
  Date:   2021-05-12 (Wed, 12 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: fd3658095614c18577cda4ddab765f522def8d2d
      https://github.com/MapServer/MapServer/commit/fd3658095614c18577cda4ddab765f522def8d2d
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2021-05-23 (Sun, 23 May 2021)

  Changed paths:
    M fontcache.c

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


  Commit: a72d95c2199aa12ac43281e4e605a1e208d2c4b4
      https://github.com/MapServer/MapServer/commit/a72d95c2199aa12ac43281e4e605a1e208d2c4b4
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2021-05-23 (Sun, 23 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: 8204b1745c8c6328698db0ad3d499578406a1a37
      https://github.com/MapServer/MapServer/commit/8204b1745c8c6328698db0ad3d499578406a1a37
  Author: Even Rouault <even.rouault at spatialys.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 #6324 from Sokigo-GLS/branch-allow-missing-glyph

Try to fallback to using a question mark if a glyph is missing in a font


Compare: https://github.com/MapServer/MapServer/compare/67115b34138d...8204b1745c8c


More information about the mapserver-commits mailing list