폰트 설정에 대한 질문입니다.

wildone의 이미지

파이어 폭스에서 폰트가 너무 쪼잔하게 :lol: 나옵니다..

얼마전 xorg 7.0.0 rc2로 업했구요.

현재 ~/fonts.conf 다음과 같으나, 아직 그 의미를 정확하게

이해하고 있지는 못합니다.

<?xml version="1.0"?><fontconfig>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintmedium</const>
  </edit>
 </match>




<!---
                        AnitAlias False
 -->

    <match target="font" >
<test qual="any" name="family">
            <string>Gulim</string>
            <string>Dotum</string>
            <string>Batang</string>
            <string>GulimChe</string>
            <string>BatangChe</string>
            <string>DotumChe</string>
            <string>GungsuhChe</string>
            <string>Baekmuk Batang</string>
            <string>Baekmuk Dotum</string>
            <string>Baekmuk Gulim</string>
            <string>Baekmuk Headline</string>
        </test>

        <test compare="more" name="pixelsize" qual="any" >
            <double>10</double>
        </test>

        <test compare="less" name="pixelsize" qual="any" >
            <double>22</double>
        </test>

        <edit mode="assign" name="antialias" >
            <bool>false</bool>
        </edit>

    </match>


</fontconfig>

아래 antialiasing 관련 설정은 전에 xorg 6.8.2를 사용하던것을

그대로 가져왔습니다.

그리고 xorg에서 로드하도록 된 폰트들은 다음과 같습니다.

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fotns/corefonts"
    FontPath   "/usr/share/fonts/freefont"
    FontPath   "/usr/share/fonts/sharefonts"
    FontPath   "/usr/share/fonts/terminus"
    FontPath   "/usr/share/fonts/ttf-bitstream-vera"
    FontPath   "/usr/share/fonts/unifont"
    FontPath   "/usr/share/fonts/75dpi"
    FontPath   "/usr/share/fonts/100dpi"
    FontPath   "/usr/share/fonts/artwiz"
    FontPath    "/usr/share/fonts/hanyang/"
    FontPath    "/usr/share/fonts/baekmuk-fonts/"
    FontPath    "/usr/share/fonts/unfonts/"

어디서 부터 확인을 하고 폰트를 설정해야 할지 잘 모르겠습니다.

File attachments: 
첨부파일 크기
Image icon 2.jpg181.66 KB
Image icon 1.jpg159.16 KB
Image icon 3.jpg35.45 KB
Image icon resize.jpg78.18 KB
ydhoney의 이미지

Firefox의 Preference 항목에서 글꼴수정이 가능합니다. ^-^

wildone의 이미지

현재는 다음과 같이 설정이 되어있습니다.

폰트 설정하면서 신기한게.. gulim이 2개가 있더라구요;;

2개중 아래 굴림은 선택해도 안잡히고..;

댓글 첨부 파일: 
첨부파일 크기
Image icon 0바이트

++-----------------++
♡젠투, 완전소중합니다♡
++-----------------++

lifthrasiir의 이미지

음... 쓰레드와는 관련이 없는 말이긴 한데, 왜 thumbnail이 파란 톤으로 나오는 거죠?

- 토끼군

rekcuf의 이미지

제 설정파일을 보니,

파이어폭스에서는 (위의 그림 3.jpg) 위에서부터 아래의 순서대로
10 - 10 -none으로 되어 있고요,

.fonts.conf 에서는

<test compare="more" name="pixelsize" qual="any" > 
            <double>10</double> 
        </test> 

        <test compare="less" name="pixelsize" qual="any" > 
            <double>22</double> 
        </test> 

에서 각각 11, 20으로 되어 있네요.

제 경우는 MS굴림 쓰고 있고, 구글에서는 무지 작게 나오지만, 네이버와 KLDP는 아주 정상적으로 나옵니다.

# apt-get install HOPE

rekcuf의 이미지

Quote:
파이어폭스에서는 (위의 그림 3.jpg) 위에서부터 아래의 순서대로
10 - 10 -none으로 되어 있고요,

실수입니다.

16-16-10 으로 되어 있습니다.

구글도 정상크기로 나옵니다.

# apt-get install HOPE

highwind의 이미지

tokigun wrote:
음... 쓰레드와는 관련이 없는 말이긴 한데, 왜 thumbnail이 파란 톤으로 나오는 거죠?

- 토끼군

아마도 사이즈를 스케일할때 생기는 현상이겠죠?

phpBB가 GD library를 쓰던가???

그래서 제 서버에서 한번 밑에 있는 코드로 압축시켜봤더니 잘만되네요 ㅡㅡ;;;

진짜 왜 그러지???

<?php
// The file
$filename = "http://bbs.kldp.org/download.php?id=5548";
$percent = 0.3;

// Content type
header('Content-type: image/jpeg');

// Get new dimensions
list($width, $height) = getimagesize($filename);
$new_width = round($width * $percent);
$new_height = round($height * $percent);

// Resample
$image_p = imagecreatetruecolor($new_width, $new_height);
$image = imagecreatefromjpeg($filename);
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height);

// Output
imagejpeg($image_p, null, 100);
?> 
댓글 첨부 파일: 
첨부파일 크기
Image icon 0바이트

=====================================
http://timothylive.net

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.