Home
last modified time | relevance | path

Searched refs:gr (Results 1 – 25 of 71) sorted by relevance

123

/AOO41X/main/vcl/source/glyphs/
H A Dgraphite_textsrc.cxx45 gr::UtfType TextSourceAdaptor::utfEncodingForm() { in utfEncodingForm()
46 return gr::kutf16; in utfEncodingForm()
56 size_t TextSourceAdaptor::fetch(gr::toffset, size_t, gr::utf32 *) in fetch()
63 size_t TextSourceAdaptor::fetch(gr::toffset offset, size_t char_count, gr::utf16 * char_buffer) in fetch()
74 size_t TextSourceAdaptor::fetch(gr::toffset, size_t, gr::utf8 *) in fetch()
101 bool TextSourceAdaptor::getRightToLeft(gr::toffset nCharIdx) in getRightToLeft()
111 unsigned int TextSourceAdaptor::getDirectionDepth(gr::toffset nCharIdx) in getDirectionDepth()
121 float TextSourceAdaptor::getVerticalOffset(gr::toffset) in getVerticalOffset()
126 gr::isocode TextSourceAdaptor::getLanguage(gr::toffset) in getLanguage()
130 gr::isocode unknown = {{0,0,0,0}}; in getLanguage()
[all …]
H A Dgraphite_textsrc.hxx66 class TextSourceAdaptor : public gr::ITextSource
71 virtual gr::UtfType utfEncodingForm();
73 virtual size_t fetch(gr::toffset ichMin, size_t cch, gr::utf32 * prgchBuffer);
74 virtual size_t fetch(gr::toffset ichMin, size_t cch, gr::utf16 * prgchwBuffer);
75 virtual size_t fetch(gr::toffset ichMin, size_t cch, gr::utf8 * prgchsBuffer);
76 virtual bool getRightToLeft(gr::toffset ich);
77 virtual unsigned int getDirectionDepth(gr::toffset ich);
78 virtual float getVerticalOffset(gr::toffset ich);
79 virtual gr::isocode getLanguage(gr::toffset ich);
81 virtual ext_std::pair<gr::toffset, gr::toffset> propertyRange(gr::toffset ich);
[all …]
H A Dgraphite_features.cxx48 GrFeatureParser::GrFeatureParser(gr::Font & font, const std::string lang) in GrFeatureParser()
55 GrFeatureParser::GrFeatureParser(gr::Font & font, const std::string features, const std::string lan… in GrFeatureParser()
84 gr::isocode aLang = maLang; in GrFeatureParser()
87 ext_std::pair<gr::LanguageIterator,gr::LanguageIterator> aSupported in GrFeatureParser()
89 gr::LanguageIterator iL = aSupported.first; in GrFeatureParser()
92 gr::isocode aSupportedLang = *iL; in GrFeatureParser()
128 void GrFeatureParser::setLang(gr::Font & font, const std::string & lang) in setLang()
130 gr::isocode aLang = {{0,0,0,0}}; in setLang()
138 ext_std::pair<gr::LanguageIterator,gr::LanguageIterator> aSupported in setLang()
140 gr::LanguageIterator iL = aSupported.first; in setLang()
[all …]
H A Dgraphite_layout.cxx107 typedef ext_std::pair<gr::GlyphIterator, gr::GlyphIterator> glyph_range_t;
108 typedef ext_std::pair<gr::GlyphSetIterator, gr::GlyphSetIterator> glyph_set_range_t;
169 GraphiteLayout::Glyphs::fill_from(gr::Segment & rSegment, ImplLayoutArgs &rArgs, in fill_from()
173 typedef ext_std::pair< gr::GlyphSetIterator, gr::GlyphSetIterator > GrGlyphSet; in fill_from()
177 gr::GlyphIterator prevBase = iGlyphs.second; in fill_from()
198 gr::GlyphIterator gi; in fill_from()
203 gr::GlyphInfo info = (*gi); in fill_from()
250 gr::GlyphSetIterator gj = charGlyphs.first; in fill_from()
260 for (gr::GlyphSetIterator agi = iAttached.first; agi != iAttached.second; ++agi) in fill_from()
340 std::pair<float,float> GraphiteLayout::Glyphs::appendCluster(gr::Segment& rSeg, in appendCluster()
[all …]
H A Dgraphite_adaptors.cxx54 using gr::GrResult;
70 clrFore = gr::kclrBlack; in FontProperties()
71 clrBack = gr::kclrTransparent; in FontProperties()
197 gr::Font * GraphiteFontAdaptor::copyThis() { in copyThis()
244 const void * GraphiteFontAdaptor::getTable(gr::fontTableId32 table_id, size_t * buffer_sz) in getTable()
258 void GraphiteFontAdaptor::getGlyphMetrics(gr::gid16 nGlyphId, gr::Rect & aBounding, gr::Point & adv… in getGlyphMetrics()
H A Dgraphite_cache.cxx46 GrSegRecord::GrSegRecord(rtl::OUString * rope, TextSourceAdaptor * textSrc, gr::Segment * seg, bool… in GrSegRecord()
59 void GrSegRecord::reuse(rtl::OUString * rope, TextSourceAdaptor * textSrc, gr::Segment * seg, bool … in reuse()
97 GrSegRecord * GraphiteSegmentCache::cacheSegment(TextSourceAdaptor * adapter, gr::Segment * seg, bo… in cacheSegment()
/AOO41X/main/vcl/inc/
H A Dgraphite_layout.hxx63 class GraphiteWinFont : public gr::WinFont
67 GraphiteWinFont(HDC hdc) : gr::WinFont(hdc) {}; in GraphiteWinFont()
72 namespace gr { class Segment; class GlyphIterator; } namespace
94 void fill_from(gr::Segment & rSeg, ImplLayoutArgs & rArgs,
103 std::pair<float,float> appendCluster(gr::Segment & rSeg, ImplLayoutArgs & rArgs,
108 …void append(gr::Segment & rSeg, ImplLayoutArgs & rArgs, gr::GlyphInfo & rGi, float nextGly…
116 gr::LayoutEnvironment maLayout;
117 const gr::Font &mrFont;
126 …explicit GraphiteLayout( const gr::Font& font, const grutils::GrFeatureParser* features = NULL ) t…
132 gr::Segment * CreateSegment(ImplLayoutArgs& rArgs, GrSegRecord ** pRecord = NULL);
[all …]
H A Dgraphite_features.hxx45 GrFeatureParser(gr::Font & font, const std::string features, const std::string lang);
46 GrFeatureParser(gr::Font & font, const std::string lang);
49 size_t getFontFeatures(gr::FeatureSetting settings[MAX_FEATURES]) const;
51 static bool isValid(gr::Font & font, gr::FeatureSetting & setting);
52 gr::isocode getLanguage() const { return maLang; }; in getLanguage()
56 void setLang(gr::Font & font, const std::string & lang);
61 gr::isocode maLang;
63 gr::FeatureSetting maSettings[64];
68 gr::featid num;
H A Dgraphite_adaptors.hxx69 struct FontProperties : gr::FontProps
83 class VCL_PLUGIN_PUBLIC GraphiteFontAdaptor : public gr::Font
85 typedef std::map<const gr::gid16, std::pair<gr::Rect, gr::Point> > GlyphMetricMap;
94 gr::Font * copyThis();
106 virtual const void * getTable(gr::fontTableId32 tableID, size_t * pcbSize);
110 …virtual void getGlyphMetrics(gr::gid16 glyphID, gr::Rect & boundingBox, gr::Point & advances);
H A Dgraphite_cache.hxx43 GrSegRecord(rtl::OUString * rope, TextSourceAdaptor * textSrc, gr::Segment * seg, bool bIsRtl);
47 void reuse(rtl::OUString * rope, TextSourceAdaptor * textSrc, gr::Segment * seg, bool bIsRtl);
64 gr::Segment * getSegment() { return m_seg; } in getSegment()
79 gr::Segment * m_seg;
219 GrSegRecord * cacheSegment(TextSourceAdaptor * adapter, gr::Segment * seg, bool bIsRtl);
H A Dgraphite_serverfont.hxx39 …GraphiteLayoutImpl(const gr::Font & font, const grutils::GrFeatureParser * features, GraphiteFontA… in GraphiteLayoutImpl()
/AOO41X/main/graphite/
H A Dgraphite-2.3.1.patch18 // Uncomment this to allow multiple versions of gr to coexist
19 // in the same program e.g. pangographite with gtk uses namespace gr
24 -//#define gr gr2
25 +#define gr gr3ooo
263 - void * pSimpleGlyf = GlyfLookup(static_cast<gr::gid16>(rgnCompId[i]),
264 + pSimpleGlyf = GlyfLookup(static_cast<gr::gid16>(rgnCompId[i]),
270 bool GlyfPoints(gr::gid16 nGlyphId, const void * pGlyf,
1807 -bool GrUtfTextSrc::getRightToLeft(gr::toffset ich)
1808 +bool GrUtfTextSrc::getRightToLeft(gr::toffset /*ich*/)
1813 -unsigned int GrUtfTextSrc::getDirectionDepth(gr::toffset ich)
[all …]
H A Dgraphite-2.3.1_stlportemu.patch5 } // namespace gr
9 gr::WinFont::LogFontWrapper,
10 gr::WinFont::FontHandleCache::FontCacheValue,
11 gr::WinFont::LogFontHashFuncs>;
28 namespace gr
H A Dgraphite-2.3.1.patch.mingw121 } // namespace gr
125 gr::WinFont::LogFontWrapper,
126 gr::WinFont::FontHandleCache::FontCacheValue,
127 gr::WinFont::LogFontHashFuncs>;
/AOO41X/main/graphite/prj/
H A Dbuild.lst1 gr graphite : stlport solenv NULL
2 gr graphite usr1 - all gr_mkout NULL
3 gr graphite nmake - all gr_graphite NULL
/AOO41X/main/vcl/win/source/gdi/
H A Dwinlayout.cxx2791 GraphiteLayoutWinImpl(const gr::Font & font, ImplWinFontEntry & rFont)
2842 virtual void ReplaceDC(gr::Segment & segment) const;
2843 virtual void RestoreDC(gr::Segment & segment) const;
2848 return gr::WinFont::FontHasGraphiteTables(hDC);
2871 void GraphiteWinLayout::ReplaceDC(gr::Segment & segment) const
2874 dynamic_cast<gr::WinFont&>(segment.getFont()).replaceDC(mhDC);
2878 void GraphiteWinLayout::RestoreDC(gr::Segment & segment) const
2880 dynamic_cast<gr::WinFont&>(segment.getFont()).restoreDC();
2907 gr::Segment * pSegment = maImpl.CreateSegment(args, &pSegRecord);
2909 gr::Segment * pSegment = maImpl.CreateSegment(args);
/AOO41X/main/libtextcat/data/new_fingerprints/lm/
H A Dswedish.lm382 gr 140
H A Ddanish.lm377 gr 93
H A Dserbian-latin.lm109 gr 723
H A Dbasque.lm367 gr 62
H A Dspanish.lm337 gr 101
H A Denglish.lm380 gr 76
H A Dfrisian.lm364 gr 174
H A Dpolish.lm312 gr 155
H A Ddutch.lm364 gr 85

123