9front - general discussion about 9front
 help / color / mirror / Atom feed
From: kokamoto@hera.eonet.ne.jp
To: 9front@9front.org
Subject: Re: [9front] [ports] add libfreetype
Date: Sat, 28 Mar 2020 14:28:02 +0900	[thread overview]
Message-ID: <8EA10C51DD4A6CF719F5A2E8BE42CFC8@hera.eonet.ne.jp> (raw)
In-Reply-To: 6C4D5687E7FF32423616B0CFA3CE6379@hera.eonet.ne.jp

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

I decided to show my Japanese nsfb image, too.
I know someone can read Japanese here.☺

Settings:
netsurf/mkfile
	-DNETSURF_FB_FONTPATH="/lib/font/ttf/ipaex:/lib/font/ttf/dejavu:/lib/font/ttf/msttcor
netsurf/frontends/framebuffer/font_freetype.c
in bool fb_font_init() function:
	/* Start with the sans serif font */
	fb_face = fb_new_face(nsoption_charp(fb_face_sans_serif),
			      "sans_serif.ttf",
//			      NETSURF_FB_FONT_SANS_SERIF);
//			     "DejaVuSans.ttf");		/* K.Okamoto */
			      "ipagp.ttf");		/* K.Okamoto */
...
	/* Bold sans serif face */
	fb_face = fb_new_face(nsoption_charp(fb_face_sans_serif_bold),
                            "sans_serif_bold.ttf",
//                            NETSURF_FB_FONT_SANS_SERIF_BOLD);
//			  "DejaVuSans-Bold.ttf");		/* K.Okamoto */
			  "ipagp.ttf");		/* K.Okamoto */
...
	/* Italic sans serif face */
	fb_face = fb_new_face(nsoption_charp(fb_face_sans_serif_italic),
			      "sans_serif_italic.ttf",
//			      NETSURF_FB_FONT_SANS_SERIF_ITALIC);
//	   		     "DejaVuSans-Oblique.ttf");		/* K.Okamoto */
			      "ipagp.ttf");		/* K.Okamoto */
...
	/* Bold italic sans serif face */
	fb_face = fb_new_face(nsoption_charp(fb_face_sans_serif_italic_bold), 
			      "sans_serif_italic_bold.ttf",
//			      NETSURF_FB_FONT_SANS_SERIF_ITALIC_BOLD);
//			     "DejaVuSans-BoldOblique.ttf");		/* K.Okamoto */
			      "ipagp.ttf");		/* K.Okamoto */
...
	/* serif face */
	fb_face = fb_new_face(nsoption_charp(fb_face_serif),
                            "serif.ttf",
//			      NETSURF_FB_FONT_SERIF);
//			  "DejaVuSerif.ttf");		/* K.Okamoto */
			      "ipamp.ttf");		/* K.Okamoto */
...
	/* bold serif face*/
	fb_face = fb_new_face(nsoption_charp(fb_face_serif_bold),
			      "serif_bold.ttf",
//			      NETSURF_FB_FONT_SERIF_BOLD);
//			      "DejaVuSerif-Bold.ttf");		/* K.Okamoto */
			      "ipamp.ttf");		/* K.Okamoto */
...
	/* monospace face */
	fb_face = fb_new_face(nsoption_charp(fb_face_monospace),
			      "monospace.ttf",
//			      NETSURF_FB_FONT_MONOSPACE);
//			      "DejaVuSansMono.ttf");		/* K.Okamoto */
			      "ipag.ttf");		/* K.Okamoto */
...
	/* bold monospace face*/
	fb_face = fb_new_face(nsoption_charp(fb_face_monospace_bold),
			      "monospace_bold.ttf",
//			      NETSURF_FB_FONT_MONOSPACE_BOLD);
//			      "DejaVuSansMono-Bold.ttf");		/* K.Okamoto */
			      "ipag.ttf");		/* K.Okamoto */
...
	/* cursive face */
	fb_face = fb_new_face(nsoption_charp(fb_face_cursive),
			      "cursive.ttf",
//			      NETSURF_FB_FONT_CURSIVE);
			      "Comic_Sans_MS.ttf");		/* K.Okamoto */
...
	/* fantasy face */
	fb_face = fb_new_face(nsoption_charp(fb_face_fantasy),
			      "fantasy.ttf",
//			      NETSURF_FB_FONT_FANTASY);
			     "Impact.ttf");		/* K.Okamoto */
====

Kenji

[-- Attachment #2: nsfbJP.bit --]
[-- Type: image/p9bit, Size: 640656 bytes --]

             reply	other threads:[~2020-03-28  5:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28  5:28 kokamoto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-26 23:17 kokamoto
2020-03-26  5:53 kokamoto
2020-03-26  5:26 kokamoto
2020-03-26 22:10 ` Lucas Francesco
2020-03-25  5:55 Lucas Francesco
2020-03-26 23:43 ` [9front] " ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8EA10C51DD4A6CF719F5A2E8BE42CFC8@hera.eonet.ne.jp \
    --to=kokamoto@hera.eonet.ne.jp \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).