ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIETextLayer.Alignment = iejRight

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
brm121966 Posted - Feb 03 2025 : 12:54:46
Hello,

In ImageEn version 13.7.0, there is an observed issue where right-aligned text experiences a redraw effect that causes the last character to disappear. This effect also manifests when saving the image to a file, resulting in the last character being omitted.

A video demonstrating this issue can be found here: https://www.dropbox.com/scl/fi/g006jum2e4vqq7jtvn7p9/Video_2025-02-03_125508.wmv?rlkey=g81irnhqg05zmdp84rbv6ambp&st=nk8nst4g&dl=0

Thank you.

Rudolf
2   L A T E S T    R E P L I E S    (Newest First)
brm121966 Posted - Feb 04 2025 : 09:06:41
Hi Nigel

Setting display:

Layer_Text('Jazz',TIELayout,iejRight,0.35,260,50,40,715,1870,350);

procedure Layer_Text(s_pText:string; n_pLayout:TIELayout; n_pAlignment:TIEAlignment; n_pOpacity:Double; n_pSizeFont,n_pTemplate,n_pX1,n_pY1,n_pX2,n_pY2: integer);
begin
  with F_Edit_Cover.IEV_Load do begin
    LayersAdd( ielkText, n_pX1,n_pY1,n_pX2,n_pY2 );
    with TIETextLayer( CurrentLayer ) do begin
      Font.Name  := 'Impact';
      Font.Size  := n_pSizeFont;
      Font.Style := [fsBold];
      Font.Color := clWhite;
      Layout     := n_pLayout;
      Alignment  := n_pAlignment;

      with TextStyling do begin
        BorderWidth := 0;
        BorderColor := clBlack;
        FillColor2  := clWhite;
        FillGradient := gpgNone; //gpgVertical;
      end;
      WordWrap := True;
      AutoSize := false;
      Text := s_pText;
    end;
    with CurrentLayer do begin
      Opacity := n_pOpacity;
      Cropped := true;
    end;
    if (n_pTemplate in [50,60]) then Soft_Shadow(CurrentLayer,40,clBlack)
  end;
end;

procedure Soft_Shadow(o_pCL:TIELayer;n_pR:Integer;cl_Par3:Integer=clWhite);
begin
  with o_pCL.SoftShadow do begin
    Enabled := True;
    OffsetX := 0;
    OffsetY := 0;
    ShadowColor := TColor2TRGB( cl_Par3 );
    Radius  := n_pR;
  end;
  o_pCL.Update;
end;



Rudolf

xequte Posted - Feb 03 2025 : 16:27:58
Hi Rudolf

Can you give me the specific code that creates this text layer, or attach the saved IEN file?

Also, what is the Windows Scale setting for that monitor (right-click the desktop and choose "Display Settings")?

Nigel
Xequte Software
www.imageen.com