LINUX.ORG.RU

Сообщения pahom

 

sphere web client (font) (SOLVED)

Привет. Кто подскажет, какие шрифты нужны для корректного отображения символов в мваревском вебовском клиенте?

Браузер - ФФ, ось - калька.

Отображается так.

Установленные шрифты:

Available fontconfig .conf files (* is enabled):
  [1]   10-autohint.conf *
  [2]   10-no-sub-pixel.conf *
  [3]   10-scale-bitmap-fonts.conf *
  [4]   10-sub-pixel-bgr.conf *
  [5]   10-sub-pixel-rgb.conf *
  [6]   10-sub-pixel-vbgr.conf *
  [7]   10-sub-pixel-vrgb.conf *
  [8]   10-unhinted.conf *
  [9]   11-lcdfilter-default.conf *
  [10]  11-lcdfilter-legacy.conf *
  [11]  11-lcdfilter-light.conf *
  [12]  20-unhint-small-dejavu-sans.conf *
  [13]  20-unhint-small-dejavu-sans-mono.conf *
  [14]  20-unhint-small-dejavu-serif.conf *
  [15]  20-unhint-small-vera.conf *
  [16]  25-unhint-nonlatin.conf *
  [17]  30-metric-aliases.conf *
  [18]  30-urw-aliases.conf *
  [19]  40-nonlatin.conf *
  [20]  45-latin.conf *
  [21]  49-sansserif.conf *
  [22]  50-user.conf *
  [23]  51-local.conf *
  [24]  57-dejavu-sans.conf *
  [25]  57-dejavu-sans-mono.conf *
  [26]  57-dejavu-serif.conf *
  [27]  58-droid-sans.conf *
  [28]  58-droid-sans-mono.conf *
  [29]  58-droid-serif.conf *
  [30]  59-google-droid-sans.conf *
  [31]  59-google-droid-sans-mono.conf *
  [32]  59-google-droid-serif.conf *
  [33]  60-latin.conf *
  [34]  60-liberation.conf *
  [35]  65-fonts-persian.conf *
  [36]  65-khmer.conf *
  [37]  65-nonlatin.conf *
  [38]  69-unifont.conf *
  [39]  70-no-bitmaps.conf *
  [40]  70-yes-bitmaps.conf *
  [41]  75-yes-terminus.conf *
  [42]  80-delicious.conf *
  [43]  90-synthetic.conf *
  [44]  99pdftoopvp.conf *

$ eix -I media-fonts/ -c
[I] media-fonts/corefonts (1-r7@28.04.2015): Microsoft's TrueType core fonts
[I] media-fonts/dejavu (2.34@14.12.2014): DejaVu fonts, bitstream vera with ISO-8859-2 characters
[I] media-fonts/droid (113-r4@07.03.2015): Font family from Google's Android project
[I] media-fonts/encodings (1.0.4@19.07.2015): X.Org font encodings
[I] media-fonts/font-alias (1.0.3-r1{tbz2}@30.11.2015): X.Org font aliases
[I] media-fonts/font-misc-misc (1.1.2@19.07.2015): X.Org miscellaneous fonts
[I] media-fonts/font-util (1.3.1{tbz2}@30.11.2015): X.Org font utilities
[I] media-fonts/liberation-fonts (2.00.1-r1@07.03.2015): A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat
[I] media-fonts/libertine (5.1.3.20110615@22.05.2014): Fonts from the Linux Libertine Open Fonts Project
[I] media-fonts/terminus-font (4.39-r1@28.04.2015): A clean fixed font for the console and X11
[I] media-fonts/urw-fonts (2.4.9@22.05.2014): free good quality fonts gpl'd by URW++
Найдено 11 совпадений.

Или я не туда копаю? Tnx.

Решение: (Спасибо i-rinat)

# cd /usr/lib64/nsbrowser/plugins/
# mv libflashplayer.so libflashplayer.so.bk.260216
# emerge -C www-plugins/freshplayerplugin
# emerge --autounmask-write =www-plugins/freshplayerplugin-0.3.4-r1
# dispatch-conf
# emerge -av www-plugins/freshplayerplugin

 , , ,

pahom
()

RHVoice под Centos 6.5

Привет, пацаны.

Пытаюсь собрать RHVoice на Centos 6.5. Ругается на старый компилятор C++

scons: Reading SConscript files ...
Mkdir("build/linux")
Checking whether the C compiler worksyes
Checking whether the C++ compiler worksno
The C++ compiler is not working

В логах следующее:

$ cat build/linux/configure.log 
file /home/just/RHVoice/SConstruct,line 190:
	Configure(confdir = build/linux/configure_tests)
scons: Configure: Checking whether the C compiler works
build/linux/configure_tests/conftest_0.c <-
  |
  |int main()
  |{
  |    return 0;
  |}
  |
gcc -o build/linux/configure_tests/conftest_0.o -c -O2 -pthread -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DVERSION=\"0.5.1\" -I. -Isrc/include -Isrc/third-party/utf8 -Isrc/third-party/tclap -Isrc/third-party/sonic -Isrc/third-party/rapidxml -Isrc/third-party/mage -Isrc/third-party/hts_engine build/linux/configure_tests/conftest_0.c
scons: Configure: yes

scons: Configure: Checking whether the C++ compiler works
build/linux/configure_tests/conftest_1.cpp <-
  |
  |int main()
  |{
  |    return 0;
  |}
  |
g++ -o build/linux/configure_tests/conftest_1.o -c -std=c++03 -O2 -pthread -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DVERSION=\"0.5.1\" -I. -Isrc/include -Isrc/third-party/utf8 -Isrc/third-party/tclap -Isrc/third-party/sonic -Isrc/third-party/rapidxml -Isrc/third-party/mage -Isrc/third-party/hts_engine build/linux/configure_tests/conftest_1.cpp
cc1plus: error: unrecognized command line option "-std=c++03"
scons: Configure: no
Ага. Старая версия, ага. Версия C++
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
Copyright (C) 2010 Free Software Foundation, Inc.
Это свободно распространяемое программное обеспечение. Условия копирования
приведены в исходных текстах. Без гарантии каких-либо качеств, включая 
коммерческую ценность и применимость для каких-либо целей.
Лаааадно. Обновился.
$ gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Повторяю процедуру - та же самая ошибка. ЧЯДН? Какая вообще нужна версия для сборки?

 ,

pahom
()

Как определить факт подключения клиета к серверу, который для этих целей использует прокси?

Здрастье! С недавнего времени появился в локальной сети гад, который юзает какую-то разновидность HIDE IP и откровенно говоря, гадит на сайте. Задрал, упырок. :( {HTTP_REFERER} {HTTP_VIA}{HTTP_X_FORWARDED_FOR} молчат. От гада видно только {REMOTE_IP}. Т.е. создается впечатление, что у чувака реальный адрес. Но! Это тело может спокойно, скажем в интервале 3-х минут, поменять ip два раза. Адреса могут быть совершенно разные и не поддаются никакой логики. Вот пример таких: 185.16.136.241,213.149.25.14,91.109.155.192. И так далее. Гуглю, но что-то не гуглицца. Вопрос: - «по какому признаку можно определить факт использования клиентом прокси»? И можно ли это в принципе? Может есть лекарство другого рода?

Спасибо за внимание.

pahom
()

RSS подписка на новые темы