Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3dcd8ca0
Kaydet (Commit)
3dcd8ca0
authored
Mar 06, 2012
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Cleanup: remove silly extra scope.
üst
a277042e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
18 deletions
+16
-18
outdev6.cxx
vcl/source/gdi/outdev6.cxx
+0
-0
pdfwriter_impl.cxx
vcl/source/gdi/pdfwriter_impl.cxx
+16
-18
No files found.
vcl/source/gdi/outdev6.cxx
Dosyayı görüntüle @
3dcd8ca0
This diff is collapsed.
Click to expand it.
vcl/source/gdi/pdfwriter_impl.cxx
Dosyayı görüntüle @
3dcd8ca0
...
@@ -2373,24 +2373,22 @@ bool PDFSalLayout::LayoutText( ImplLayoutArgs& rArgs )
...
@@ -2373,24 +2373,22 @@ bool PDFSalLayout::LayoutText( ImplLayoutArgs& rArgs )
if( bRightToLeft )
if( bRightToLeft )
cChar = static_cast<sal_Unicode>(GetMirroredChar( cChar ));
cChar = static_cast<sal_Unicode>(GetMirroredChar( cChar ));
if( 1 ) // TODO: shortcut for ASCII?
sal_Char aBuf[4];
{
sal_uInt32 nInfo;
sal_Char aBuf[4];
sal_Size nSrcCvtChars;
sal_uInt32 nInfo;
sal_Size nSrcCvtChars;
sal_Size nConv = rtl_convertUnicodeToText( aConv,
NULL,
sal_Size nConv = rtl_convertUnicodeToText( aConv,
&cChar, 1,
NULL,
aBuf, sizeof(aBuf)/sizeof(*aBuf),
&cChar, 1,
RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR,
aBuf, sizeof(aBuf)/sizeof(*aBuf),
&nInfo, &nSrcCvtChars );
RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR,
// check whether conversion was possible
&nInfo, &nSrcCvtChars );
// else fallback font is needed as the standard fonts
// check whether conversion was possible
// are handled via WinAnsi encoding
// else fallback font is needed as the standard fonts
if( nConv > 0 )
// are handled via WinAnsi encoding
cChar = ((sal_Unicode)aBuf[0]) & 0x00ff;
if( nConv > 0 )
cChar = ((sal_Unicode)aBuf[0]) & 0x00ff;
}
if( cChar & 0xff00 )
if( cChar & 0xff00 )
{
{
cChar = 0; // NotDef glyph
cChar = 0; // NotDef glyph
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment