chuhlomin / calendar

Calendar PDF generator
https://calendar.chuhlomin.com
MIT License
2 stars 0 forks source link

PDF is determined to be Contacts ? #1

Open gedw99 opened 9 months ago

gedw99 commented 9 months ago

Apple OS thinks these are contacts ?

Screenshot 2024-02-09 at 15 22 11

Just wondering what's going on there... Is there some embedding going on during generation perhaps ?

chuhlomin commented 9 months ago

Hey, yes, unfortunately, Apple Preview app detects it as a phone number, and I couldn't find a way to disable it. From PDF point of view, it's just set of text blocks with numbers in it: https://github.com/chuhlomin/calendar/blob/main/handler_pdf.go#L238-L243

gedw99 commented 9 months ago

hey @chuhlomin

thanks for looking into it. I will have a look into the code.