[
https://issues.apache.org/jira/browse/PDFBOX-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-3810.
-----------------------------------
Resolution: Won't Fix
I tried copying your emoji into WORD, it appeared in b/w from a font named
Segoe UI Symbol. Then I tried to "print" this page here into a PDF. The emoji
appeared as a set of lines and curves and not as a font. This isn't really
surprising, because ttf fonts have no color, these are just shapes that are to
be filled with one color, usually black.
{code}
0.012 0.098 0.659 0 k
2665 1940 m
2676 1951 2688 1956 2703 1956 c
2718 1956 2731 1951 2741 1940 c
2752 1930 2757 1917 2757 1902 c
2757 1887 2752 1875 2741 1864 c
2731 1854 2718 1849 2703 1849 c
2688 1849 2676 1854 2665 1864 c
2655 1875 2649 1887 2649 1902 c
2649 1917 2655 1930 2665 1940 c
f
0 0.694 0.482 0 k
2670 1956 m
2670 1956 l
2675 1957 2680 1955 2685 1951 c
2687 1950 2689 1947 2692 1943 c
2695 1939 2698 1936 2700 1933 c
2702 1930 2703 1928 2703 1927 c
2702 1927 2701 1925 2698 1923 c
2695 1920 2691 1917 2687 1914 c
2682 1910 2678 1908 2676 1906 c
2667 1903 2660 1903 2654 1908 c
2652 1910 2650 1912 2650 1914 c
2649 1917 2649 1920 2651 1923 c
2653 1928 2657 1932 2664 1934 c
2660 1939 2658 1943 2660 1948 c
2661 1952 2664 1955 2670 1956 c
h
2654 1897 m
2654 1897 l
2660 1901 2667 1902 2676 1898 c
2678 1897 2682 1895 2687 1891 c
2691 1888 2695 1885 2698 1882 c
2701 1880 2702 1878 2703 1877 c
2702 1875 2700 1872 v
2698 1869 2695 1865 2693 1861 c
2690 1857 2687 1855 2686 1853 c
2680 1849 2675 1848 2670 1849 c
2664 1850 2661 1853 2660 1857 c
2658 1861 2660 1866 2664 1870 c
2657 1873 2653 1877 2651 1882 c
2649 1885 2649 1888 2650 1890 c
2650 1893 2652 1895 2654 1897 c
f
0.478 0.545 0.843 0.388 k
2714 1933 m
2714 1933 l
2721 1933 2727 1930 2732 1925 c
2737 1919 2740 1912 2740 1902 c
2740 1893 2738 1885 2732 1880 c
2727 1875 2721 1872 2714 1872 c
2712 1872 2711 1873 2710 1875 c
2709 1884 2708 1893 2708 1902 c
2708 1913 2709 1922 2710 1930 c
2711 1932 2712 1933 2714 1933 c
f
1 g
2714 1925 m
2714 1925 l
2715 1927 2716 1928 2717 1928 c
2718 1927 2719 1927 2720 1927 c
2721 1927 2722 1926 2722 1925 c
2721 1923 2721 1916 2721 1902 c
2721 1889 2721 1882 2722 1880 c
2722 1879 2721 1878 2720 1878 c
2719 1878 2719 1877 2718 1877 c
2717 1877 l
2716 1877 2715 1878 2714 1880 c
2713 1886 2713 1894 2713 1902 c
2713 1911 2713 1919 2714 1925 c
f
{code}
In theory, what could be done is to create a type 3 font that can do emojis.
Type 3 fonts are PDF content streams so they can have a color. However PDFBox
doesn't support reading any outside structure of type 3 fonts like for ttf.
It's just a structure in existing PDFs. Thus I'm closing this one as "won't
fix" for now.
> Is it possible to show emoji icons from the iOS library in the PDF document?
> ----------------------------------------------------------------------------
>
> Key: PDFBOX-3810
> URL: https://issues.apache.org/jira/browse/PDFBOX-3810
> Project: PDFBox
> Issue Type: Wish
> Reporter: Mikhail Semionenko
> Attachments: b29ef513-db64-45ac-bfad-74b12d57c7c8.pdf
>
>
> I want to show emoji (like 😍) in the pdf document. Is it possible to do
> something like that?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]