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?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 9811979080011EAN-13.png | 634 bytes | katsikas |
Comments
Comment #1
skyredwangwhere is the attachment :P
Comment #2
katsikas commentedsorry about that. This is my first post. I was sure I upload it.
Comment #3
skyredwangwhat is the number you entered?
Comment #4
katsikas commentedThis image is 9811979080011 EAN-13
Comment #5
skyredwangCould you try a different font file?
Comment #6
katsikas commentedI 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.
Comment #7
katsikas commentedHow can be the only one I have this issue?
Does this module works for you?
Comment #8
katsikas commentedI think I gave you all info requested.
Noone ever had this issue before?
Comment #9
skyredwangthe 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.ttffont file, could you try an Arial font?Comment #10
katsikas commentedThank you skyredwang,
It works fine now.
I guess I was missing the point of using fonts.I was trying EAN13 barcode fonts.
Comment #11
andrezstar commentedI 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