firefox에서는 볼드 구현이 되지 않네요.

돌부리의 이미지

Arch Linux에서 패치설치없이 폰트설정만 수정해주니까, 그놈에서 볼드폰트 구현이 되는군요. Arch Linux에서 embolden옵션을 넣고 패키징한 것 같습니다. 그런데, 정작 필요한 firefox에서는 볼드구현이 되지 않네요. 무슨 방법이 없을까요?

File attachments: 
첨부파일 크기
Image icon arch.jpg270.45 KB
Image icon bold.gif170.88 KB
kyano의 이미지

fonts.conf에 있는 weight more_eq 200에서...
200을 150정도로 한번 바꿔보세요

--
Have you ever heard about Debian GNU/Linux?

sangu의 이미지

acme wrote:
Arch Linux에서 패치설치없이 폰트설정만 수정해주니까, 그놈에서 볼드폰트 구현이 되는군요. Arch Linux에서 embolden옵션을 넣고 패키징한 것 같습니다. 그런데, 정작 필요한 firefox에서는 볼드구현이 되지 않네요. 무슨 방법이 없을까요?

$MOZ_ENABLE_PANGO=1 firefox

이 방법으로 실행해 보세요.

돌부리의 이미지

두분 답변 고맙습니다만, 둘다 않되는군요. 패치없이 굵은체보기가 힘드네요.

$ MOZ_ENABLE_PANGO=1 firefox
/opt/mozilla/lib/firefox-1.0.7/firefox-bin: symbol lookup error: /opt/mozilla/lib/firefox-1.0.7/components/libgfx_gtk.so: undefined symbol: pango_xft_get_font_map
익명 사용자의 이미지

저도 아무리해도 안되더군요.

그래서 저는 pango-cairo의 embolden은 활성화시킨채로 두고

libxft를 firefly patch 한 후 archilinux 포럼에서 본 내용을 참조하여

local.conf를 아래와 같이 구성하고 나서야 불여우에서 볼드를 볼 수

있었습니다.

================아래=================
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>

<!--
Use the Auto-Hinter
<match target="pattern">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
-->

<!--
Mark common families with their generics so we'll get
something reasonable
-->

<!--
Serif faces
-->
<alias>
<family>Bitstream Vera Serif</family>
<family>Times</family>
<family>Times New Roman</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>Kochi Mincho</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Batang</family>
<default><family>serif</family></default>
</alias>
<!--
Sans-serif faces
-->
<alias>
<family>Bitstream Vera Sans</family>
<family>Helvetica</family>
<family>Arial</family>
<family>Verdana</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>SimSun</family>
<family>Gulim</family>
<default><family>sans-serif</family></default>
</alias>
<!--
Monospace faces
-->
<alias>
<family>Bitstream Vera Sans Mono</family>
<family>Courier</family>
<family>Courier New</family>
<family>Andale Mono</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>NSimSun</family>
<family>GulimChe</family>
<default><family>monospace</family></default>
</alias>

<!--
Provide required aliases for standard names
-->
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>Times</family>
<family>Kochi Mincho</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Batang</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Bitstream Vera Sans</family>
<family>Verdana</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Arial</family>
<family>Helvetica</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>SimSun</family>
<family>Gulim</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Bitstream Vera Sans Mono</family>
<family>Andale Mono</family>
<family>Courier New</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>GulimChe</family>
</prefer>
</alias>

<!--
Disable anti-aliasing for fonts that are size <=12
<match target="pattern">
<test qual="any" name="size" compare="less_eq">
<int>12</int>
</test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>
-->

<!--
Enable sub-pixel rendering
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->

<!--
Synthetic emboldening for fonts that do not have bold face available
-->
<match target="font">
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
<const>medium</const>
</test>
<!-- check to see if the pattern requests bold -->
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<!--
set the embolden flag
needed for applications using cairo, e.g. gucharmap, gedit, ...
-->
<edit name="embolden" mode="assign">
<bool>true</bool>
</edit>
<!--
set weight to bold
needed for applications using Xft directly, e.g. Firefox, ...
-->
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>

<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>true</bool>
</edit>
</match>

<match target="font">
<test name="family">
<string>GulimChe</string>
<string>DotumChe</string>
<string>BatangChe</string>
<string>GungsuhChe</string>
</test>
<edit name="globaladvance"><bool>false</bool></edit>
<edit name="spacing"><int>0</int></edit>
</match>

<match target="font">
<test qual="any" name="family">
<string>Batang</string>
<string>BatangChe</string>
<string>Gungsuh</string>
<string>GungsuhChe</string>
<string>Gulim</string>
<string>GulimChe</string>
<string>Dotum</string>
<string>DotumChe</string>
</test>
<test compare="more" name="pixelsize" qual="any" ><int>5</int></test>
<test compare="less" name="pixelsize" qual="any" ><int>25</int></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>
<!--
Add by firefly@firefly.idv.tw
Disable "Global Advance" for all mono spacing fonts.
-->
<match target="font">
<test name="spacing" compare="eq">
<const>mono</const>
</test>
<edit name="globaladvance" mode="assign">
<bool>false</bool>
</edit>
</match>

<!--
Add by firefly@firefly.idv.tw
Enable "hinting & autohint" for all fonts.
-->
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>

<!--
Add by firefly@firefly.idv.tw

If you don't want to use emdebedbitmap first.
you can set this "embed" with false.

<match target="font">
<edit name="embed" mode="assign">
<bool>false</bool>
</edit>
</match>
-->

</fontconfig>

돌부리의 이미지

꽃삽 wrote:
저도 아무리해도 안되더군요.

그래서 저는 pango-cairo의 embolden은 활성화시킨채로 두고

libxft를 firefly patch 한 후 archilinux 포럼에서 본 내용을 참조하여

local.conf를 아래와 같이 구성하고 나서야 불여우에서 볼드를 볼 수

있었습니다.

패치없는 볼드구현을 기대했었는데, 결국 패치를 해야되는군요.
댓글 첨부 파일: 
첨부파일 크기
Image icon 0바이트
송효진의 이미지

오늘 해 보니 embolden 에서 글꼴 이쁘게 나오네요.
http://www.gentoo.or.kr/wiki/moin.cgi/Embolden

emerge money

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.