diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-11-14 14:32:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 14:32:16 (GMT) |
commit | 8bc0c44016da8b272ba60110c8683a5d24e77268 (patch) | |
tree | f9f3ecff4ecd3e8a84ae2cf0d5900718a725804d | |
parent | 24902b409ffcb473e28d629f3174ec6a3dd24c65 (diff) | |
parent | 89e7f7c484af0a5a8cb4083a71958c3a16b0a951 (diff) | |
download | Doxygen-8bc0c44016da8b272ba60110c8683a5d24e77268.zip Doxygen-8bc0c44016da8b272ba60110c8683a5d24e77268.tar.gz Doxygen-8bc0c44016da8b272ba60110c8683a5d24e77268.tar.bz2 |
Merge pull request #8170 from albert-github/feature/issue_8169
issue #8169 "\emoji heavy_check_mark" produces ✓ instead of ✔️
-rw-r--r-- | src/htmldocvisitor.cpp | 2 | ||||
-rw-r--r-- | templates/html/doxygen.css | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 6f740ba..f577acb 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -338,7 +338,7 @@ void HtmlDocVisitor::visit(DocEmoji *s) const char *res = EmojiEntityMapper::instance()->unicode(s->index()); if (res) { - m_t << res; + m_t << "<div class=\"emoji\">"<<res<<"</div>"; } else { diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index 141d418..0b09da4 100644 --- a/templates/html/doxygen.css +++ b/templates/html/doxygen.css @@ -1426,6 +1426,12 @@ div.toc li.level4 { margin-left: 45px; } +div.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + .PageDocRTL-title div.toc li.level1 { margin-left: 0 !important; margin-right: 0; |