font:new

  • 8 Replies
  • 247 Views
*

chengjianwen

  • Journeyman
  • ***
  • 199
font:new
« on: March 08, 2017, 10:30:36 »
Code: [Select]
ok> "Arial 12, underlined bold italic" font:new font:styles? .s

2  m: 00f7a654 1 {"underline":false,"bold":false,"italic":false}
1  font: 00fac12c 1 Arial 12.000000
It seems the styles was not set correctly. Is it a problem?

*

ron

  • Administrator
  • Guru
  • *****
  • 3,238
Re: font:new
« Reply #1 on: March 08, 2017, 10:44:04 »
Interesting.  Did the font display incorrectly, so you checked it?  Or is it just a .s issue?

*

chengjianwen

  • Journeyman
  • ***
  • 199
Re: font:new
« Reply #2 on: March 08, 2017, 10:47:19 »
I just .s it, don't use it to show anything.

*

ron

  • Administrator
  • Guru
  • *****
  • 3,238
Re: font:new
« Reply #3 on: March 08, 2017, 10:51:56 »
OK.  Can you please report it as a bug?  Thanks.

*

chengjianwen

  • Journeyman
  • ***
  • 199
Re: font:new
« Reply #4 on: March 08, 2017, 10:55:32 »
fine.
BTW, I'm modified the library pdf code, use 8th's font to replace the font description string.

*

ron

  • Administrator
  • Guru
  • *****
  • 3,238
Re: font:new
« Reply #5 on: March 08, 2017, 10:56:38 »
Thanks!

I'm looking forward to your improved PDF library!

*

chengjianwen

  • Journeyman
  • ***
  • 199
Re: font:new
« Reply #6 on: March 17, 2017, 04:14:58 »
font:bold, font:italic and font:underline are ok.
Code: [Select]
ok> "arial, bold" font:new
ok> .s
1  font: 00007f9c7f003418 1 aria 12.000000
ok> true font:bold
ok> .s
1  font: 00007f9c7f003418 1 aria 12.000000, bold
ok>

*

chengjianwen

  • Journeyman
  • ***
  • 199
Re: font:new
« Reply #7 on: March 20, 2017, 08:22:34 »
find another problem of font:new
"Arial" font:new font:face? => "Aria"
"Arial, 12" font:new font:face? => "Arial"

*

ron

  • Administrator
  • Guru
  • *****
  • 3,238
Re: font:new
« Reply #8 on: March 20, 2017, 08:26:51 »
Thanks  :(

Please post a bug report, and I'll look into it.