View Issue Details

IDProjectCategoryView StatusLast Update
0016737ScribusStory Editor / Text Framespublic2023-05-29 18:56
ReporterJLuc Assigned Tojghali  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntu OS Version20.10
Product Version1.5.8 
Fixed in Version1.6.0.svn 
Summary0016737: Hyphenation stop being applied after conditional hyphen
DescriptionThis is a precise case where hyphen arent applied anymore :
in the text after a manualy inserted conditional hyphen.

Hoping this can help fix these issues !
Steps To ReproduceInstall uploaded montserrat font + open uploaded document.
Default paragraph style's character style specifies : "Monserrat light font + french langage + min hyphen size=3"
It features a single text frame with 3 parts french of text :
- 1st part is blue text. It doesnt contain any conditional hyphen.
- 2nd part is black text. I contains a contional hyphen so as to force recher-che (instead of re-cherche)
- 3d part is red text = it is exactly the same text as the 1st blue part.

Apply automatic hyphenation to text frame and see : hyphenation has been applied on 1st blue text BUT has not been applied on 3d red text.

Dont save but reload original document from disk.
Edit black text so as to delete conditional hypen in "recherche" word.
There is no more conditional hyphen.
Apply automatic hyphenation to text frame and see : hyphenation has been applied to whole frame text.
Tagshyphenation
PatchNo

Activities

JLuc

2022-02-06 18:41

developer  

