Hi István,

Indeed I see the same issue, except that I didn't upgrade anything on my
system other than LedgerSMB to 1.3.28. Since the new font is supposed to be
a replacement for Verdana, which is a SansSerif font, I suppose the
replacement font ought to be "LiberationSans-Regular".

Bye,

Erik.


On Sun, Jan 13, 2013 at 10:33 PM, Pongrácz István <[email protected]
> wrote:

>
>  Hi,
>
>
> In my system the new xedemo templates broken due to the new font, or due
> to that, I have the recent debian wheezy system (upgraded today, 13th of
> Jan.), including several *tex* related packages. I got the error below.
> Workaround at the end. I installed all packages named liberation before,
> so, I am sure, the font is ok.
>
> Error!
>
> *latex error - pdflatex exited with errors:
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !
> ! fontspec error: "font-not-found"
> !
> ! The font "Liberation" cannot be found.
> !
> ! See the fontspec documentation for further information.
> !
> ! For immediate help type H .
> !...............................................
> l.5 \setmainfont[]{Liberation}
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !
> ! fontspec error: "font-not-found"
> !
> ! The font "Liberation" cannot be found.
> !
> ! See the fontspec documentation for further information.
> !
> ! For immediate help type H .
> !...............................................
> l.5 \setmainfont[]{Liberation}
> ! Font EU1/Liberation(0)/m/n/10=Liberation: at 10.0pt not loadable: Metric
> (TFM
> l.5 \setmainfont[]{Liberation}
> ! Font EU1/Liberation(0)/m/n/10.95=Liberation: at 10.95pt not loadable:
> Metric
> l.10 \begin{document}
> ! Font EU1/Liberation(0)/m/n/6=Liberation: at 6.0pt not loadable: Metric
> (TFM)
> l.25 }
> ! Font EU1/Liberation(0)/m/n/8=Liberation: at 8.0pt not loadable: Metric
> (TFM)
> l.25 }
> ! Font EU1/Liberation(0)/bx/n/10.95=Liberation: at 10.95pt not loadable:
> Metric
> l.101 }*
>
> *--------------------------------------*
> I got it work in the following way:
>
>
>    - Add extra line before setmainfont: *\usepackage{fontspec}*
>    - Change Liberation to Verdana (or Impact or *
>    LiberationMono-Regular.ttf* )
>
> Here is the tex code snippet:
>
> <?lsmb FILTER latex -?>
> \documentclass{scrartcl}
> \usepackage{tabularx}
> \usepackage{longtable}\usepackage{fontspec} 
> \setmainfont[]{LiberationSerif-Regular.ttf}
> \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
> \usepackage{graphicx}
> \setlength\LTleft{0pt}
> \setlength\LTright{0pt}
> \begin{document}
>
> Best regards,
>
> István
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> _______________________________________________
> Ledger-smb-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Reply via email to