BestImageViewer / geeqie

claiming to be the best image viewer / photo collection browser
http://www.geeqie.org/
GNU General Public License v2.0
487 stars 79 forks source link

Cyrillic characters in the label text to images #73

Closed mowgli closed 8 years ago

mowgli commented 15 years ago

Вот такую хрень выдает geeqie 1beta1 при выводе на печать и в PS

Reported by: fox72

mowgli commented 15 years ago

Original comment by: fox72

mowgli commented 15 years ago

Как сие поправить?

Original comment by: fox72

mowgli commented 15 years ago

Please use english exclusively.

Original comment by: zas_

mowgli commented 15 years ago

Original comment by: zas_

mowgli commented 15 years ago

Original comment by: fox72

mowgli commented 15 years ago

OK. print.pdf file contains an example of incorrect display Cyrillic characters in the captions

Original comment by: fox72

mowgli commented 15 years ago

Original comment by: fox72

mowgli commented 15 years ago

I use geeqie to print checklists. When the file name is present Cyrillic, the title character becomes unreadable

Original comment by: fox72

mowgli commented 15 years ago

It looks like an issue regarding UTF8 and pdf/postscript output. Still no idea on how to fix it.

Original comment by: zas_

mowgli commented 15 years ago

Original comment by: zas_

mowgli commented 15 years ago

utf-8 to ascii conversion does not seem to be easy ;-(

We should probably do something like this: http://www.cl.cam.ac.uk/~mgk25/ucs/utf2ps.c

But I don't know if it works for cyrillic too.

Original comment by: nadvornik

mowgli commented 15 years ago

Vladimir Nadvornik,
You say in Russian? :) It may explain in their own language? Or beneath one's dignity?

Original comment by: fox72

mowgli commented 15 years ago

Понятно, либо это дело далекого будущего, либо вообще никак. Для тех кто не понял Does your plans in support of Cyrillic characters in UTF-8 in the captions? If so then how long it will take? Or would you advise to look for another similar program with similar functionality and support for utf-8?

Original comment by: fox72

mowgli commented 15 years ago

Is there anything but time which prevents us to move to gtk print + cairo to handle printing in geeqie ?

Original comment by: zas_

mowgli commented 15 years ago

Original comment by: nadvornik

mowgli commented 15 years ago

The attached patch renders the text with pango and sends it to postscript as a bitmap. It should work for all characters, but the quality is a bit worse. It needs testing with various printers.

I agree that using gtk print is the correct long term fix.

Original comment by: nadvornik

mowgli commented 15 years ago

2nadvornik Хорошо. У меня на работе есть два сетевых принтера HP8150 и HP1022. Когда скомпилирую программу с патчем проверю и напишу отчет.

Translation: Ok. I'm at work, there are two network printers HP8150 and HP1022. When Compile the program with the patch will check and write a report.

Original comment by: fox72

mowgli commented 15 years ago

2nadvornik Как пользоваться патчем? Translation: How to use the patch?

Original comment by: fox72

mowgli commented 15 years ago

Ага. Дошло до умного что он дурак Translation:) cp geeqie-print-pango.patch src/ cd src/ patch -p0 < geeqie-print-pango.patch

Original comment by: fox72

mowgli commented 15 years ago

Во вложенном файле 2222.pdf подпись к изображению сделана после патча Завтра буду делать компиляцию на работе и проверять печать на принтерах Может Вы сообщите об этом патче на linuxgraphics.ru? Мужики-то не знают :)

Translation In the attached file 2222.pdf signature to the image made after the patch Tomorrow I'll do a compilation of the work and to check printing on printers Can you tell about this patch on linuxgraphics.ru? Guys do not know :)

Original comment by: fox72

mowgli commented 15 years ago

Original comment by: fox72

mowgli commented 15 years ago

I don't think that I am the right person for posting on linuxgraphics.ru. My knowledge of Russian is very poor ;)

Original comment by: nadvornik

mowgli commented 15 years ago

У меня есть три вопроса:

  1. Этот патч войдет в основную ветку разработки?
  2. Вы даете разрешение на публикацию новости или ссылки на этот патч?
  3. Как же вы без великого и могучего живете?

Translation: I have three questions:

  1. This patch will go into the main development branch?
  2. You give permission to publish news or links to this patch?
  3. How do you no great and powerful live?

Original comment by: fox72

mowgli commented 15 years ago

Отчет о работе принтеров: HP 8150 PS драйвер /usr/share/cups/model/manufacturer-PPDs/hp/HP_LaserJet_8150_Series.ppd.gz качество печати изображения отличное , буквы в подписи немного нечеткие

HP1022n драйвер Foomatic/hpjs/pcl, hpijs 2.8.4.2 (/usr/share/cups/model/manufacturer-PPDs/hplip/hp-laserjet_1022-hpijs-pcl.ppd.gz) изображение более контрастное, присутствует легкий шум. буквы в подписи более четкие.

Для контрольных листов качество печати обоих принтеров является хорошим

Translation Proceedings of the printer: HP 8150 PS driver /usr/share/cups/model/manufacturer-PPDs/hp/HP_LaserJet_8150_Series.ppd.gz Print quality images excellent, the letters in the signature a little fuzzy.

HP1022n driver Foomatic/hpjs/pcl, hpijs 2.8.4.2 (/usr/share/cups/model/manufacturer-PPDs/hplip/hp-laserjet_1022-hpijs-pcl.ppd.gz) A clearer picture, there is a slight noise. letters signed clearer.

For checklists both printers print quality is good.

Original comment by: fox72

mowgli commented 15 years ago

Original comment by: nadvornik

mowgli commented 15 years ago

Thanks for testing. The patch was added to rev. 1859.

Original comment by: nadvornik