Hi, I have an issue with barcode images. File and bars are generated just fine but instead of digits I get this square boxes (see attachment). Font seems to be fine when I use it on an editor. Any ideas what causing this?

CommentFileSizeAuthor
#2 9811979080011EAN-13.png634 byteskatsikas

Comments

skyredwang’s picture

Status: Active » Postponed (maintainer needs more info)

where is the attachment :P

katsikas’s picture

StatusFileSize
new634 bytes

sorry about that. This is my first post. I was sure I upload it.

skyredwang’s picture

what is the number you entered?

katsikas’s picture

This image is 9811979080011 EAN-13

skyredwang’s picture

Could you try a different font file?

katsikas’s picture

I have tried several. Same issue every time.
Do you know any working font, where I can buy it?

BTW fonts work fine on text editors on OSX.
I have tried on greek drupal installation and on english and charset is set to UTF-8.
I don't know if this has any connection with this issue.

katsikas’s picture

How can be the only one I have this issue?
Does this module works for you?

katsikas’s picture

Status: Postponed (maintainer needs more info) » Active

I think I gave you all info requested.
Noone ever had this issue before?

skyredwang’s picture

the square boxes look like an encoding problem, but you said you had set it to UTF-8, so I am sure which part of your system is causing the problem (OS? PHP? Font?). I am using arialbd.ttf font file, could you try an Arial font?

katsikas’s picture

Status: Active » Closed (fixed)

Thank you skyredwang,

It works fine now.
I guess I was missing the point of using fonts.I was trying EAN13 barcode fonts.

andrezstar’s picture

I didnt get it.
How did you finally solve it?
What did you have to change? I think I have the same prob.

--Edit:
Nevermind.
Just realized you finally used the arialbd.ttf font.
The thing is that it was the default dir but what you need to do is download it and copy it to the barcode folder