ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm]  OpenERP + шрифты
@ 2016-07-12 10:28 Alex
  2016-07-12 18:34 ` Hihin Ruslan
  0 siblings, 1 reply; 3+ messages in thread
From: Alex @ 2016-07-12 10:28 UTC (permalink / raw)
  To: Comm

Для вывода документа на печать OpenERP создает PDF документ. 
Для корректного вывода нужны шрифты
ZapfDingbats
Helvetica-Bold
Helvetica

Они есть в каком-то пакете в p8 или 
нужно скачивать из внешних источников?

-- 
Rgrds, Alex Predelin


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] OpenERP + шрифты
  2016-07-12 10:28 [Comm] OpenERP + шрифты Alex
@ 2016-07-12 18:34 ` Hihin Ruslan
  2016-07-13  9:54   ` Alex
  0 siblings, 1 reply; 3+ messages in thread
From: Hihin Ruslan @ 2016-07-12 18:34 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

Здравствуйте Alex
  В сообщении от 12 июля 2016 Alex написал(a):
> Helvetica

$ apt-cache search ZapfDingbats
fonts-type1-htmldoc - Font used by htmldoc function

$ apt-cache search Helvetica
fonts-type1-htmldoc - Font used by htmldoc function
....
fonts-ttf-mgopen-moderna - Truetype fixed-stroke-width sans serif 
font faces
fonts-ttf-roboto - Android Roboto Fonts
fonts-type1-urw - Free versions of the 35 standard PostScript 
fonts
....

-- 
  А ещё говорят так  (fortune): 
 
Intellect annuls Fate. So far as a man thinks, he is free. -- 
Ralph Waldo Emerson 
________________________________________________________________________
С уважением Хихин Руслан 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] OpenERP + шрифты
  2016-07-12 18:34 ` Hihin Ruslan
@ 2016-07-13  9:54   ` Alex
  0 siblings, 0 replies; 3+ messages in thread
From: Alex @ 2016-07-13  9:54 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Установить шрифты получилось. Спасибо.
Проблему это не решило. 

При выводе на печать документа в OpenERP 7.0
вместо русских букв печатаются квадратики. 
Пример:
https://yadi.sk/i/l_YvTcKJtFfZ2

База PostgreSQL, кодировка базы utf-8.
В экранных формах самой программы никаких проблем с русским языком. 
В выгружаемых в PDF документах есть затруднения. 

*.rml файлы в оригинальных версия аддонов OpenERP 
не содержат явно указанной кодировки. 

Руками правлю файлы *.rml  в каталогах 
/usr/lib/python2.7/site-packages/openerp/addons
(пока не разобрался как сделать конвеерную замену фразы в файлах, 
разбросанных по дереву каталогов)

В начале файла дописываю вместо 
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8" ?>

Проблему это тоже пока не решило. 
Либо сильно промазываю с выбором файлов *.rml
Либо аддоны вкачиваются прямо в базу PostgreSQL

Вопрос. Если есть идеи, прошу подсказать, 
как заставить OpenERP корректно выводить на печать русские надписи.
-- 
Rgrds, Alex Predelin


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-13  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 10:28 [Comm] OpenERP + шрифты Alex
2016-07-12 18:34 ` Hihin Ruslan
2016-07-13  9:54   ` Alex

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git