Re: [NTG-context] Converting normal font into bold
/ May be ConTeXt experts would have better suggestions, till then you />>/ may want to look at the fake bold option in simplefonts - />>/ http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts />/ />/ Thanks for your advice. />/ Unfortunately I did not manish to work with this font by simplefonts. I use the following simple setup: />/ />/ />/ \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt] / \definefontfeature[fakebold][extend=1.1]
\definefont[arabic][file:<fontname>*arabic,fakebold at 15pt]
/ \starttext />/ \arabic\setupalign[r2l] ??????? ??? ???????? ?????? ???? ???????? ??????????? />/ \stoptext />/ />/ How can I get these "fake bolds" with this setup? Or is it absolutely necessary to use Simplefont for these fake-bolds? / The feature is unrelated to simplefonts.
Wolfgang
Thanks Wolfgang, but that does not seem to work with this font. See attachment, the font is wider, but not bold. See the difference to the intended result, achieved with Corel Draw (with the same font), see attachment. In ConTeXt I had the following code (see attachment for the compiled pdf): ++++++++++++++++ \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt] \definefont[arabics][file:bliblablup_0.ttf*arabic at 15pt] \definefontfeature[fakebold][extend=1.2] \definefont[arabic][file:bliblablup_0.ttf*arabic,fakebold at 15pt] \starttext \arabic\setupalign[r2l] ??????? ??? ???????? ?????? ???? ???????? ??????????? \blank\arabics\setupalign[r2l] ??????? ??? ???????? ?????? ???? ???????? ??????????? \stoptext ++++++++++++++++ Huseyin
On 11/24/2013 6:03 PM, "H. Özoguz" wrote:
/ May be ConTeXt experts would have better suggestions, till then you />>/ may want to look at the fake bold option in simplefonts - />>/ http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts />/ />/ Thanks for your advice. />/ Unfortunately I did not manish to work with this font by simplefonts. I use the following simple setup: />/ />/ />/ \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt] / \definefontfeature[fakebold][extend=1.1]
\definefont[arabic][file:<fontname>*arabic,fakebold at 15pt]
/ \starttext />/ \arabic\setupalign[r2l] ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ />/ \stoptext />/ />/ How can I get these "fake bolds" with this setup? Or is it absolutely necessary to use Simplefont for these fake-bolds? / The feature is unrelated to simplefonts.
Wolfgang
Thanks Wolfgang, but that does not seem to work with this font. See attachment, the font is wider, but not bold. See the difference to the intended result, achieved with Corel Draw (with the same font), see attachment.
In ConTeXt I had the following code (see attachment for the compiled pdf):
++++++++++++++++ \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt] \definefont[arabics][file:bliblablup_0.ttf*arabic at 15pt] \definefontfeature[fakebold][extend=1.2] \definefont[arabic][file:bliblablup_0.ttf*arabic,fakebold at 15pt]
\starttext \arabic\setupalign[r2l] ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ \blank\arabics\setupalign[r2l] ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ \stoptext ++++++++++++++++
it all depends on how they implement it but for a feature rich opentype font extend will not work out well unless on also scales up the internal font properties (and i'm not sure if that would work out well with for instance cursive features) anyhow, as it's probably uses for a rare cases you can try \setupbodyfont[dejavu] \defineeffect [thicker] [alternative=both,rulethickness=0.3pt] \starttext test \starteffect[thicker]test\stopeffect \stoptext these pseudo slant and bold definition tricks are an inheritance from pdftex and therefore in luatex ... we'd never introduced them otherwise as one should use proper bold fonts (or nothing) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
"H. Özoguz"
-
Hans Hagen