Commit Graph

19 Commits

Author SHA1 Message Date
Abdelrazak Younes
f2197de98a Fix font issue due to mispelled marking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:45:30 +00:00
Abdelrazak Younes
1d2077e51e FontList::setMisspelled(): Fix bogus code. Not really optimized..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:40:05 +00:00
Abdelrazak Younes
23fded1fc0 New FontList::setMisspelled() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:17:23 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
Abdelrazak Younes
e1eaea3b4d simplify code by using fontIterator()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 12:40:10 +00:00
Abdelrazak Younes
bef58b3b16 Optimisation: away creation of FontTable for each FontList::fontIterator() call.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25664 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 12:09:54 +00:00
Abdelrazak Younes
9383f4c3c6 'using namespace std' instead of 'using std::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +00:00
Abdelrazak Younes
22ceeea338 MSVC compile FIX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 08:16:39 +00:00
Abdelrazak Younes
aeebc6565c * FontList:
- clear(): new
- set(): simplify a bit.

* Paragraph(): optimize appendString() and resetFonts().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 12:21:58 +00:00
Abdelrazak Younes
5ddc612b73 Splitup Font in saner bits:
* Font::FontBits -> FontInfo
* Font::FONT_XXX -> all enums transfered to FontEnums.h and renamed to FontXxx

I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw() and metrics methods. There's one problematic cases with InsetQuotes which I solved by taking the Buffer main language.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 18:51:54 +00:00
Abdelrazak Younes
c86e632afa Introducing FontList::setRange()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21126 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 19:18:51 +00:00
Abdelrazak Younes
17321b90ad Fix some bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21091 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 21:27:22 +00:00
Abdelrazak Younes
85cae8965e Introducing Font::validate().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21070 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 16:22:36 +00:00
Abdelrazak Younes
3372738c6d Introducing FontList::validate()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21069 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 16:01:32 +00:00
Abdelrazak Younes
65b3790153 Introducing FontList::hasChangeInRange()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:30:54 +00:00
Bo Peng
db997edc21 Fix scons and src/FontList.cpp for the addition of FontList.h|cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:23:11 +00:00
Abdelrazak Younes
0077782724 * Paragraph::highestFontInRange(): Transfer some more code from Paragraph to FontList.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21064 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:55:44 +00:00
Abdelrazak Younes
2f72a0a721 incremental cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21063 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:47:32 +00:00
Abdelrazak Younes
4d9007bd61 Introducing FontList.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21062 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:35:05 +00:00