hyphens stop at conditional hyphen DEMO.sla (22,822 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<SCRIBUSUTF8NEW Version="1.5.8">
    <DOCUMENT ANZPAGES="1" PAGEWIDTH="420.944881889764" PAGEHEIGHT="595.275590551181" BORDERLEFT="28.3464566929134" BORDERRIGHT="28.3464566929134" BORDERTOP="28.3464566929134" BORDERBOTTOM="42.5196850393701" PRESET="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" ORIENTATION="0" PAGESIZE="A5" FIRSTNUM="1" BOOK="1" AUTOSPALTEN="1" ABSTSPALTEN="11" UNITS="4" DFONT="Montserrat Light" DSIZE="8" DCOL="2" DGAP="22.6771653543307" TabFill="" TabWidth="36" TextDistLeft="0" TextDistRight="0" TextDistBottom="0" TextDistTop="0" FirstLineOffset="0" 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="10.3" BASEO="5" AUTOL="100" UnderlinePos="-1" UnderlineWidth="-1" StrikeThruPos="-1" StrikeThruWidth="-1" GROUPC="1" HCMS="1" DPSo="1" DPSFo="1" DPuse="1" DPgam="0" DPbla="1" DPPr="PSO Uncoated v3 (FOGRA52)" DPIn="sRGB" DPInCMYK="PSO Uncoated v3 (FOGRA52)" DPIn2="sRGB" DPIn3="PSO Uncoated v3 (FOGRA52)" DISc="1" DIIm="0" ALAYER="0" LANGUAGE="fr" AUTOMATIC="1" AUTOCHECK="1" GUIDELOCK="0" SnapToGuides="1" SnapToGrid="0" SnapToElement="1" MINGRID="17.0107086614173" MAJGRID="34.0214173228346" SHOWGRID="0" SHOWGUIDES="0" showcolborders="0" SHOWFRAME="0" SHOWControl="0" SHOWLAYERM="0" SHOWMARGIN="1" SHOWBASE="0" SHOWPICT="1" SHOWLINK="1" rulerMode="1" showrulers="0" showBleed="1" rulerXoffset="0" rulerYoffset="0" GuideRad="10" GRAB="4" POLYC="4" POLYF="0.707106781186548" 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="141.732283464567" ScratchLeft="850.393700787402" ScratchRight="850.393700787402" ScratchTop="141.732283464567" GapHorizontal="0" GapVertical="56.6929133858268" StartArrow="0" EndArrow="0" PEN="None" BRUSH="None" PENLINE="None" 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="0" dispX="0" dispY="0" constrain="15" MINORC="#00ff00" MAJORC="#00ff00" GuideC="#000080" BaseC="#c0c0c0" renderStack="4 0 1 2 3" GridType="0" PAGEC="#ffffff" MARGC="#0000ff" RANDF="0" currentProfile="PDF 1.5" calligraphicPenFillColor="Black" calligraphicPenLineColor="Black" calligraphicPenFillColorShade="100" calligraphicPenLineColorShade="100" calligraphicPenLineWidth="1" calligraphicPenAngle="0" calligraphicPenWidth="10" calligraphicPenStyle="0">
        <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="0" checkFontIsOpenType="0" 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="0" checkFontIsOpenType="0" 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="0" checkFontIsOpenType="0" 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="0" checkFontNotEmbedded="0" checkFontIsOpenType="0" 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="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="Yellow" SPACE="CMYK" C="0" M="0" Y="100" K="0"/>
        <COLOR NAME="undef" SPACE="RGB" R="150" G="100" B="50"/>
        <HYPHEN/>
        <CHARSTYLE CNAME="Default Character Style" DefaultStyle="1" FONT="Montserrat Light" FONTSIZE="8.8" FCOLOR="Black" SCALEH="97" LANGUAGE="fr"/>
        <STYLE NAME="Default Paragraph Style" DefaultStyle="1" ALIGN="3" LINESPMode="0" LINESP="10.8" INDENT="0" RMARGIN="0" FIRST="0" VOR="0" NACH="5.669291339" ParagraphEffectOffset="0" DROP="0" DROPLIN="2" MinWordTrack="0.96" MinGlyphShrink="0.96" MaxGlyphExtend="1.02" PSHORTCUT="Ctrl+Alt+À" CPARENT="Default Character Style"/>
        <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="Fond de page" SICHTBAR="1" DRUCKEN="1" EDIT="1" SELECT="0" FLOW="1" TRANS="1" BLEND="0" OUTL="0" LAYERC="#000000"/>
        <Printer firstUse="0" toFile="0" useAltPrintCommand="0" outputSeparations="0" useSpotColors="1" useColor="0" mirrorH="0" mirrorV="0" useICC="1" doGCR="0" doClip="0" setDevParam="0" useDocBleeds="1" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" includePDFMarks="1" PSLevel="3" PrintEngine="3" markLength="0" markOffset="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" printer="EPSON-B-510DN" filename="" separationName="Tout" printerCommand="">
            <Separation Name="Cyan"/>
            <Separation Name="Magenta"/>
            <Separation Name="Jaune"/>
            <Separation Name="Noir"/>
        </Printer>
        <PDF firstUse="0" Thumbnails="0" Articles="0" Bookmarks="1" Compress="1" CMethod="1" Quality="1" EmbedPDF="1" MirrorH="0" MirrorV="0" Clip="0" rangeSel="0" rangeTxt="" RotateDeg="0" PresentMode="0" RecalcPic="1" FontEmbedding="1" Grayscale="0" RGBMode="0" UseProfiles="0" UseProfiles2="0" Binding="0" PicRes="300" Resolution="300" Version="15" Intent="1" Intent2="0" SolidP="sRGB" ImageP="sRGB" PrintP="PSO Uncoated v3 (FOGRA52)" InfoString="Ligne d'information" BTop="14.1732283464567" BLeft="0" BRight="14.1732283464567" BBottom="14.1732283464567" useDocBleeds="0" cropMarks="1" bleedMarks="0" registrationMarks="0" colorMarks="0" docInfoMarks="0" markLength="8.50393700787402" markOffset="8.50393700787402" 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="3" openAction="">
            <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/>
        <Marks>
            <Mark label="NoteMark_Default_1" type="4"/>
            <Mark label="NoteMark_Default_2" type="4"/>
            <Mark label="NoteMark_Default_3" type="4"/>
        </Marks>
        <NotesStyles>
            <notesStyle Name="Default" Start="1" Endnotes="0" Type="Type_1_2_3" Range="0" Prefix="" Suffix=") " AutoHeight="0" AutoWidth="1" AutoRemove="1" AutoWeld="0" SuperNote="1" SuperMaster="1" MarksStyle="" NotesStyle=""/>
        </NotesStyles>
        <Notes>
            <Note Master="NoteMark_Default_1" NStyle="Default" Text="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;SCRIBUSTEXT &gt;&lt;defaultstyle parent=&quot;Default Paragraph Style&quot; /&gt;&lt;p &gt;&lt;style parent=&quot;footnotes&quot; /&gt;&lt;span &gt;&lt;charstyle Features=&quot;inherit &quot; /&gt;voir notre livre : Servigne P. &amp;amp; Stevens R &lt;/span&gt;&lt;span &gt;&lt;charstyle Features=&quot;inherit &quot; Font=&quot;Montserrat Italic&quot; /&gt;«&lt;/span&gt;&lt;span &gt;&lt;charstyle Features=&quot;inherit &quot; Font=&quot;Arimo Regular&quot; /&gt; &lt;/span&gt;&lt;span &gt;&lt;charstyle Features=&quot;inherit &quot; Font=&quot;Montserrat Italic&quot; /&gt;Comment tout peut s’effondrer. Petit manuel de collapsologie à l’usage des générations présentes&lt;/span&gt;&lt;span &gt;&lt;charstyle Features=&quot;inherit &quot; Font=&quot;Arimo Regular&quot; /&gt; &lt;/span&gt;&lt;span &gt;&lt;charstyle Features=&quot;inherit &quot; /&gt;», Seuil, 2015.&lt;/span&gt;&lt;/p&gt;&lt;/SCRIBUSTEXT&gt;&#10;"/>
            <Note Master="NoteMark_Default_2" NStyle="Default" Text="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;SCRIBUSTEXT &gt;&lt;defaultstyle parent=&quot;Default Paragraph Style&quot; /&gt;&lt;p &gt;&lt;style parent=&quot;footnotes&quot; /&gt;&lt;span &gt;&lt;charstyle /&gt;Dans cet article,il faut considérer ces catégories comme des archétypes et non comme des groupes sociologiques précis (ce qui nécessiterait bien trop de définitions).&lt;/span&gt;&lt;/p&gt;&lt;/SCRIBUSTEXT&gt;&#10;"/>
            <Note Master="NoteMark_Default_3" NStyle="Default" Text="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;SCRIBUSTEXT &gt;&lt;defaultstyle parent=&quot;footnotes&quot; /&gt;&lt;p &gt;&lt;style /&gt;&lt;span &gt;&lt;charstyle Features=&quot;inherit &quot; /&gt;La capacité d’un système de se remettre des chocs et de se transformer dans un environnement hostile et changeant.&lt;/span&gt;&lt;/p&gt;&lt;/SCRIBUSTEXT&gt;&#10;"/>
        </Notes>
        <PageSets>
            <Set Name="Single Page" FirstPage="0" Rows="1" Columns="1"/>
            <Set Name="Double Sided" FirstPage="0" 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="0" From="0" To="0" Type="Type_1_2_3" Start="1" Reversed="0" Active="1" FillChar="0" FieldWidth="0"/>
        </Sections>
        <Pattern Name="Page normale" width="364.2519685" height="527.2440945" scaleX="1" scaleY="1" xoffset="0" yoffset="0">
            <PatternItem XPOS="0" YPOS="0" OwnPage="-1" ItemID="1475299898" PTYPE="4" WIDTH="364.2519685" HEIGHT="527.2440945" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" ANNAME="Page normale_0" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="1" RATIO="1" COLUMNS="1" COLGAP="19.84251969" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="0" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" path="M0 0 L364.252 0 L364.252 527.244 L0 527.244 L0 0 Z" copath="M0 0 L364.252 0 L364.252 527.244 L0 527.244 L0 0 Z" ImageRes="0" gXpos="0" gYpos="0" gWidth="364.2519685" gHeight="527.2440945" LAYER="0" NEXTITEM="-1" BACKITEM="-1">
                <StoryText>
                    <DefaultStyle/>
                    <trail/>
                </StoryText>
            </PatternItem>
        </Pattern>
        <MASTERPAGE PAGEXPOS="850.393700787402" PAGEYPOS="141.732283464567" PAGEWIDTH="420.944881889764" PAGEHEIGHT="595.275590551181" BORDERLEFT="28.3464566929134" BORDERRIGHT="28.3464566929134" BORDERTOP="28.3464566929134" BORDERBOTTOM="42.5196850393701" NUM="0" NAM="Normal gauche" MNAM="" Size="Custom" Orientation="0" LEFT="1" 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"/>
        <MASTERPAGE PAGEXPOS="850.393700787402" PAGEYPOS="141.732283464567" PAGEWIDTH="420.944881889764" PAGEHEIGHT="595.275590551181" BORDERLEFT="28.3464566929134" BORDERRIGHT="28.3464566929134" BORDERTOP="28.3464566929134" BORDERBOTTOM="42.5196850393701" NUM="1" NAM="Normal droite" MNAM="" Size="Custom" 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="850.393700787402" PAGEYPOS="141.732283464567" PAGEWIDTH="420.944881889764" PAGEHEIGHT="595.275590551181" BORDERLEFT="28.3464566929134" BORDERRIGHT="28.3464566929134" BORDERTOP="28.3464566929134" BORDERBOTTOM="42.5196850393701" NUM="0" NAM="" MNAM="Normal gauche" Size="Custom" 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"/>
        <FRAMEOBJECT InID="2004234109" XPOS="0" YPOS="0" OwnPage="-1" ItemID="1507429322" PTYPE="2" WIDTH="17.5193426908586" HEIGHT="11.9198904484765" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" LOCALSCX="0.0425710373159875" LOCALSCY="0.0425710373159875" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="0" RATIO="1" Pagenumber="0" PFILE="../../../../DATA/REVUES/TOUTESLESREVUES/Passerelle 77 - Jardins Forêts/PAO/40.guildes/images/arrows.png" PRFILE="Embedded GIMP built-in sRGB" IRENDER="0" EPROF="Embedded GIMP built-in sRGB" path="M0 0 L17.5193 0 L17.5193 11.9199 L0 11.9199 L0 0 Z" copath="M0 0 L17.5193 0 L17.5193 11.9199 L0 11.9199 L0 0 Z" ImageRes="0" isInline="1" gXpos="0" gYpos="0" gWidth="17.5193426908586" gHeight="11.9198904484765" LAYER="0" NEXTITEM="-1" BACKITEM="-1"/>
        <FRAMEOBJECT InID="67691036" XPOS="3393.07086614174" YPOS="1729.13385826772" OwnPage="-1" ItemID="1473277546" PTYPE="2" WIDTH="13.1468148421244" HEIGHT="13.1468148421244" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" LOCALSCX="0.0256773727385242" LOCALSCY="0.0256773727385242" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="0" RATIO="1" Pagenumber="0" PFILE="../../../../DATA/REVUES/TOUTESLESREVUES/Passerelle 77 - Jardins Forêts/PAO/40.guildes/images/eyethick.png" PRFILE="Embedded GIMP built-in sRGB" IRENDER="0" EPROF="Embedded GIMP built-in sRGB" path="M0 0 L13.1468 0 L13.1468 13.1468 L0 13.1468 L0 0 Z" copath="M0 0 L13.1468 0 L13.1468 13.1468 L0 13.1468 L0 0 Z" ImageRes="0" isInline="1" gXpos="0" gYpos="0" gWidth="13.1468148421244" gHeight="13.1468148421244" LAYER="0" NEXTITEM="-1" BACKITEM="-1"/>
        <PAGEOBJECT XPOS="878.740157480315" YPOS="170.07874015748" OwnPage="0" ItemID="1503261050" PTYPE="4" WIDTH="364.251968503937" HEIGHT="524.409448818898" 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="2" COLGAP="22.6771653543307" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="0" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" path="M0 0 L364.252 0 L364.252 524.409 L0 524.409 L0 0 Z" copath="M0 0 L364.252 0 L364.252 524.409 L0 524.409 L0 0 Z" ImageRes="0" gXpos="878.740157480315" gYpos="822.047244094487" gWidth="0" gHeight="0" LAYER="0" NEXTITEM="-1" BACKITEM="-1">
            <StoryText>
                <DefaultStyle/>
                <ITEXT FCOLOR="Cyan" CH="arrière-plan de méga-structures pourraient suffire à justifier le désir de vouloir « vivre autrement » et la conscience des difficultés à vaincre, pousser « naturellement » à s’associer pour le faire de façon collective. "/>
                <para PARENT="Default Paragraph Style"/>
                <ITEXT FCOLOR="Cyan" CH="difficultés à vaincre, pousser « naturellement » à s’associer pour le faire de façon col­lec­tive."/>
                <para PARENT="Default Paragraph Style"/>
                <ITEXT FCOLOR="Cyan" CH="personnes avec qui il serait peut-être possible d’avancer ensemble : des collègues de travail, de voisin, les membres d’une association de nature, des consommateurs "/>
                <para PARENT="Default Paragraph Style"/>
                <ITEXT FCOLOR="Cyan" CH="association de nature, des consommateurs etc ?"/>
                <para PARENT="Default Paragraph Style"/>
                <ITEXT CPARENT="Default Character Style" FCOLOR="Black" CH="moins hié­rar­chi­sées. Pour­tant, la recher­­che de « solutions » "/>
                <para PARENT="Default Paragraph Style"/>
                <ITEXT FCOLOR="Red" CH="arrière-plan de méga-structures pourraient suffire à justifier le désir de vouloir « vivre autrement » et la conscience des difficultés à vaincre, pousser « naturellement » à s’associer pour le faire de façon collective. "/>
                <para PARENT="Default Paragraph Style"/>
                <ITEXT FCOLOR="Red" CH="difficultés à vaincre, pousser « naturellement » à s’associer pour le faire de façon col­lec­tive."/>
                <para/>
                <ITEXT FCOLOR="Red" CH="personnes avec qui il serait peut-être possible d’avancer ensemble : des collègues de travail, de voisin, les membres d’une association de nature, des consommateurs "/>
                <para/>
                <ITEXT FCOLOR="Red" CH="association de nature, des consommateurs etc ?"/>
                <trail/>
            </StoryText>
        </PAGEOBJECT>
    </DOCUMENT>
</SCRIBUSUTF8NEW>
Montserrat-Light.otf (91,496 bytes)

jghali

2022-02-06 19:15

administrator   ~0049506

Nice find! Fixed now in 15x branch and in trunk.

ale

2022-02-06 20:06

manager   ~0049507

Last edited: 2022-02-06 20:06

does this solve that https://bugs.scribus.net/view.php?id=10517 ?

jghali

2022-02-06 20:26

administrator   ~0049508

Last edited: 2022-02-06 20:26

Well, even without that patch, a word containing a manually inserted soft hyphen is excluded from automatic hyphenation. There is no change in that regard.

JLuc

2022-02-06 22:55

developer   ~0049512

Great !
Thanks

ale

2022-02-07 07:51

manager   ~0049513

since i don't have qt6 yet, i cannot test.

it seems that before this patch, the hyphenation was not working correctly, as soon as a soft hyphen was there.
now it should work correctly.

can somebody test if putting a soft hyphen at the beginning of a word disables the automatic hyphenation for that word?
and if it's the case close the ticket i've linked above?

JLuc

2022-02-07 07:59

developer   ~0049514

ale: see the fix, it replaces a "break" with a "continue" = it doesnt change the behaviour regarding "words begining with a hyphen" (whether it does as you wish or not).

ale

2022-02-07 10:06

manager   ~0049515

i saw the fix.
that's why i'm asking.
by reading the code, i have the feeling that the other ticket might be solved. but it all depends on the soft hyphen being or not considered a break for the word iterator (it should probably not) and if it's inside of the word when using the position (it should...)

i cannot test myself because:

- i cannot compile the current code since i don't have qt6 yet
- the version i have does not contain the patch (and the soft hyphens do not work correctly)

so: can anybody test?

jghali

2022-02-07 22:43

administrator   ~0049518

@ale, the fix has also been applied to Version15x branch, no need of qt6 there.

Issue History

Date Modified Username Field Change
2022-02-06 18:41 JLuc New Issue
2022-02-06 18:41 JLuc File Added: hyphens stop at conditional hyphen DEMO.sla
2022-02-06 18:41 JLuc File Added: Montserrat-Light.otf
2022-02-06 18:42 JLuc Tag Attached: hyphenation
2022-02-06 19:10 jghali Summary Hyphen stop being applyed after conditional hyphen => Hyphenation stop being applyed after conditional hyphen
2022-02-06 19:13 jghali Summary Hyphenation stop being applyed after conditional hyphen => Hyphenation stop being applied after conditional hyphen
2022-02-06 19:15 jghali Severity feature => major
2022-02-06 19:15 jghali Assigned To => jghali
2022-02-06 19:15 jghali Status new => resolved
2022-02-06 19:15 jghali Resolution open => fixed
2022-02-06 19:15 jghali Fixed in Version => 1.6.0.svn
2022-02-06 19:15 jghali Note Added: 0049506
2022-02-06 20:06 ale Note Added: 0049507
2022-02-06 20:06 ale Note Edited: 0049507
2022-02-06 20:26 jghali Note Added: 0049508
2022-02-06 20:26 jghali Note Edited: 0049508
2022-02-06 22:55 JLuc Note Added: 0049512
2022-02-07 07:51 ale Note Added: 0049513
2022-02-07 07:59 JLuc Note Added: 0049514
2022-02-07 10:06 ale Note Added: 0049515
2022-02-07 22:43 jghali Note Added: 0049518
2023-05-29 18:56 cbradney Status resolved => closed