Re: bullet checkbox

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CAOBYczpJHYUg7D1wc5vOBcVsfgtCTd4PtPKfiCwO0BDDMvmBPA@mail.gmail.com>
Thanks for picking this up Tim. I'm stuck in compile technology trying to
fix the impossible sandbox problem. happy Christmas to you and all the
other open sourcerers :)


On Fri, 13 Dec 2019 at 20:17, Tim Roberts <[email protected]> wrote:

> JOURDAIN, Maël wrote:
> > I try to use Arial Font and Wingdings 2.
> >
> > ttf = TTFont('wingdng', r'C:\Windows\Fonts\WINGDNG2.TTF')
> > pdfmetrics.registerFont(ttf)
> >
> > But with Wingdings 2, the result is a white square.
>
> Right, because Wingdings 2 does not contain that character.  You can see
> that with the "charmap" application.  It does contain the "checked
> ballot box" glyph, but it's in the slot for the capital letter R.
>
>
> > How can I get the mark and not the white square ?
>
> There are two ways.  You can use "\u2611" in a font that contains that
> glyph, like Arial.  Or, you can use Wingdings 2 and use "R" instead.
>
> --
> Tim Roberts, [email protected]
> Providenza & Boekelheide, Inc.
>
>
> _______________________________________________
> reportlab-users mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>


-- 
Robin Becker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.