View Issue Details

IDProjectCategoryView StatusLast Update
0017132ScribusTypographypublic2024-01-22 09:38
ReporterPK Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionreopened 
Product Version1.6.0 
Summary0017132: French non breakable space are not normal space
DescriptionHi,

In French typo, when you add a non breakable space before a punctuation sign, it means that the word before the sign and the sign must be attached, i.e. they are seen as single word. The French reader sees a whole word, without break.

The space is here to separate the word from the punctuation sign, but it is not a normal space. It must not be expandable when Scribus has to justify the text, except in the case of Scribus magnifies the space *between* letters in a word. In such case, the identical space that Scribus puts between letters can be placed in plus of the space before the sign.

If you expand the space, like a normal space, you introduced a break with the previous word. If you expand all the space between letter, there is no break.

It seems quite respected with the thin space, but not quite with the (non-breakable) normal space.
Steps To ReproduceSee the attached doc.
I have formated the text respecting the French typo (non-breakable normal space before ':', non-breakable thinspace for '!' and '?"

The space before ':' is too large...
TagsNo tags attached.
PatchNo

Activities

PK

2024-01-19 08:39

reporter  

lettrine.sla (19,337 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<SCRIBUSUTF8NEW Version="1.6.1">
    <DOCUMENT ANZPAGES="1" PAGEWIDTH="595.275590551181" PAGEHEIGHT="841.889763779528" BORDERLEFT="28.346" BORDERRIGHT="28.346" BORDERTOP="28.346" BORDERBOTTOM="28.346" PRESET="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" ORIENTATION="0" PAGESIZE="A4" FIRSTNUM="1" BOOK="0" AUTOSPALTEN="1" ABSTSPALTEN="11" UNITS="1" DFONT="DejaVu Sans Book" DSIZE="12" DCOL="1" DGAP="0" TabFill="" TabWidth="36" TextDistLeft="0" TextDistRight="0" TextDistBottom="0" TextDistTop="0" FirstLineOffset="1" AUTHOR="" COMMENTS="" KEYWORDS="" PUBLISHER="" DOCDATE="" DOCTYPE="" DOCFORMAT="" DOCIDENT="" DOCSOURCE="" DOCLANGINFO="" DOCRELATION="" DOCCOVER="" DOCRIGHTS="" DOCCONTRIB="" TITLE="" SUBJECT="" VHOCH="33" VHOCHSC="66" VTIEF="33" VTIEFSC="66" VKAPIT="75" BASEGRID="14.4" BASEO="0" AUTOL="100" UnderlinePos="-1" UnderlineWidth="-1" StrikeThruPos="-1" StrikeThruWidth="-1" GROUPC="1" HCMS="0" DPSo="0" DPSFo="0" DPuse="0" DPgam="0" DPbla="1" DPPr="ISO Coated v2 300% (basICColor)" DPIn="sRGB display profile (ICC v2.2)" DPInCMYK="ISO Coated v2 300% (basICColor)" DPIn2="sRGB display profile (ICC v2.2)" DPIn3="ISO Coated v2 300% (basICColor)" DISc="1" DIIm="0" ALAYER="0" LANGUAGE="en_GB" AUTOMATIC="1" AUTOCHECK="0" GUIDELOCK="0" SnapToGuides="0" SnapToGrid="0" SnapToElement="0" MINGRID="20.001" MAJGRID="100.001" SHOWGRID="0" SHOWGUIDES="1" showcolborders="1" SHOWFRAME="1" SHOWControl="0" SHOWLAYERM="0" SHOWMARGIN="1" SHOWBASE="0" SHOWPICT="1" SHOWLINK="0" rulerMode="1" showrulers="1" showBleed="1" rulerXoffset="0" rulerYoffset="0" GuideRad="10" GRAB="4" POLYC="4" POLYF="0.502" POLYR="0" POLYIR="0" POLYCUR="0" POLYOCUR="0" POLYS="0" arcStartAngle="30" arcSweepAngle="300" spiralStartAngle="0" spiralEndAngle="1080" spiralFactor="1.2" AutoSave="0" AutoSaveTime="600000" AutoSaveCount="1" AutoSaveKeep="0" AUtoSaveInDocDir="1" AutoSaveDir="" ScratchBottom="20.001" ScratchLeft="100.001" ScratchRight="100.001" ScratchTop="20.001" GapHorizontal="0" GapVertical="40" StartArrow="0" EndArrow="0" PEN="Black" BRUSH="None" PENLINE="Black" PENTEXT="Black" StrokeText="Black" TextBackGround="None" TextLineColor="None" TextBackGroundShade="100" TextLineShade="100" TextPenShade="100" TextStrokeShade="100" STIL="1" STILLINE="1" WIDTH="1" WIDTHLINE="1" PENSHADE="100" LINESHADE="100" BRUSHSHADE="100" CPICT="None" PICTSHADE="100" CSPICT="None" PICTSSHADE="100" PICTSCX="1" PICTSCY="1" PSCALE="1" PASPECT="1" EmbeddedPath="0" HalfRes="1" dispX="10.001" dispY="10.001" constrain="15" MINORC="#00ff00" MAJORC="#00ff00" GuideC="#000080" BaseC="#c0c0c0" renderStack="2 0 4 1 3" GridType="0" PAGEC="#ffffff" MARGC="#0000ff" RANDF="0" currentProfile="PDF 1.4" calligraphicPenFillColor="Black" calligraphicPenLineColor="Black" calligraphicPenFillColorShade="100" calligraphicPenLineColorShade="100" calligraphicPenLineWidth="1" calligraphicPenAngle="0" calligraphicPenWidth="10" calligraphicPenStyle="1">
        <CheckProfile Name="PDF 1.3" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <CheckProfile Name="PDF 1.4" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <CheckProfile Name="PDF 1.5" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <CheckProfile Name="PDF 1.6" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="0" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <CheckProfile Name="PDF/X-1a" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="1" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="1" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <CheckProfile Name="PDF/X-3" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="1" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="1" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <CheckProfile Name="PDF/X-4" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="1" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="1" checkFontNotEmbedded="1" checkFontIsOpenType="0" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <CheckProfile Name="PostScript" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="0" checkFontIsOpenType="0" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/>
        <COLOR NAME="Black" SPACE="CMYK" C="0" M="0" Y="0" K="100"/>
        <COLOR NAME="Blue" SPACE="RGB" R="0" G="0" B="255"/>
        <COLOR NAME="Cool Black" SPACE="CMYK" C="60" M="0" Y="0" K="100"/>
        <COLOR NAME="Cyan" SPACE="CMYK" C="100" M="0" Y="0" K="0"/>
        <COLOR NAME="Green" SPACE="RGB" R="0" G="255" B="0"/>
        <COLOR NAME="Magenta" SPACE="CMYK" C="0" M="100" Y="0" K="0"/>
        <COLOR NAME="Red" SPACE="RGB" R="255" G="0" B="0"/>
        <COLOR NAME="Registration" SPACE="CMYK" C="100" M="100" Y="100" K="100" Register="1"/>
        <COLOR NAME="Rich Black" SPACE="CMYK" C="60" M="40" Y="40" K="100"/>
        <COLOR NAME="Warm Black" SPACE="CMYK" C="0" M="60" Y="29.8039215686275" K="100"/>
        <COLOR NAME="White" SPACE="CMYK" C="0" M="0" Y="0" K="0"/>
        <COLOR NAME="Yellow" SPACE="CMYK" C="0" M="0" Y="100" K="0"/>
        <HYPHEN/>
        <CHARSTYLE CNAME="Default Character Style" DefaultStyle="1" FONT="DejaVu Sans Book" FONTSIZE="12" FONTFEATURES="" FEATURES="inherit" FCOLOR="Black" FSHADE="100" HyphenWordMin="3" SCOLOR="Black" BGCOLOR="None" BGSHADE="100" SSHADE="100" TXTSHX="5" TXTSHY="-5" TXTOUT="1" TXTULP="-0.1" TXTULW="-0.1" TXTSTP="-0.1" TXTSTW="-0.1" SCALEH="100" SCALEV="100" BASEO="0" KERN="0" LANGUAGE="en_GB"/>
        <STYLE NAME="Default Paragraph Style" DefaultStyle="1" ALIGN="0" DIRECTION="0" LINESPMode="0" LINESP="15" INDENT="0" RMARGIN="0" FIRST="0" VOR="0" NACH="0" ParagraphEffectOffset="0" DROP="0" DROPLIN="2" Bullet="0" Numeration="0" HyphenConsecutiveLines="2" BCOLOR="None" BSHADE="100"/>
        <STYLE NAME="Premier paragraphe" ALIGN="3" LINESP="18" ParagraphEffectOffset="2.83464566929134" DROP="1" Bullet="0" Numeration="0" LANGUAGE="en_GB"/>
        <STYLE NAME="Paragraphe" ALIGN="3" LINESP="18" FIRST="14.1732283464567" ParagraphEffectOffset="2.83464566929134" DROP="0" Bullet="0" Numeration="0" LANGUAGE="en_GB"/>
        <TableStyle NAME="Default Table Style" DefaultStyle="1" FillColor="None" FillShade="100">
            <TableBorderLeft>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderLeft>
            <TableBorderRight>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderRight>
            <TableBorderTop>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderTop>
            <TableBorderBottom>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderBottom>
        </TableStyle>
        <CellStyle NAME="Default Cell Style" DefaultStyle="1" FillColor="None" FillShade="100" LeftPadding="1" RightPadding="1" TopPadding="1" BottomPadding="1">
            <TableBorderLeft>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderLeft>
            <TableBorderRight>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderRight>
            <TableBorderTop>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderTop>
            <TableBorderBottom>
                <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
            </TableBorderBottom>
        </CellStyle>
        <LAYERS NUMMER="0" LEVEL="0" NAME="Background" SICHTBAR="1" DRUCKEN="1" EDIT="1" SELECT="0" FLOW="1" TRANS="1" BLEND="0" OUTL="0" LAYERC="#000000"/>
        <Printer firstUse="1" toFile="0" useAltPrintCommand="0" outputSeparations="0" useSpotColors="1" useColor="1" mirrorH="0" mirrorV="0" useICC="0" doGCR="0" doClip="0" setDevParam="0" useDocBleeds="1" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" includePDFMarks="1" PSLevel="3" PrintEngine="3" markLength="20.0013" markOffset="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" printer="Hewlett-Packard-HP-Color-LaserJet-CM1312nfi-MFP" filename="" separationName="All" printerCommand=""/>
        <PDF firstUse="0" Thumbnails="0" Articles="0" Bookmarks="0" Compress="1" CMethod="0" Quality="0" EmbedPDF="0" MirrorH="0" MirrorV="0" Clip="0" rangeSel="0" rangeTxt="" RotateDeg="0" PresentMode="0" RecalcPic="0" FontEmbedding="0" Grayscale="0" RGBMode="1" UseProfiles="0" UseProfiles2="0" Binding="0" PicRes="300" Resolution="300" Version="14" Intent="1" Intent2="0" SolidP="sRGB display profile (ICC v2.2)" ImageP="sRGB display profile (ICC v2.2)" PrintP="ISO Coated v2 300% (basICColor)" InfoString="" BTop="0" BLeft="0" BRight="0" BBottom="0" useDocBleeds="1" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" docInfoMarks="0" markLength="20.0012598425197" markOffset="0" ImagePr="0" PassOwner="" PassUser="" Permissions="-4" Encrypt="0" UseLayers="0" UseLpi="0" UseSpotColors="1" doMultiFile="0" displayBookmarks="0" displayFullscreen="0" displayLayers="0" displayThumbs="0" hideMenuBar="0" hideToolBar="0" fitWindow="0" openAfterExport="0" PageLayout="0" openAction="">
            <Subset Name="DejaVu Sans Book"/>
            <LPI Color="" Frequency="10" Angle="0" SpotFunction="0"/>
            <LPI Color="Black" Frequency="133" Angle="45" SpotFunction="3"/>
            <LPI Color="Cyan" Frequency="133" Angle="105" SpotFunction="3"/>
            <LPI Color="Magenta" Frequency="133" Angle="75" SpotFunction="3"/>
            <LPI Color="Yellow" Frequency="133" Angle="90" SpotFunction="3"/>
        </PDF>
        <DocItemAttributes/>
        <TablesOfContents/>
        <NotesStyles>
            <notesStyle Name="Default" Start="1" Endnotes="0" Type="Type_1_2_3" Range="0" Prefix="" Suffix=")" AutoHeight="1" AutoWidth="1" AutoRemove="1" AutoWeld="1" SuperNote="1" SuperMaster="1" MarksStyle="" NotesStyle=""/>
        </NotesStyles>
        <PageSets>
            <Set Name="Single Page" FirstPage="0" Rows="1" Columns="1"/>
            <Set Name="Facing Pages" FirstPage="1" Rows="1" Columns="2">
                <PageNames Name="Left Page"/>
                <PageNames Name="Right Page"/>
            </Set>
            <Set Name="3-Fold" FirstPage="0" Rows="1" Columns="3">
                <PageNames Name="Left Page"/>
                <PageNames Name="Middle"/>
                <PageNames Name="Right Page"/>
            </Set>
            <Set Name="4-Fold" FirstPage="0" Rows="1" Columns="4">
                <PageNames Name="Left Page"/>
                <PageNames Name="Middle Left"/>
                <PageNames Name="Middle Right"/>
                <PageNames Name="Right Page"/>
            </Set>
        </PageSets>
        <Sections>
            <Section Number="0" Name="Section 1" From="0" To="0" Type="Type_1_2_3" Start="1" Reversed="0" Active="1" FillChar="0" FieldWidth="0"/>
        </Sections>
        <MASTERPAGE PAGEXPOS="100.001" PAGEYPOS="20.001" PAGEWIDTH="595.275590551181" PAGEHEIGHT="841.889763779528" BORDERLEFT="28.346" BORDERRIGHT="28.346" BORDERTOP="28.346" BORDERBOTTOM="28.346" NUM="0" NAM="Normal" MNAM="" Size="A4" Orientation="0" LEFT="0" PRESET="0" VerticalGuides="" HorizontalGuides="" AGhorizontalAutoGap="0" AGverticalAutoGap="0" AGhorizontalAutoCount="0" AGverticalAutoCount="0" AGhorizontalAutoRefer="0" AGverticalAutoRefer="0" AGSelection="0 0 0 0" pageEffectDuration="1" pageViewDuration="1" effectType="0" Dm="0" M="0" Di="0"/>
        <PAGE PAGEXPOS="100.001" PAGEYPOS="20.001" PAGEWIDTH="595.275590551181" PAGEHEIGHT="841.889763779528" BORDERLEFT="28.346" BORDERRIGHT="28.346" BORDERTOP="28.346" BORDERBOTTOM="28.346" NUM="0" NAM="" MNAM="Normal" Size="A4" Orientation="0" LEFT="0" PRESET="0" VerticalGuides="" HorizontalGuides="" AGhorizontalAutoGap="0" AGverticalAutoGap="0" AGhorizontalAutoCount="0" AGverticalAutoCount="0" AGhorizontalAutoRefer="0" AGverticalAutoRefer="0" AGSelection="0 0 0 0" pageEffectDuration="1" pageViewDuration="1" effectType="0" Dm="0" M="0" Di="0"/>
        <PAGEOBJECT XPOS="128.347" YPOS="48.347" OwnPage="0" ItemID="16339776" PTYPE="4" WIDTH="538.583590551181" HEIGHT="785.197763779528" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="1" RATIO="1" COLUMNS="1" COLGAP="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="1" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" path="M0 0 L538.584 0 L538.584 785.198 L0 785.198 L0 0 Z" copath="M0 0 L538.584 0 L538.584 785.198 L0 785.198 L0 0 Z" gXpos="128.347" gYpos="48.347" gWidth="0" gHeight="0" PSTYLE="Premier paragraphe" LAYER="0" NEXTITEM="-1" BACKITEM="-1">
            <StoryText>
                <DefaultStyle PARENT="Premier paragraphe"/>
                <ITEXT CH="Com­mençons par la con­sidéra­tion des choses les plus com­munes, et que nous croy­ons com­pren­dre le plus dis­tincte­ment, à sa­voir les corps que nous touchons et que nous voy­ons. Je n’en­tends pas par­ler des corps en général, car ces no­tions générales sont d’or­din­aire plus con­fuses, mais de quelqu’un en par­ticulier. Pren­ons pour ex­emple ce mor­ceau de cire qui vi­ent d’être tiré de la ruche"/>
                <nbspace/>
                <ITEXT CH=": il n’a pas en­core perdu la douceur du miel qu’il con­tenait, il re­tient en­core quelque chose de l’odeur des fleurs dont il a été re­cueilli ; sa couleur, sa fig­ure, sa grandeur, sont ap­par­entes ; il est dur, il est froid, on le touche, et si vous le frap­pez, il rendra quelque son. "/>
                <para PARENT="Premier paragraphe"/>
                <ITEXT CH="En­fin toutes les choses qui peuvent dis­tincte­ment faire con­naître un corps, se ren­contrent en ce­lui-ci. Mais voici que, cepend­ant que je parle, on l’ap­proche du feu"/>
                <nbspace/>
                <ITEXT CH=": ce qui y res­tait de saveur s’ex­hale, l’odeur s’évan­ouit, sa couleur se change, sa fig­ure se perd, sa grandeur aug­mente, il devi­ent li­quide, il s’échauffe, à peine le peut-on toucher, et quoiqu’on le frappe, il ne rendra plus aucun son. La même cire de­meure-t-elle après ce change­ment ? Il faut avouer qu’elle de­meure ; et per­sonne ne le peut nier. Qu’est-ce donc que l’on con­nais­sait en ce mor­ceau de cire avec tant de dis­tinc­tion ? "/>
                <para PARENT="Paragraphe"/>
                <para PARENT="Paragraphe"/>
                <ITEXT CH="Qu’est-ce main­ten­ant que cette ex­ten­sion ? N’est-elle pas aussi in­con­nue, puisque dans la cire qui se fond elle aug­mente, et se trouve en­core plus grande quand elle est en­tière­ment fon­due, et beau­c­oup plus en­core quand la chaleur aug­mente dav­ant­age ? Et je ne con­cev­rais pas claire­ment et selon la vérité ce que c’est que la cire, si je ne pen­sais qu’elle est cap­able de re­ce­voir plus de var­iétés selon l’ex­ten­sion, que je n’en ai ja­mais ima­giné. Il faut donc que je tombe d’ac­cord, que je ne saur­ais pas même con­ce­voir par l’ima­gin­a­tion ce que c’est que cette cire, et qu’il n’y a que mon en­ten­dement seul qui le con­çoive ; je dis ce mor­ceau de cire en par­ticulier, car pour la cire en général, il est en­core plus évident. "/>
                <para PARENT="Premier paragraphe"/>
                <ITEXT CH="Con­sidérons-le at­tent­ive­ment, et éloignant toutes les choses qui n’ap­par­tiennent point à la cire, voy­ons ce qui reste. Certes il ne de­meure rien que quelque chose d’étendu, de flex­ible et de mu­able. Or qu’est-ce que cela"/>
                <nbspace/>
                <ITEXT CH=": flex­ible et mu­able ? N’est-ce pas que j’ima­gine que cette cire étant ronde est cap­able de de­venir car­rée, et de passer du carré en une fig­ure tri­an­gu­laire ? Non certes, ce n’est pas cela, puisque je la con­çois cap­able de re­ce­voir une in­fin­ité de semblables change­ments, et je ne saur­ais néan­moins par­courir cette in­fin­ité par mon ima­gin­a­tion, et par con­séquent cette con­cep­tion que j’ai de la cire ne s’ac­com­plit pas par la fac­ulté d’ima­giner."/>
                <trail PARENT="Paragraphe"/>
            </StoryText>
        </PAGEOBJECT>
    </DOCUMENT>
</SCRIBUSUTF8NEW>
lettrine.sla (19,337 bytes)   
lettrine.pdf (33,237 bytes)

jghali

2024-01-19 17:07

administrator   ~0050906

Copied from issue 0007629:

According to Unicode standards, NBSPACE is subject to compression and expansion when performing justification. See introduction of "Unicode Line Breaking Algorithm" (http://unicode.org/reports/tr14/#GL) :

"When compression or expansion is allowed, a locally optimal line break seeks to balance the relative merits of the resulting amounts of compression and expansion for different line break candidates. When expanding or compressing interword space according to common typographical practice, only the spaces marked by U+0020 SPACE and U+00A0 NO-BREAK SPACE are subject to compression, and only spaces marked by U+0020 SPACE, U+00A0 NO-BREAK SPACE, and occasionally spaces marked by U+2009 THIN SPACE are subject to expansion. All other space characters normally have fixed width. When expanding or compressing intercharacter space, the presence of U+200B ZERO WIDTH SPACE or U+2060 WORD JOINER is always ignored."

jghali

2024-01-19 17:17

administrator   ~0050907

According to https://translatewiki.net/wiki/Thread:Support/Spaces, it seems it is the Narrow No Break Space (U+202F) which should be used for French in the situations you describe, and not the basic Non Breakable Space (U+00A0).

jghali

2024-01-19 17:28

administrator   ~0050908

I just made a test : Narrow No Break Space works as expected and its width is not affected by justification.

ale

2024-01-19 18:02

manager   ~0050909

thin space does not seem to be affected either...
thins-space.png (7,524 bytes)   
thins-space.png (7,524 bytes)   

PK

2024-01-21 16:35

reporter   ~0050924

OK, I understand well : thanks a lot.

In French, we must use U+202F and not U+00A0 for 'normal' non breaking space/

I correct my script in this way.

Sorry for th error and thanks a lot for your explanation. You can close the 'bug'.

Thanks.

PK

2024-01-22 07:26

reporter   ~0050927

I did a mistake. I reopen the bug to add a comment for explanation.

NO-BREAK SPACE is the right space for 'espace insécable' in French typo, that means that the ponctuation sign should be glued with the previous word *AND* the space between them is the same as the _other spaces of the line_. So my initial request was wrong: the space is really the same as the others, even if it is difficult to read! the shame of me! (cf. Lexique des règles typographiques en usage à l'Imprimerie nationale, ISBN 2-11-081075-0).

*thin* No Break Space (U+202F) has a specific role in French typo: it must be placed where an 'espace *fine* insécable'' is required (such as before the ; ? and !). At this point, the space can't be expanded during the justification.

So, all this points of typo (and others) are correctly handled by my script https://github.com/patricekaratchentzeff/Scribus.

Notice that the general purpose of adding No Break Space of Scribus does not deal correctly the French Typo (this is why I propose my script to do it).

Thanks and all my excuses for opening a 'false' bug. You can close definitely the bug :)

Issue History

Date Modified Username Field Change
2024-01-19 08:39 PK New Issue
2024-01-19 08:39 PK File Added: lettrine.sla
2024-01-19 08:39 PK File Added: lettrine.pdf
2024-01-19 17:07 jghali Note Added: 0050906
2024-01-19 17:17 jghali Note Added: 0050907
2024-01-19 17:28 jghali Note Added: 0050908
2024-01-19 18:02 ale Note Added: 0050909
2024-01-19 18:02 ale File Added: thins-space.png
2024-01-21 16:35 PK Note Added: 0050924
2024-01-21 18:11 ale Status new => closed
2024-01-21 18:11 ale Resolution open => no change required
2024-01-22 07:26 PK Status closed => feedback
2024-01-22 07:26 PK Resolution no change required => reopened
2024-01-22 07:26 PK Note Added: 0050927
2024-01-22 09:38 ale Status feedback => closed