pdflatexで絵文字が出ない
emojifreak opened this issue · comments
% Made from https://unicode.org/Public/emoji/12.1/emoji-test.txt
\documentclass{article}
\usepackage{longtable}
\usepackage{bxcoloremoji}
\newcounter{myline}
\newcommand{\mylinecount}{\arabic{myline}\stepcounter{myline}}
\begin{document}
\noindent
\begin{longtable}[c]{rp{7eM}llllll}
&&&&&&&\\
\endfirsthead
&&&&&&&\\
\endhead
\mylinecount&1F600&fully-qualified&\coloremoji{😀}&&&&E2.0 grinning face\\
\mylinecount&1F603&fully-qualified&\coloremoji{😃}&&&&E2.0 grinning face with big eyes\\
\mylinecount&1F604&fully-qualified&\coloremoji{😄}&&&&E2.0 grinning face with smiling eyes\\
\mylinecount&1F601&fully-qualified&\coloremoji{😁}&&&&E2.0 beaming face with smiling eyes\\
\end{longtable}
\end{document}
をpdflatexでコンパイルすると添付のbxtest4-pdftex.pdf
のように何も絵文字がでなくて悲しいです。lualatexでコンパイルすると添付のbxtest4-luatex.pdf
のように期待通りの絵文字が出ました。bxcoloremojiバージョンは0.9です
bxtest4-luatex.pdf
bxtest4-pdftex.pdf
2019年10月のLaTeXカーネル(pdfTeXにおける非ASCII文字のサポートの改善策)の更新が影響しているようです。対策を検討します。
ご確認ありがとうございます。同じ要因からの別の症状だと思いますがlatex+dvipdfmxで下記を処理しても絵文字が出なかったのでお伝えします。latexのかわりにuplatex/platexの場合は問題ないようです
% Made from https://unicode.org/Public/emoji/12.1/emoji-test.txt
\documentclass{article}
\usepackage{longtable}
\usepackage[dvipdfmx]{graphicx}
\usepackage{bxcoloremoji}
\newcounter{myline}
\newcommand{\mylinecount}{\arabic{myline}\stepcounter{myline}}
\begin{document}
\noindent
\begin{longtable}[c]{rp{7eM}llllll}
&&&&&&&\\
\endfirsthead
&&&&&&&\\
\endhead
\mylinecount&1F600&fully-qualified&\coloremoji*{😀}&&&&E2.0 grinning face\\
\mylinecount&1F603&fully-qualified&\coloremoji*{😃}&&&&E2.0 grinning face with big eyes\\
\mylinecount&1F604&fully-qualified&\coloremoji*{😄}&&&&E2.0 grinning face with smiling eyes\\
\mylinecount&1F601&fully-qualified&\coloremoji*{😁}&&&&E2.0 beaming face with smiling eyes\\
\end{longtable}
\end{document}
対策してみました(v0.9a)
githubからダウンロードしたものでpdflatexとpdflatex-devで問題なく期待したPDFが出来ることを確認しました。ありがとうございます。ところで次のリリースファイル作るときtwemoji 12.1になるんでしょうか?今見ると一番新しいのは12.1.4になってますね…
画像データはあまり頻繁に更新する予定はないので、Emoji 13に対応してからになりそう。