swdyh / goodbye_chatwork

Chatwork(chatwork.com) log downloader
MIT License
67 stars 24 forks source link

When a PDF file downloads in Windows, it's embedded and is lacking in a font. #11

Closed MidNightEye59 closed 7 years ago

MidNightEye59 commented 7 years ago

By the environment of Windows10. The PDF file downloaded using goodbye_chatwork, I can't read and embedded font is lacking.

I use Chatwork(Not KDDI Chatwork for enterprises)

OS is by the Windows10Pro environment for me. Goodbye_chatwork is being used.

The text character can normally be downloaded as a CSV file.

However When a PDF file downloads it, it's embedded and is lacking in a font.

It isn't possible to read.

I'm in trouble about this problem.

The command As follows. $ goodbye_chatwork -i example@example.com -p your_password -x all -d path/to/log/jikken

Environment :Windows10 Pro Ruby    :Ver2.2.6P396 PDF Reader : AcrobatX Pro (Ver10.1.16) and ReaderXI (Ver11.0.9) In Chrome (56.0.2924.87 64-bit).

CASE-A

Original PDF file.

No.1 converted to PDF in Libre Office5.2 In Writer No.2 converted to PDF in MSWord2010

Filename 1.libre_pdf_yamaneko 2.word_pdf_yamaneko

CASE-B(in trouble)

Dounloaded by boodbye_chatwork

As far as downloaded PDF was opened. A property has been just seen. It's embedded and is lacking in a sub-font.

Filename 3.libre_pdf_yamaneko_gb 4.word_pdf_yamaneko_gb

CASE-C(OK)

The same PDF file is from a file list of ChatWork. It was downloaded directly. (Embedded subset) is shown to a thing.

I could read accurately.

Filename 5.libre_pdf_yamaneko_direct 6.word_pdf_yamaneko_direct

PS

The PDF file which was normally downloaded using goodbye_chatwork can be read in MAC OS Sierra.

libre_pdf_yamaneko.pdf libre_pdf_yamaneko_direct.pdf libre_pdf_yamaneko_gb.pdf word_pdf_yamaneko.pdf word_pdf_yamaneko_direct.pdf word_pdf_yamaneko_gb.pdf

swdyh commented 7 years ago

I fixed the option when saving the download file, so please try out the new version(0.0.6).

I have not prepared the environment in which the problem occurs, so I can not confirm if this problem has been fixed

MidNightEye59 commented 7 years ago

OH Wonderful!  New version(0.0.6).

The problem that I was in trouble was settled.

It was downloaded by the Windows10Pro environment.

PDF doesn't turn into garbage and it can be read.

@swdyh  Thank you very much.